Enum Class FieldType

java.lang.Object
java.lang.Enum<FieldType>
org.openjdk.asmtools.jasm.FieldType
All Implemented Interfaces:
Serializable, Comparable<FieldType>, Constable

public enum FieldType extends Enum<FieldType>
  • Enum Constant Details

    • Array

      public static final FieldType Array
    • Boolean

      public static final FieldType Boolean
    • Byte

      public static final FieldType Byte
    • Char

      public static final FieldType Char
    • Double

      public static final FieldType Double
    • Float

      public static final FieldType Float
    • Int

      public static final FieldType Int
    • LReference

      public static final FieldType LReference
    • Long

      public static final FieldType Long
    • QReference

      public static final FieldType QReference
    • Short

      public static final FieldType Short
  • Field Details

    • term

      private final char term
    • type

      private final String type
    • slotsCount

      private final int slotsCount
  • Constructor Details

    • FieldType

      private FieldType(char term, String type, int slotsCount)
  • Method Details

    • values

      public static FieldType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FieldType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getFieldType

      public static FieldType getFieldType(char term)
    • getSlotsCount

      public int getSlotsCount()