Class Reflections


  • public class Reflections
    extends Object
    The Class Reflections.
    Author:
    michalt
    • Method Detail

      • findAnnotatedFields

        public static <T extends AnnotationField[] findAnnotatedFields​(Object obj,
                                                                         Class<T> annoClazz)
        Find annotated fields.
        Type Parameters:
        T - the generic type
        Parameters:
        obj - the obj
        annoClazz - the anno clazz
        Returns:
        the field[]