Package com.fasterxml.classmate.members
Class ResolvedMember<T extends Member>
java.lang.Object
com.fasterxml.classmate.members.ResolvedMember<T>
- Direct Known Subclasses:
ResolvedField
,ResolvedParameterizedMember
Fully type-resolved equivalent of
RawMember
. Only members "that matter" (ones not
overridden, or filtered out) are resolved, since resolution process can add non-trivial
overhead.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Annotations
protected final ResolvedType
ResolvedType
(class with generic type parameters) that declared this memberprotected final int
protected final T
protected final ResolvedType
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ResolvedMember
(ResolvedType context, Annotations ann, T member, ResolvedType type) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyDefault
(Annotation override) void
applyOverride
(Annotation override) void
applyOverrides
(Annotations overrides) boolean
<A extends Annotation>
Afinal ResolvedType
protected final int
getName()
Returns JDK object that represents member.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
boolean
boolean
isPublic()
boolean
isStatic()
toString()
-
Field Details
-
_declaringType
ResolvedType
(class with generic type parameters) that declared this member -
_annotations
-
_member
-
_type
-
_hashCode
protected final int _hashCode
-
-
Constructor Details
-
ResolvedMember
-
-
Method Details
-
applyOverride
-
applyOverrides
-
applyDefault
-
get
-
getAnnotations
-
getDeclaringType
-
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. -
getRawMember
Returns JDK object that represents member. -
getName
-
isStatic
public boolean isStatic() -
isFinal
public boolean isFinal() -
isPrivate
public boolean isPrivate() -
isProtected
public boolean isProtected() -
isPublic
public boolean isPublic() -
toString
-
getModifiers
protected final int getModifiers() -
hashCode
public int hashCode() -
equals
-