public abstract class ResolvedMember<T extends Member> extends 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(Annotation override) |
void |
applyOverride(Annotation override) |
void |
applyOverrides(Annotations overrides) |
boolean |
equals(Object o) |
<A extends Annotation> |
get(Class<A> cls) |
Annotations |
getAnnotations() |
ResolvedType |
getDeclaringType() |
protected int |
getModifiers() |
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() |
String |
toString() |
protected final ResolvedType _declaringType
ResolvedType
(class with generic type parameters) that declared
this memberprotected final Annotations _annotations
protected final ResolvedType _type
protected final int _hashCode
protected ResolvedMember(ResolvedType context, Annotations ann, T member, ResolvedType type)
public void applyOverride(Annotation override)
public void applyOverrides(Annotations overrides)
public void applyDefault(Annotation override)
public <A extends Annotation> A get(Class<A> cls)
public Annotations getAnnotations()
public final ResolvedType getDeclaringType()
public ResolvedType getType()
public T getRawMember()
public String getName()
public boolean isStatic()
public boolean isFinal()
public boolean isPrivate()
public boolean isProtected()
public boolean isPublic()
protected final int getModifiers()
Copyright © 2015 fasterxml.com. All rights reserved.