Package jminusminus

Class Field


class Field extends Member
This class provides a wrapper for fields.
  • Constructor Details

    • Field

      public Field(Field field)
      Constructs a field given its internal representation.
      Parameters:
      field - internal representation.
  • Method Details

    • type

      public Type type()
      Returns this field's type.
      Returns:
      this field's type.
    • toDescriptor

      public String toDescriptor()
      Returns the JVM descriptor for this member.
      Specified by:
      toDescriptor in class Member
      Returns:
      the JVM descriptor for this member.
    • member

      protected Member member()
      Returns this member's internal representation.
      Specified by:
      member in class Member
      Returns:
      this member's internal representation.