java.lang.Object
com.sun.jdo.api.persistence.enhancer.classfile.ClassMember
com.sun.jdo.api.persistence.enhancer.classfile.ClassField
All Implemented Interfaces:
VMConstants

public final class ClassField extends ClassMember
ClassField models the static and non-static fields of a class within a class file.
  • Constructor Details

  • Method Details

    • isTransient

      public boolean isTransient()
      Is the field transient?
    • access

      public int access()
      Return the access flags for the field - see VMConstants
      Specified by:
      access in class ClassMember
    • setAccess

      public void setAccess(int newFlags)
      Update the access flags for the field - see VMConstants
      Specified by:
      setAccess in class ClassMember
    • name

      public ConstUtf8 name()
      Return the name of the field
      Specified by:
      name in class ClassMember
    • changeName

      public void changeName(ConstUtf8 name)
      Change the name of the field
    • signature

      public ConstUtf8 signature()
      Return the type signature of the field
      Specified by:
      signature in class ClassMember
    • changeSignature

      public void changeSignature(ConstUtf8 newSig)
      Change the type signature of the field
    • attributes

      public AttributeVector attributes()
      Return the attributes associated with the field
      Specified by:
      attributes in class ClassMember