public final class AnnotatedMember<A extends Member & AnnotatedElement> extends Object implements Member, AnnotatedElement
| Constructor and Description |
|---|
AnnotatedMember(A member) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
<T extends Annotation> |
getAnnotation(Class<T> annotationClass) |
Annotation[] |
getAnnotations() |
Annotation[] |
getDeclaredAnnotations() |
Class<?> |
getDeclaringClass() |
A |
getMember() |
int |
getModifiers() |
String |
getName() |
int |
hashCode() |
boolean |
isAnnotationPresent(Class<? extends Annotation> annotationClass) |
boolean |
isSynthetic() |
String |
toString() |
public AnnotatedMember(A member)
public A getMember()
public <T extends Annotation> T getAnnotation(Class<T> annotationClass)
getAnnotation in interface AnnotatedElementpublic boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isAnnotationPresent in interface AnnotatedElementpublic Class<?> getDeclaringClass()
getDeclaringClass in interface Memberpublic int getModifiers()
getModifiers in interface Memberpublic boolean isSynthetic()
isSynthetic in interface Memberpublic Annotation[] getAnnotations()
getAnnotations in interface AnnotatedElementpublic Annotation[] getDeclaredAnnotations()
getDeclaredAnnotations in interface AnnotatedElementCopyright © 2010-2012 Mycila. All Rights Reserved.