edu.umd.cs.findbugs.ba

Interface ClassMember

public interface ClassMember extends Comparable<ClassMember>, Serializable

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

Author: David Hovemeyer

See Also: XField XMethod

Method Summary
intgetAccessFlags()
Get the field/method's access flags.
StringgetClassName()
Get the full name of the class the field/method is defined in.
StringgetName()
Get the name of the field/method.
StringgetPackageName()
Get the package name of the class the field/method is defined in.
StringgetSignature()
Get the signature representing the field/method's type.
booleanisFinal()
Is this a final field/method?
booleanisPrivate()
Is this a private field/method?
booleanisProtected()
Is this a protected field/method?
booleanisPublic()
Is this a public field/method?
booleanisResolved()
Did we find a declaration of this member?
booleanisStatic()
Is this a static field/method?

Method Detail

getAccessFlags

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

getClassName

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

getName

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

getPackageName

public String getPackageName()
Get the package name of the class the field/method is defined in.

getSignature

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

isFinal

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

isPrivate

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

isProtected

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

isPublic

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

isResolved

public boolean isResolved()
Did we find a declaration of this member?

isStatic

public boolean isStatic()
Is this a static field/method?
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.