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:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    realizes(Class<?> clzClass, ParameterResolver resolver, ClassLoader loader)
    Deprecated.
    Determines if the ParameterizedBuilder will realize an instance of the specified class (without requiring the builder to actually realize an object).
  • Method Details

    • realizes

      boolean realizes(Class<?> clzClass, ParameterResolver resolver, ClassLoader loader)
      Deprecated.
      Determines if the ParameterizedBuilder 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 type
      resolver - the ParameterResolver to use for resolving necessary Parameters
      loader - the ClassLoader for loading any necessary classes and if null the ClassLoader used to load the builder will be used instead
      Returns:
      true if the ParameterizedBuilder will realize an instance of the class, false otherwise