Package org.openjdk.asmtools.common
Enum Module.Modifier
- java.lang.Object
-
- java.lang.Enum<Module.Modifier>
-
- org.openjdk.asmtools.common.Module.Modifier
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Module.Modifier>
- Enclosing class:
- Module
public static enum Module.Modifier extends java.lang.Enum<Module.Modifier>
Modules flags
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACC_MANDATED
ACC_NONE
ACC_OPEN
ACC_STATIC_PHASE
ACC_SYNTHETIC
ACC_TRANSITIVE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
asInt()
static java.lang.String
getModuleFlags(int flag)
static java.lang.String
getModuleModifiers(int flag)
static java.lang.String
getStatementFlags(int flag)
static java.lang.String
getStatementModifiers(int flag)
static Module.Modifier
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Module.Modifier[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACC_NONE
public static final Module.Modifier ACC_NONE
-
ACC_OPEN
public static final Module.Modifier ACC_OPEN
-
ACC_TRANSITIVE
public static final Module.Modifier ACC_TRANSITIVE
-
ACC_STATIC_PHASE
public static final Module.Modifier ACC_STATIC_PHASE
-
ACC_SYNTHETIC
public static final Module.Modifier ACC_SYNTHETIC
-
ACC_MANDATED
public static final Module.Modifier ACC_MANDATED
-
-
Method Detail
-
values
public static Module.Modifier[] 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 (Module.Modifier c : Module.Modifier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Module.Modifier 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
-
asInt
public int asInt()
-
getModuleModifiers
public static java.lang.String getModuleModifiers(int flag)
-
getModuleFlags
public static java.lang.String getModuleFlags(int flag)
-
getStatementModifiers
public static java.lang.String getStatementModifiers(int flag)
-
getStatementFlags
public static java.lang.String getStatementFlags(int flag)
-
-