FindBugs™ 1.3.9

edu.umd.cs.findbugs.ba
Interface ClassMember

All Superinterfaces:
AccessibleEntity, java.lang.Comparable, FieldOrMethodName, java.io.Serializable
All Known Subinterfaces:
XField, XMethod
All Known Implementing Classes:
AbstractClassMember, AbstractField, AbstractMethod, FieldInfo, MethodInfo, UnresolvedXField

public interface ClassMember
extends java.io.Serializable, AccessibleEntity, java.lang.Comparable, FieldOrMethodName

Common super-interface for class members (fields and methods).

Author:
David Hovemeyer
See Also:
XField, XMethod

Method Summary
 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 type
 boolean 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 java.lang.Comparable
compareTo
 
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 interface FieldOrMethodName
Returns:
Returns the field/method name

getSignature

java.lang.String getSignature()
Get the signature representing the field/method's type.

Specified by:
getSignature in interface FieldOrMethodName
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?


FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.