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 MethodgetRepeatableAnnotationAccessor(Class<? extends Annotation> annotation)Returns the valueMethodof 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 valueMethodof a repeatable annotation container or null if the given annotation is not a repeatable annotation container.- Parameters:
annotation- the given annotation- Returns:
- the value
Methodof a repeatable annotation container or null if the given annotation is not a repeatable annotation container
-
-