Package jadx.api.args
Enum UserRenamesMappingsMode
- java.lang.Object
-
- java.lang.Enum<UserRenamesMappingsMode>
-
- jadx.api.args.UserRenamesMappingsMode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UserRenamesMappingsMode>
public enum UserRenamesMappingsMode extends java.lang.Enum<UserRenamesMappingsMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IGNOREDon't load and don't saveREADJust read, user can save manually (default)READ_AND_AUTOSAVE_BEFORE_CLOSINGRead and autosave before exiting the app or closing the projectREAD_AND_AUTOSAVE_EVERY_CHANGERead and autosave after every change
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UserRenamesMappingsModegetDefault()booleanshouldRead()booleanshouldWrite()static UserRenamesMappingsModevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UserRenamesMappingsMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final UserRenamesMappingsMode READ
Just read, user can save manually (default)
-
READ_AND_AUTOSAVE_EVERY_CHANGE
public static final UserRenamesMappingsMode READ_AND_AUTOSAVE_EVERY_CHANGE
Read and autosave after every change
-
READ_AND_AUTOSAVE_BEFORE_CLOSING
public static final UserRenamesMappingsMode READ_AND_AUTOSAVE_BEFORE_CLOSING
Read and autosave before exiting the app or closing the project
-
IGNORE
public static final UserRenamesMappingsMode IGNORE
Don't load and don't save
-
-
Method Detail
-
values
public static UserRenamesMappingsMode[] 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 (UserRenamesMappingsMode c : UserRenamesMappingsMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UserRenamesMappingsMode 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
-
getDefault
public static UserRenamesMappingsMode getDefault()
-
shouldRead
public boolean shouldRead()
-
shouldWrite
public boolean shouldWrite()
-
-