edu.umd.cs.findbugs.ba
Interface ClassMember

All Superinterfaces:
java.lang.Comparable<ClassMember>, java.io.Serializable
All Known Subinterfaces:
XField, XMethod
All Known Implementing Classes:
AbstractClassMember, AbstractField, AbstractMethod, InstanceField, InstanceMethod, StaticField, StaticMethod

public interface ClassMember
extends java.lang.Comparable<ClassMember>, java.io.Serializable

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

Author:
David Hovemeyer
See Also:
XField, XMethod

Method Summary
 int getAccessFlags()
          Get the field/method's access flags.
 java.lang.String getClassName()
          Get the name of the class the field/method is defined in.
 java.lang.String getName()
          Get the name of the field/method.
 java.lang.String getSignature()
          Get the signature representing the field/method's type.
 boolean isFinal()
          Is this a final field/method?
 boolean isPrivate()
          Is this a private field/method?
 boolean isProtected()
          Is this a protected field/method?
 boolean isPublic()
          Is this a public field/method?
 boolean isStatic()
          Is this a static field/method?
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getName

java.lang.String getName()
Get the name of the field/method.


getClassName

java.lang.String getClassName()
Get the name of the class the field/method is defined in.


getSignature

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


getAccessFlags

int getAccessFlags()
Get the field/method's access flags.


isStatic

boolean isStatic()
Is this a static field/method?


isFinal

boolean isFinal()
Is this a final field/method?


isPublic

boolean isPublic()
Is this a public field/method?


isProtected

boolean isProtected()
Is this a protected field/method?


isPrivate

boolean isPrivate()
Is this a private field/method?