public class AnnotationMap extends Object
| Constructor and Description |
|---|
AnnotationMap(Annotation[] annotations) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Annotation> |
getAnnotation(Class<T> type) |
boolean |
hasAnnotation(Class<? extends Annotation>... a) |
boolean |
hasAnnotation(Class<? extends Annotation> a) |
public AnnotationMap(Annotation[] annotations)
annotations - the annotationspublic boolean hasAnnotation(Class<? extends Annotation> a)
a - public boolean hasAnnotation(Class<? extends Annotation>... a)
a - public <T extends Annotation> T getAnnotation(Class<T> type)
type - Copyright © 2012-2014 RestDoc.org. All Rights Reserved.