Class AnnotationUtils


  • public class AnnotationUtils
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      AnnotationUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.reflect.Method> findAllDeclaredMethodsWithAnnotation​(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)  
      static java.util.List<java.lang.reflect.Field> findAllFieldsWithAnnotation​(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)  
      static java.util.List<java.lang.reflect.Method> findAllMethodsWithAnnotation​(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> annotation)  
      static java.util.List<java.lang.reflect.Method> findAllMethodsWithAnnotation​(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> annotation, boolean declared)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AnnotationUtils

        public AnnotationUtils()
    • Method Detail

      • findAllDeclaredMethodsWithAnnotation

        public static java.util.List<java.lang.reflect.Method> findAllDeclaredMethodsWithAnnotation​(java.lang.Class<?> clazz,
                                                                                                    java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
      • findAllMethodsWithAnnotation

        public static java.util.List<java.lang.reflect.Method> findAllMethodsWithAnnotation​(java.lang.Class<?> clazz,
                                                                                            java.lang.Class<? extends java.lang.annotation.Annotation> annotation)
      • findAllMethodsWithAnnotation

        public static java.util.List<java.lang.reflect.Method> findAllMethodsWithAnnotation​(java.lang.Class<?> clazz,
                                                                                            java.lang.Class<? extends java.lang.annotation.Annotation> annotation,
                                                                                            boolean declared)
      • findAllFieldsWithAnnotation

        public static java.util.List<java.lang.reflect.Field> findAllFieldsWithAnnotation​(java.lang.Class<?> clazz,
                                                                                          java.lang.Class<? extends java.lang.annotation.Annotation> annotation)