Package org.openjdk.asmtools.jcoder
Enum Jcoder.ContextTag
- java.lang.Object
-
- java.lang.Enum<Jcoder.ContextTag>
-
- org.openjdk.asmtools.jcoder.Jcoder.ContextTag
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Jcoder.ContextTag>
- Enclosing class:
- Jcoder
private static enum Jcoder.ContextTag extends java.lang.Enum<Jcoder.ContextTag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE
CLASS
CONSTANTPOOL
FIELD
FIELDS
INTERFACE
INTERFACES
METHOD
METHODS
NULL
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
printValue
-
Constructor Summary
Constructors Modifier Constructor Description private
ContextTag(java.lang.String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
printval()
static Jcoder.ContextTag
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Jcoder.ContextTag[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final Jcoder.ContextTag NULL
-
CLASS
public static final Jcoder.ContextTag CLASS
-
CONSTANTPOOL
public static final Jcoder.ContextTag CONSTANTPOOL
-
INTERFACES
public static final Jcoder.ContextTag INTERFACES
-
INTERFACE
public static final Jcoder.ContextTag INTERFACE
-
METHODS
public static final Jcoder.ContextTag METHODS
-
METHOD
public static final Jcoder.ContextTag METHOD
-
FIELDS
public static final Jcoder.ContextTag FIELDS
-
FIELD
public static final Jcoder.ContextTag FIELD
-
ATTRIBUTE
public static final Jcoder.ContextTag ATTRIBUTE
-
-
Method Detail
-
values
public static Jcoder.ContextTag[] 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 (Jcoder.ContextTag c : Jcoder.ContextTag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Jcoder.ContextTag 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
-
printval
public java.lang.String printval()
-
-