Package edu.umd.cs.findbugs.ba
Interface ClassMember
- All Superinterfaces:
AccessibleEntity
,FieldOrMethodName
,Serializable
- All Known Implementing Classes:
AbstractClassMember
,AbstractField
,AbstractMethod
,FieldInfo
,MethodInfo
,UnresolvedXField
Common super-interface for class members (fields and methods).
-
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 typeboolean
Did we find a declaration of this entity?Methods inherited from interface edu.umd.cs.findbugs.ba.AccessibleEntity
getAccessFlags, getClassDescriptor, isDeprecated, isFinal, isPrivate, isProtected, isPublic, isStatic, isSynthetic
Methods inherited from interface edu.umd.cs.findbugs.classfile.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:
getName
in interfaceFieldOrMethodName
- Returns:
- Returns the field/method name
-
getSignature
String getSignature()Get the signature representing the field/method's type.- Specified by:
getSignature
in 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?
-