Package jadx.api.plugins.options
Enum OptionFlag
- java.lang.Object
-
- java.lang.Enum<OptionFlag>
-
- jadx.api.plugins.options.OptionFlag
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<OptionFlag>
public enum OptionFlag extends java.lang.Enum<OptionFlag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLE_IN_GUIOption will be read-only in jadx-gui (can be used for calculated properties)HIDE_IN_GUIDo not show this option in jadx-gui (useful if option is configured with custom ui)NOT_CHANGING_CODEAdd this flag only if the option does not affect generated code.PER_PROJECTStore in project settings instead global (for jadx-gui)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OptionFlagvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OptionFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PER_PROJECT
public static final OptionFlag PER_PROJECT
Store in project settings instead global (for jadx-gui)
-
HIDE_IN_GUI
public static final OptionFlag HIDE_IN_GUI
Do not show this option in jadx-gui (useful if option is configured with custom ui)
-
DISABLE_IN_GUI
public static final OptionFlag DISABLE_IN_GUI
Option will be read-only in jadx-gui (can be used for calculated properties)
-
NOT_CHANGING_CODE
public static final OptionFlag NOT_CHANGING_CODE
Add this flag only if the option does not affect generated code. If added, option value change will not cause code cache reset.
-
-
Method Detail
-
values
public static OptionFlag[] 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 (OptionFlag c : OptionFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OptionFlag 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
-
-