Class AbstractProvider

    • Constructor Detail

      • AbstractProvider

        public AbstractProvider()
        Default constructor, constructs a new object.
    • Method Detail

      • getFieldByMethod

        protected Field getFieldByMethod​(Method method,
                                         List<Field> allFields)
        Returns the field from the specified list associated with the specified getter method based on its name
        Parameters:
        method - the getter method
        allFields - list of fields
        Returns:
        the associated field
      • getAllFieldsAndMethods

        protected org.apache.commons.lang3.tuple.Pair<List<Field>,​List<Method>> getAllFieldsAndMethods​(Class<?> clazz)
        Returns all the fields and methods of the specified class in a pair of lists
        Parameters:
        clazz - the specified class
        Returns:
        pair of fields and methods lists