Class Annotations

java.lang.Object
org.jboss.weld.util.Annotations

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

    • EMPTY_ANNOTATIONS

      public static final Annotation[] EMPTY_ANNOTATIONS
  • Method Details

    • 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