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

    Modifier and Type
    Method
    Description
    int
    Get the entity's access flags.
    Get the ClassDescriptor representing the class (if entity is a class) or the class containing the entity (if a field or method).
    boolean
    Is the entity deprecated?
    boolean
    Is the entity final?
    boolean
    Is the entity private?
    boolean
    Is the entity protected?
    boolean
    Is the entity public?
    boolean
    Is the entity static?
    boolean
    Is the entity synthetic?
  • Method Details

    • 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).