public abstract class MemberDescriptor extends Object implements ElementDescriptor
| Modifier and Type | Field and Description |
|---|---|
protected TypeDescriptor |
declaringType |
| Constructor and Description |
|---|
MemberDescriptor(TypeDescriptor declaringType) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
equals(Object obj) |
<A extends Annotation> |
getAnnotation(Class<A> annotationClass) |
List<Annotation> |
getAnnotations() |
TypeDescriptor |
getDeclaringType() |
<A extends Annotation> |
hasAnnotation(Class<A> annotationClass) |
abstract int |
hashCode() |
@Nonnull protected final TypeDescriptor declaringType
public MemberDescriptor(TypeDescriptor declaringType)
public List<Annotation> getAnnotations()
getAnnotations in interface ElementDescriptorpublic <A extends Annotation> A getAnnotation(Class<A> annotationClass)
getAnnotation in interface ElementDescriptorpublic <A extends Annotation> boolean hasAnnotation(Class<A> annotationClass)
hasAnnotation in interface ElementDescriptorpublic final TypeDescriptor getDeclaringType()
Copyright © 2016. All rights reserved.