FindBugs™ 1.3.9

edu.umd.cs.findbugs.ba
Interface AccessibleEntity

All Known Subinterfaces:
ClassMember, XClass, XField, XMethod
All Known Implementing Classes:
AbstractClassMember, AbstractField, AbstractMethod, ClassInfo, FieldInfo, MethodInfo, UnresolvedXField

public interface AccessibleEntity

Common superinterface for code entities having access flags: classes, fields, and methods.

Author:
David Hovemeyer

Method Summary
 int getAccessFlags()
          Get the entity's access flags.
 ClassDescriptor getClassDescriptor()
          Get the ClassDescriptor representing the class (if entity is a class) or the class containing the entity (if a field or method).
 boolean isDeprecated()
          Is the entity deprecated?
 boolean isFinal()
          Is the entity final?
 boolean isPrivate()
          Is the entity private?
 boolean isProtected()
          Is the entity protected?
 boolean isPublic()
          Is the entity public?
 boolean isStatic()
          Is the entity static?
 boolean isSynthetic()
          Is the entity synthetic?
 

Method Detail

getAccessFlags

int getAccessFlags()
Get the entity's access flags.


isStatic

boolean isStatic()
Is the entity static?


isFinal

boolean isFinal()
Is the entity final?


isPublic

boolean isPublic()
Is the entity public?


isProtected

boolean isProtected()
Is the entity protected?


isPrivate

boolean isPrivate()
Is the entity private?


isSynthetic

boolean isSynthetic()
Is the entity synthetic?


isDeprecated

boolean isDeprecated()
Is the entity deprecated?


getClassDescriptor

ClassDescriptor getClassDescriptor()
Get the ClassDescriptor representing the class (if entity is a class) or the class containing the entity (if a field or method).


FindBugs™ 1.3.9

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