public final class AnnotationMatcher extends Object
Constructor and Description |
---|
AnnotationMatcher() |
Modifier and Type | Method and Description |
---|---|
static <T extends Annotation> |
matchAnnotation(Annotation[] annotations,
Class<T> annotationType)
Match an annotation
|
static <T extends Annotation> |
matchAnnotationItem(AnnotationItem[] annotations,
Class<T> annotationType)
Match an annotation item
|
public static final <T extends Annotation> T matchAnnotation(Annotation[] annotations, Class<T> annotationType)
T
- the annotation typeannotations
- the annotationsannotationType
- the annotation typepublic static final <T extends Annotation> AnnotationItem<T> matchAnnotationItem(AnnotationItem[] annotations, Class<T> annotationType)
T
- the annotation typeannotations
- the annotation itemsannotationType
- the annotation typeCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.