Interface ClassMember
- All Superinterfaces:
AccessibleEntity, FieldOrMethodName, Serializable
- All Known Implementing Classes:
AbstractClassMember, AbstractField, AbstractMethod, FieldInfo, MethodInfo, UnresolvedXField, UnresolvedXMethod
Common super-interface for class members (fields and methods).
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGet the full (dotted) name of the class (if the object represents a class) or the class the entity is defined in (if a field or method).getName()Get the name of the field/method.Get the (dotted) name of the package in which the entity is defined.Get the signature representing the field/method's type.Get the signature representing the field/method's type, including generic typebooleanDid we find a declaration of this entity?Methods inherited from interface AccessibleEntity
getAccessFlags, getClassDescriptor, isDeprecated, isFinal, isPrivate, isProtected, isPublic, isStatic, isSyntheticMethods inherited from interface FieldOrMethodName
getClassDescriptor, isStatic
-
Method Details
-
getClassName
Get the full (dotted) name of the class (if the object represents a class) or the class the entity is defined in (if a field or method). -
getPackageName
Get the (dotted) name of the package in which the entity is defined. -
getName
String getName()Get the name of the field/method.- Specified by:
getNamein interfaceFieldOrMethodName- Returns:
- Returns the field/method name
-
getSignature
String getSignature()Get the signature representing the field/method's type.- Specified by:
getSignaturein interfaceFieldOrMethodName- Returns:
- Returns the field/method signature
-
getSourceSignature
Get the signature representing the field/method's type, including generic type -
isResolved
boolean isResolved()Did we find a declaration of this entity?
-