Package edu.umd.cs.findbugs.ba
Interface ClassMember
-
- All Superinterfaces:
AccessibleEntity
,FieldOrMethodName
,java.io.Serializable
- All Known Implementing Classes:
AbstractClassMember
,AbstractField
,AbstractMethod
,FieldInfo
,MethodInfo
,UnresolvedXField
public interface ClassMember extends java.io.Serializable, AccessibleEntity, FieldOrMethodName
Common super-interface for class members (fields and methods).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.java.lang.String
getSourceSignature()
Get the signature representing the field/method's type, including generic typeboolean
isResolved()
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 Detail
-
getClassName
@DottedClassName 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).
-
getPackageName
@DottedClassName java.lang.String getPackageName()
Get the (dotted) name of the package in which the entity is defined.
-
getName
java.lang.String getName()
Get the name of the field/method.- Specified by:
getName
in interfaceFieldOrMethodName
- Returns:
- Returns the field/method name
-
getSignature
java.lang.String getSignature()
Get the signature representing the field/method's type.- Specified by:
getSignature
in interfaceFieldOrMethodName
- Returns:
- Returns the field/method signature
-
getSourceSignature
@CheckForNull java.lang.String getSourceSignature()
Get the signature representing the field/method's type, including generic type
-
isResolved
boolean isResolved()
Did we find a declaration of this entity?
-
-