Interface ParameterizedBuilder.ReflectionSupport
- All Known Implementing Classes:
BeanBuilder,ClassScheme,EvictionPolicyBuilder,InstanceBuilder,StaticFactoryInstanceBuilder
- Enclosing interface:
ParameterizedBuilder<T>
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:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanrealizes(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 Details
-
realizes
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
-