Package org.openjdk.asmtools.jdis
Enum Class Options.PrintOption
- All Implemented Interfaces:
Serializable,Comparable<Options.PrintOption>,Constable
- Enclosing class:
Options
-
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
FieldsModifier and TypeFieldDescription(package private) final Consumer<Options.PrintOption> (package private) final Stringprivate static final EnumSet<Options.PrintOption> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePrintOption(String descriptor) privatePrintOption(String descriptor, Consumer<Options.PrintOption> action) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply()static Options.PrintOptiongetStringFlag(String prefix, String flag) booleanisActive()static Options.PrintOptionReturns the enum constant of this class with the specified name.static Options.PrintOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
-
CONSTANT_POOL
-
PRINT_BCI
-
LABELS
-
CP_INDEX
-
LINE_NUMBER_TABLE_Numbers
-
LINE_NUMBER_TABLE_Lines
-
LINE_NUMBER_TABLE_Table
-
LINE_NUMBER_TABLE_All
-
LOCAL_VARIABLE_Vars
-
LOCAL_VARIABLE_Types
-
LOCAL_VARIABLE_All
-
HEX
-
TRACE
-
SYSINFO
-
NO_COMMENTS
-
VERBOSE
-
TABLE
-
DROP_Source
-
DROP_Signatures
-
DROP_Classes
-
DROP_CharacterRange
-
DROP_All
-
DETAILED_Output
-
EXTRA_DETAILED_Output
-
BEST_EFFORT
-
-
Field Details
-
descriptor
-
action
-
inProgresses
-
-
Constructor Details
-
PrintOption
-
PrintOption
-
-
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
-
apply
public void apply() -
getStringFlag
- Returns:
- PR if PR value has format {Prefix}{Any Chars}_{flag} and flag == postfix otherwise null
-
isActive
public boolean isActive()
-