public abstract class AbstractClassMember extends java.lang.Object implements ClassMember
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractClassMember(java.lang.String className,
java.lang.String name,
java.lang.String signature,
int accessFlags) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.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).
|
java.lang.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).
|
java.lang.String |
getName()
Get the name of the field/method.
|
java.lang.String |
getPackageName()
Get the (dotted) name of the package in which the entity is defined.
|
java.lang.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?
|
java.lang.String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetSourceSignatureisDeprecated, isSyntheticprotected AbstractClassMember(@DottedClassName java.lang.String className, java.lang.String name, java.lang.String signature, int accessFlags)
@DottedClassName public java.lang.String getClassName()
ClassMembergetClassName in interface ClassMemberpublic ClassDescriptor getClassDescriptor()
AccessibleEntitygetClassDescriptor in interface AccessibleEntitygetClassDescriptor in interface FieldOrMethodNamepublic java.lang.String getName()
ClassMembergetName in interface ClassMembergetName in interface FieldOrMethodName@DottedClassName public java.lang.String getPackageName()
ClassMembergetPackageName in interface ClassMemberpublic java.lang.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 ClassMemberpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.