public abstract class AbstractClassMember extends Object implements ClassMember
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractClassMember(String className,
String name,
String signature,
int accessFlags) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getAccessFlags()
Get the entity's access flags.
|
ClassDescriptor |
getClassDescriptor()
Get the ClassDescriptor representing the class (if entity is a class) or
the class containing the entity (if a field or method).
|
String |
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).
|
String |
getName()
Get the name of the field/method.
|
String |
getPackageName()
Get the (dotted) name of the package in which the entity is defined.
|
String |
getSignature()
Get the signature representing the field/method's type.
|
int |
hashCode() |
boolean |
isFinal()
Is the entity final?
|
boolean |
isPrivate()
Is the entity private?
|
boolean |
isProtected()
Is the entity protected?
|
boolean |
isPublic()
Is the entity public?
|
boolean |
isReferenceType() |
boolean |
isResolved()
Did we find a declaration of this entity?
|
boolean |
isStatic()
Is the entity static?
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSourceSignatureisDeprecated, isSyntheticprotected AbstractClassMember(@DottedClassName String className, String name, String signature, int accessFlags)
@DottedClassName public String getClassName()
ClassMembergetClassName in interface ClassMemberpublic ClassDescriptor getClassDescriptor()
AccessibleEntitygetClassDescriptor in interface AccessibleEntitygetClassDescriptor in interface FieldOrMethodNamepublic String getName()
ClassMembergetName in interface ClassMembergetName in interface FieldOrMethodName@DottedClassName public String getPackageName()
ClassMembergetPackageName in interface ClassMemberpublic String getSignature()
ClassMembergetSignature in interface ClassMembergetSignature in interface FieldOrMethodNamepublic boolean isReferenceType()
public int getAccessFlags()
AccessibleEntitygetAccessFlags in interface AccessibleEntitypublic boolean isStatic()
AccessibleEntityisStatic in interface AccessibleEntityisStatic in interface FieldOrMethodNamepublic boolean isFinal()
AccessibleEntityisFinal in interface AccessibleEntitypublic boolean isPublic()
AccessibleEntityisPublic in interface AccessibleEntitypublic boolean isProtected()
AccessibleEntityisProtected in interface AccessibleEntitypublic boolean isPrivate()
AccessibleEntityisPrivate in interface AccessibleEntitypublic boolean isResolved()
ClassMemberisResolved in interface ClassMemberCopyright © 2003–2015. All rights reserved.