Class Annotations


  • public class Annotations
    extends Object
    Utility methods for working with annotations.
    Author:
    Jozef Hartinger
    • Field Detail

      • EMPTY_ANNOTATIONS

        public static final Annotation[] EMPTY_ANNOTATIONS
    • Method Detail

      • getRepeatableAnnotationAccessor

        public static Method getRepeatableAnnotationAccessor​(Class<? extends Annotation> annotation)
        Returns the value Method of a repeatable annotation container or null if the given annotation is not a repeatable annotation container.
        Parameters:
        annotation - the given annotation
        Returns:
        the value Method of a repeatable annotation container or null if the given annotation is not a repeatable annotation container