Interface ConfigurationHelper<T>

    • Method Detail

      • newInstance

        static <T> ConfigurationHelper<T> newInstance​(T bean,
                                                      Mapper<T> mapper)
        Creates a new ConfigurationHelper for the given Mapper.

        If the specified bean is null, a NullConfigurationHelper will be instantiated.

        Type Parameters:
        T - the bean type which configuration data is to be retrieved
        Parameters:
        bean - the bean to be evaluated; may be null
        mapper - the Mapper whose helper should be instantiated; not null
        Returns:
        a new ConfigurationHelper instance for the specified Mapper
        Throws:
        NullPointerException - if the specified mapper is null
        Since:
        2.2.0