public abstract class ResolvedMember<T extends java.lang.reflect.Member>
extends java.lang.Object
RawMember. Only members "that matter" (ones not
overridden, or filtered out) are resolved, since resolution process can add non-trivial
overhead.| Modifier and Type | Field and Description |
|---|---|
protected Annotations |
_annotations |
protected ResolvedType |
_declaringType
ResolvedType (class with generic type parameters) that declared
this member |
protected int |
_hashCode |
protected T |
_member |
protected ResolvedType |
_type |
| Modifier | Constructor and Description |
|---|---|
protected |
ResolvedMember(ResolvedType context,
Annotations ann,
T member,
ResolvedType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyDefault(java.lang.annotation.Annotation override) |
void |
applyOverride(java.lang.annotation.Annotation override) |
void |
applyOverrides(Annotations overrides) |
boolean |
equals(java.lang.Object o) |
<A extends java.lang.annotation.Annotation> |
get(java.lang.Class<A> cls) |
Annotations |
getAnnotations() |
ResolvedType |
getDeclaringType() |
protected int |
getModifiers() |
java.lang.String |
getName() |
T |
getRawMember()
Returns JDK object that represents member.
|
ResolvedType |
getType()
Returns type of this member; if it has one, for methods this is the
return type, for fields field type, and for constructors null.
|
int |
hashCode() |
boolean |
isFinal() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
java.lang.String |
toString() |
protected final ResolvedType _declaringType
ResolvedType (class with generic type parameters) that declared
this memberprotected final Annotations _annotations
protected final T extends java.lang.reflect.Member _member
protected final ResolvedType _type
protected final int _hashCode
protected ResolvedMember(ResolvedType context, Annotations ann, T member, ResolvedType type)
public void applyOverride(java.lang.annotation.Annotation override)
public void applyOverrides(Annotations overrides)
public void applyDefault(java.lang.annotation.Annotation override)
public <A extends java.lang.annotation.Annotation> A get(java.lang.Class<A> cls)
public Annotations getAnnotations()
public final ResolvedType getDeclaringType()
public ResolvedType getType()
public T getRawMember()
public java.lang.String getName()
public boolean isStatic()
public boolean isFinal()
public boolean isPrivate()
public boolean isProtected()
public boolean isPublic()
public java.lang.String toString()
toString in class java.lang.Objectprotected final int getModifiers()
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object