Package org.openjdk.asmtools.jasm
Enum TypeAnnotationTypes.EPathKind
- java.lang.Object
-
- java.lang.Enum<TypeAnnotationTypes.EPathKind>
-
- org.openjdk.asmtools.jasm.TypeAnnotationTypes.EPathKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TypeAnnotationTypes.EPathKind>
- Enclosing class:
- TypeAnnotationTypes
public static enum TypeAnnotationTypes.EPathKind extends java.lang.Enum<TypeAnnotationTypes.EPathKind>
Interpretation of type_path_kind values (Table 4.7.20.2-A)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY
INNER_TYPE
TYPE_ARGUMENT
WILDCARD
-
Constructor Summary
Constructors Modifier Constructor Description private
EPathKind(int tag)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static TypeAnnotationTypes.EPathKind
getPathKind(java.lang.String token)
java.lang.String
parseKey()
int
tag()
static TypeAnnotationTypes.EPathKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypeAnnotationTypes.EPathKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ARRAY
public static final TypeAnnotationTypes.EPathKind ARRAY
-
INNER_TYPE
public static final TypeAnnotationTypes.EPathKind INNER_TYPE
-
WILDCARD
public static final TypeAnnotationTypes.EPathKind WILDCARD
-
TYPE_ARGUMENT
public static final TypeAnnotationTypes.EPathKind TYPE_ARGUMENT
-
-
Field Detail
-
tag
private final int tag
-
maxLen
public static final int maxLen
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static TypeAnnotationTypes.EPathKind[] 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.EPathKind c : TypeAnnotationTypes.EPathKind.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.EPathKind 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 namejava.lang.NullPointerException
- if the argument is null
-
tag
public int tag()
-
parseKey
public java.lang.String parseKey()
-
getPathKind
static TypeAnnotationTypes.EPathKind getPathKind(java.lang.String token)
-
-