Package org.jboss.weld.util
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 Summary
Fields Modifier and Type Field Description static Annotation[]
EMPTY_ANNOTATIONS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Method
getRepeatableAnnotationAccessor(Class<? extends Annotation> annotation)
Returns the valueMethod
of a repeatable annotation container or null if the given annotation is not a repeatable annotation container.
-
-
-
Field Detail
-
EMPTY_ANNOTATIONS
public static final Annotation[] EMPTY_ANNOTATIONS
-
-
Method Detail
-
getRepeatableAnnotationAccessor
public static Method getRepeatableAnnotationAccessor(Class<? extends Annotation> annotation)
Returns the valueMethod
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
-
-