Class ReflectionUtils


  • public class ReflectionUtils
    extends Object

    Utility class for reflection based stuff

    Since:
    2.0
    Author:
    Christoph Praschl
    • Method Detail

      • getAllFieldsOfClass

        public static List<Field> getAllFieldsOfClass​(Class<?> clazz)
        Collects all fields of class together with all fields of the super classes
        Parameters:
        clazz - Class to start with
        Returns:
        list of all fields of the class and it`s parents