Interface ParameterizedBuilder.ReflectionSupport
-
- All Known Implementing Classes:
BeanBuilder,ClassScheme,EvictionPolicyBuilder,InstanceBuilder,StaticFactoryInstanceBuilder
- Enclosing interface:
- ParameterizedBuilder<T>
@Deprecated public static interface ParameterizedBuilder.ReflectionSupport
Deprecated.WARNING: Do not use this interface. It is no longer used internally and this deprecated interface will be removed in the future.A deprecated interface that
ParameterizedBuilders may implement to provide runtime type information about the type of objects that may be built.- Since:
- 12.1.3
- See Also:
ParameterizedBuilderHelper.realizes(ParameterizedBuilder, Class, ParameterResolver, ClassLoader)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleanrealizes(Class<?> clzClass, ParameterResolver resolver, ClassLoader loader)Deprecated.Determines if theParameterizedBuilderwill realize an instance of the specified class (without requiring the builder to actually realize an object).
-
-
-
Method Detail
-
realizes
boolean realizes(Class<?> clzClass, ParameterResolver resolver, ClassLoader loader)
Deprecated.Determines if theParameterizedBuilderwill realize an instance of the specified class (without requiring the builder to actually realize an object).This method is synonymous with the Java keyword
instanceofbut allows dynamic runtime type querying of the types of objects a builder may realize.- Parameters:
clzClass- the expected typeresolver- theParameterResolverto use for resolving necessaryParametersloader- theClassLoaderfor loading any necessary classes and ifnulltheClassLoaderused to load the builder will be used instead- Returns:
trueif theParameterizedBuilderwill realize an instance of the class,falseotherwise
-
-