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, wait
getSourceSignature
isDeprecated, isSynthetic
protected AbstractClassMember(@DottedClassName java.lang.String className, java.lang.String name, java.lang.String signature, int accessFlags)
@DottedClassName public java.lang.String getClassName()
ClassMember
getClassName
in interface ClassMember
public ClassDescriptor getClassDescriptor()
AccessibleEntity
getClassDescriptor
in interface AccessibleEntity
getClassDescriptor
in interface FieldOrMethodName
public java.lang.String getName()
ClassMember
getName
in interface ClassMember
getName
in interface FieldOrMethodName
@DottedClassName public java.lang.String getPackageName()
ClassMember
getPackageName
in interface ClassMember
public java.lang.String getSignature()
ClassMember
getSignature
in interface ClassMember
getSignature
in interface FieldOrMethodName
public boolean isReferenceType()
public int getAccessFlags()
AccessibleEntity
getAccessFlags
in interface AccessibleEntity
public boolean isStatic()
AccessibleEntity
isStatic
in interface AccessibleEntity
isStatic
in interface FieldOrMethodName
public boolean isFinal()
AccessibleEntity
isFinal
in interface AccessibleEntity
public boolean isPublic()
AccessibleEntity
isPublic
in interface AccessibleEntity
public boolean isProtected()
AccessibleEntity
isProtected
in interface AccessibleEntity
public boolean isPrivate()
AccessibleEntity
isPrivate
in interface AccessibleEntity
public boolean isResolved()
ClassMember
isResolved
in interface ClassMember
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.