Package 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 AccessibleEntityCommon superinterface for code entities having access flags: classes, fields, and methods.- Author:
- David Hovemeyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAccessFlags()Get the entity's access flags.ClassDescriptorgetClassDescriptor()Get the ClassDescriptor representing the class (if entity is a class) or the class containing the entity (if a field or method).booleanisDeprecated()Is the entity deprecated?booleanisFinal()Is the entity final?booleanisPrivate()Is the entity private?booleanisProtected()Is the entity protected?booleanisPublic()Is the entity public?booleanisStatic()Is the entity static?booleanisSynthetic()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).
-
-