Package org.openjdk.asmtools.jasm

## Enum Tables.ConstType

- java.lang.Object
- - java.lang.Enum<Tables.ConstType>
  - - org.openjdk.asmtools.jasm.Tables.ConstType

- All Implemented Interfaces:
    `java.io.Serializable`, `java.lang.Comparable<Tables.ConstType>`
  Enclosing class:
    Tables

      public static enum Tables.ConstType
      extends java.lang.Enum<Tables.ConstType>

  ConstType A (typed) tag (constant) representing the type of Constant in the Constant Pool.

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---
    `CONSTANT_CLASS` |
    `CONSTANT_DOUBLE` |
    `CONSTANT_DYNAMIC` |
    `CONSTANT_FIELD` |
    `CONSTANT_FLOAT` |
    `CONSTANT_INTEGER` |
    `CONSTANT_INTERFACEMETHOD` |
    `CONSTANT_INVOKEDYNAMIC` |
    `CONSTANT_LONG` |
    `CONSTANT_METHOD` |
    `CONSTANT_METHODHANDLE` |
    `CONSTANT_METHODTYPE` |
    `CONSTANT_MODULE` |
    `CONSTANT_NAMEANDTYPE` |
    `CONSTANT_PACKAGE` |
    `CONSTANT_STRING` |
    `CONSTANT_UNICODE` |
    `CONSTANT_UTF8` |
    `CONSTANT_ZERO` |

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static int` | `maxTag` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `parseKey()` |
    `void` | `print​(java.io.PrintWriter out)` |
    `java.lang.String` | `printval()` |
    `java.lang.String` | `toString()` |
    `int` | `value()` |
    `static Tables.ConstType` | `valueOf​(java.lang.String name)` | Returns the enum constant of this type with the specified name.
    `static Tables.ConstType[]` | `values()` | Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### CONSTANT_ZERO

          public static final Tables.ConstType CONSTANT_ZERO

    - #### CONSTANT_UTF8

          public static final Tables.ConstType CONSTANT_UTF8

    - #### CONSTANT_UNICODE

          public static final Tables.ConstType CONSTANT_UNICODE

    - #### CONSTANT_INTEGER

          public static final Tables.ConstType CONSTANT_INTEGER

    - #### CONSTANT_FLOAT

          public static final Tables.ConstType CONSTANT_FLOAT

    - #### CONSTANT_LONG

          public static final Tables.ConstType CONSTANT_LONG

    - #### CONSTANT_DOUBLE

          public static final Tables.ConstType CONSTANT_DOUBLE

    - #### CONSTANT_CLASS

          public static final Tables.ConstType CONSTANT_CLASS

    - #### CONSTANT_STRING

          public static final Tables.ConstType CONSTANT_STRING

    - #### CONSTANT_FIELD

          public static final Tables.ConstType CONSTANT_FIELD

    - #### CONSTANT_METHOD

          public static final Tables.ConstType CONSTANT_METHOD

    - #### CONSTANT_INTERFACEMETHOD

          public static final Tables.ConstType CONSTANT_INTERFACEMETHOD

    - #### CONSTANT_NAMEANDTYPE

          public static final Tables.ConstType CONSTANT_NAMEANDTYPE

    - #### CONSTANT_METHODHANDLE

          public static final Tables.ConstType CONSTANT_METHODHANDLE

    - #### CONSTANT_METHODTYPE

          public static final Tables.ConstType CONSTANT_METHODTYPE

    - #### CONSTANT_DYNAMIC

          public static final Tables.ConstType CONSTANT_DYNAMIC

    - #### CONSTANT_INVOKEDYNAMIC

          public static final Tables.ConstType CONSTANT_INVOKEDYNAMIC

    - #### CONSTANT_MODULE

          public static final Tables.ConstType CONSTANT_MODULE

    - #### CONSTANT_PACKAGE

          public static final Tables.ConstType CONSTANT_PACKAGE

  - ### Field Detail

    - #### maxTag

          public static final int maxTag

      See Also:
        Constant Field Values

  - ### Method Detail

    - #### values

          public static Tables.ConstType[] values()

      Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

          for (Tables.ConstType c : Tables.ConstType.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static Tables.ConstType valueOf​(java.lang.String name)

      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        `java.lang.IllegalArgumentException` - if this enum type has no constant with the specified name
        `java.lang.NullPointerException` - if the argument is null

    - #### value

          public int value()

    - #### parseKey

          public java.lang.String parseKey()

    - #### printval

          public java.lang.String printval()

    - #### print

          public void print​(java.io.PrintWriter out)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Enum<Tables.ConstType>`