/** * Determine whether this chain of delegating factories delegates through an instance of the given class. * * @param factoryClass the SASL client factory class * @return {@code true} if this chain delegates through the factory class, {@code false} otherwise */ public final boolean delegatesThrough(Class<? extends SaslClientFactory> factoryClass) { return factoryClass != null && delegatesThroughNN(factoryClass); }
boolean delegatesThroughNN(Class<? extends SaslClientFactory> factoryClass) { return factoryClass.isInstance(this) || delegate instanceof AbstractDelegatingSaslClientFactory && ((AbstractDelegatingSaslClientFactory) delegate).delegatesThroughNN(factoryClass); }
/** * Determine whether this chain of delegating factories delegates through an instance of the given class. * * @param factoryClass the SASL client factory class * @return {@code true} if this chain delegates through the factory class, {@code false} otherwise */ public final boolean delegatesThrough(Class<? extends SaslClientFactory> factoryClass) { return factoryClass != null && delegatesThroughNN(factoryClass); }
/** * Determine whether this chain of delegating factories delegates through an instance of the given class. * * @param factoryClass the SASL client factory class * @return {@code true} if this chain delegates through the factory class, {@code false} otherwise */ public final boolean delegatesThrough(Class<? extends SaslClientFactory> factoryClass) { return factoryClass != null && delegatesThroughNN(factoryClass); }
/** * Determine whether this chain of delegating factories delegates through an instance of the given class. * * @param factoryClass the SASL client factory class * @return {@code true} if this chain delegates through the factory class, {@code false} otherwise */ public final boolean delegatesThrough(Class<? extends SaslClientFactory> factoryClass) { return factoryClass != null && delegatesThroughNN(factoryClass); }
boolean delegatesThroughNN(Class<? extends SaslClientFactory> factoryClass) { return factoryClass.isInstance(this) || delegate instanceof AbstractDelegatingSaslClientFactory && ((AbstractDelegatingSaslClientFactory) delegate).delegatesThroughNN(factoryClass); }
boolean delegatesThroughNN(Class<? extends SaslClientFactory> factoryClass) { return factoryClass.isInstance(this) || delegate instanceof AbstractDelegatingSaslClientFactory && ((AbstractDelegatingSaslClientFactory) delegate).delegatesThroughNN(factoryClass); }
boolean delegatesThroughNN(Class<? extends SaslClientFactory> factoryClass) { return factoryClass.isInstance(this) || delegate instanceof AbstractDelegatingSaslClientFactory && ((AbstractDelegatingSaslClientFactory) delegate).delegatesThroughNN(factoryClass); }