Interface ParameterizedBuilder.ReflectionSupport

    • Method Detail

      • 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