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
ParameterizedBuilder
s 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 boolean
realizes(Class<?> clzClass, ParameterResolver resolver, ClassLoader loader)
Deprecated.Determines if theParameterizedBuilder
will 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 theParameterizedBuilder
will realize an instance of the specified class (without requiring the builder to actually realize an object).This method is synonymous with the Java keyword
instanceof
but allows dynamic runtime type querying of the types of objects a builder may realize.- Parameters:
clzClass
- the expected typeresolver
- theParameterResolver
to use for resolving necessaryParameter
sloader
- theClassLoader
for loading any necessary classes and ifnull
theClassLoader
used to load the builder will be used instead- Returns:
true
if theParameterizedBuilder
will realize an instance of the class,false
otherwise
-
-