Package org.openjdk.asmtools.common
Enum Class Module.Modifier
- All Implemented Interfaces:
Serializable
,Comparable<Module.Modifier>
,Constable
- Enclosing class:
- Module
Modules flags
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
asInt()
private static String
asString
(int value, boolean flagFormat, Module.Modifier skipped) static String
getModuleFlags
(int flag) static String
getModuleModifiers
(int flag) static String
getStatementFlags
(int flag) static String
getStatementModifiers
(int flag) static Module.Modifier
Returns the enum constant of this class with the specified name.static Module.Modifier[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACC_NONE
-
ACC_OPEN
-
ACC_TRANSITIVE
-
ACC_STATIC_PHASE
-
ACC_SYNTHETIC
-
ACC_MANDATED
-
-
Field Details
-
value
private final int value -
keyword
-
flag
-
-
Constructor Details
-
Modifier
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
asInt
public int asInt() -
getModuleModifiers
-
getModuleFlags
-
getStatementModifiers
-
getStatementFlags
-
asString
-