java.lang.Object
com.sun.jdo.api.persistence.enhancer.classfile.ClassMember
All Implemented Interfaces:
VMConstants
Direct Known Subclasses:
ClassField, ClassMethod

public abstract class ClassMember extends Object implements VMConstants
ClassMember is a common base class for ClassMethod and ClassField
  • Constructor Details

    • ClassMember

      public ClassMember()
  • Method Details

    • isStatic

      public final boolean isStatic()
      Is the member static?
    • isFinal

      public final boolean isFinal()
      Is the member final?
    • setIsFinal

      public void setIsFinal(boolean newFinal)
      Turn on or off the final qualifier for the member.
    • isPrivate

      public final boolean isPrivate()
      Is the member private?
    • isProtected

      public final boolean isProtected()
      Is the member protected?
    • isPublic

      public final boolean isPublic()
      Is the member public?
    • access

      public abstract int access()
      Return the access flags for the method - see VMConstants
    • setAccess

      public abstract void setAccess(int newAccess)
      Set the access flags for the method - see VMConstants
    • name

      public abstract ConstUtf8 name()
      Return the name of the member
    • signature

      public abstract ConstUtf8 signature()
      Return the type signature of the method
    • attributes

      public abstract AttributeVector attributes()
      Return the attributes associated with the member