Package org.openjdk.asmtools.jasm

## Enum TypeAnnotationTypes.ETargetType

- java.lang.Object
- - java.lang.Enum<TypeAnnotationTypes.ETargetType>
  - - org.openjdk.asmtools.jasm.TypeAnnotationTypes.ETargetType

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

      public static enum TypeAnnotationTypes.ETargetType
      extends java.lang.Enum<TypeAnnotationTypes.ETargetType>

  Interpretation of target_type values (Table 4.7.20-A./B.)

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---
    `cast` |
    `class_exts_impls` |
    `class_type_param` |
    `class_type_param_bnds` |
    `constr_invoc_typearg` |
    `constr_ref_receiver` |
    `constr_ref_typearg` |
    `exception_param` |
    `field` |
    `local_var` |
    `meth_formal_param` |
    `meth_invoc_typearg` |
    `meth_receiver` |
    `meth_ref_receiver` |
    `meth_ref_typearg` |
    `meth_ret_type` |
    `meth_type_param` |
    `meth_type_param_bnds` |
    `obj_creat` |
    `resource_var` |
    `throws_type` |
    `type_test` |

  - ### Field Summary

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

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static TypeAnnotationTypes.ETargetType` | `getTargetType​(int typeCode)` |
    `static TypeAnnotationTypes.ETargetType` | `getTargetType​(java.lang.String typeName)` |
    `java.lang.String` | `infoKey()` |
    `java.lang.String` | `parseKey()` |
    `void` | `print​(java.io.PrintWriter out)` |
    `TypeAnnotationTypes.ETargetInfo` | `targetInfo()` |
    `java.lang.String` | `toString()` |
    `static TypeAnnotationTypes.ETargetType` | `valueOf​(java.lang.String name)` | Returns the enum constant of this type with the specified name.
    `static TypeAnnotationTypes.ETargetType[]` | `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

    - #### class_type_param

          public static final TypeAnnotationTypes.ETargetType class_type_param

    - #### meth_type_param

          public static final TypeAnnotationTypes.ETargetType meth_type_param

    - #### class_exts_impls

          public static final TypeAnnotationTypes.ETargetType class_exts_impls

    - #### class_type_param_bnds

          public static final TypeAnnotationTypes.ETargetType class_type_param_bnds

    - #### meth_type_param_bnds

          public static final TypeAnnotationTypes.ETargetType meth_type_param_bnds

    - #### field

          public static final TypeAnnotationTypes.ETargetType field

    - #### meth_ret_type

          public static final TypeAnnotationTypes.ETargetType meth_ret_type

    - #### meth_receiver

          public static final TypeAnnotationTypes.ETargetType meth_receiver

    - #### meth_formal_param

          public static final TypeAnnotationTypes.ETargetType meth_formal_param

    - #### throws_type

          public static final TypeAnnotationTypes.ETargetType throws_type

    - #### local_var

          public static final TypeAnnotationTypes.ETargetType local_var

    - #### resource_var

          public static final TypeAnnotationTypes.ETargetType resource_var

    - #### exception_param

          public static final TypeAnnotationTypes.ETargetType exception_param

    - #### type_test

          public static final TypeAnnotationTypes.ETargetType type_test

    - #### obj_creat

          public static final TypeAnnotationTypes.ETargetType obj_creat

    - #### constr_ref_receiver

          public static final TypeAnnotationTypes.ETargetType constr_ref_receiver

    - #### meth_ref_receiver

          public static final TypeAnnotationTypes.ETargetType meth_ref_receiver

    - #### cast

          public static final TypeAnnotationTypes.ETargetType cast

    - #### constr_invoc_typearg

          public static final TypeAnnotationTypes.ETargetType constr_invoc_typearg

    - #### meth_invoc_typearg

          public static final TypeAnnotationTypes.ETargetType meth_invoc_typearg

    - #### constr_ref_typearg

          public static final TypeAnnotationTypes.ETargetType constr_ref_typearg

    - #### meth_ref_typearg

          public static final TypeAnnotationTypes.ETargetType meth_ref_typearg

  - ### Field Detail

    - #### maxTag

          public static final int maxTag

      See Also:
        Constant Field Values

    - #### maxLen

          public static final int maxLen

      See Also:
        Constant Field Values

    - #### value

          public final int value

  - ### Method Detail

    - #### values

          public static TypeAnnotationTypes.ETargetType[] 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 (TypeAnnotationTypes.ETargetType c : TypeAnnotationTypes.ETargetType.values())
              System.out.println(c);

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

    - #### valueOf

          public static TypeAnnotationTypes.ETargetType 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

    - #### parseKey

          public java.lang.String parseKey()

    - #### infoKey

          public java.lang.String infoKey()

    - #### targetInfo

          public TypeAnnotationTypes.ETargetInfo targetInfo()

    - #### print

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

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Enum<TypeAnnotationTypes.ETargetType>`

    - #### getTargetType

          public static TypeAnnotationTypes.ETargetType getTargetType​(int typeCode)

    - #### getTargetType

          public static TypeAnnotationTypes.ETargetType getTargetType​(java.lang.String typeName)