Package jodd.util

Class Annotations<A extends java.lang.annotation.Annotation>


  • public class Annotations<A extends java.lang.annotation.Annotation>
    extends java.lang.Object
    Annotations collector.
    • Constructor Detail

      • Annotations

        public Annotations​(java.lang.Class<A> annotationClass)
    • Method Detail

      • of

        public static <T extends java.lang.annotation.Annotation> Annotations<T> of​(java.lang.Class<T> annotationClass)
      • onMethod

        public Annotations onMethod​(java.lang.reflect.Method method)
      • onClass

        public Annotations<A> onClass​(java.lang.Class type)
      • onPackageHierarchyOf

        public Annotations<A> onPackageHierarchyOf​(java.lang.Class type)
      • collect

        public java.util.List<A> collect()
        Returns collected annotations.