Package org.openjdk.asmtools.jasm
Enum Tables.CF_Context
- java.lang.Object
-
- java.lang.Enum<Tables.CF_Context>
-
- org.openjdk.asmtools.jasm.Tables.CF_Context
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Tables.CF_Context>
- Enclosing class:
- Tables
public static enum Tables.CF_Context extends java.lang.Enum<Tables.CF_Context>
CF_Context enums
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CTX_CLASS
CTX_FIELD
CTX_INNERCLASS
CTX_METHOD
CTX_MODULE
-
Constructor Summary
Constructors Modifier Constructor Description private
CF_Context(int val, java.lang.String print)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
isOneOf(Tables.CF_Context... items)
java.lang.String
printval()
int
val()
static Tables.CF_Context
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Tables.CF_Context[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CTX_CLASS
public static final Tables.CF_Context CTX_CLASS
-
CTX_FIELD
public static final Tables.CF_Context CTX_FIELD
-
CTX_METHOD
public static final Tables.CF_Context CTX_METHOD
-
CTX_INNERCLASS
public static final Tables.CF_Context CTX_INNERCLASS
-
CTX_MODULE
public static final Tables.CF_Context CTX_MODULE
-
-
Method Detail
-
values
public static Tables.CF_Context[] 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.CF_Context c : Tables.CF_Context.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.CF_Context 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
-
isOneOf
boolean isOneOf(Tables.CF_Context... items)
-
val
public int val()
-
printval
public java.lang.String printval()
-
-