Package ghidra.program.model.data
Enum TranslationSettingsDefinition.TRANSLATION_ENUM
- java.lang.Object
-
- java.lang.Enum<TranslationSettingsDefinition.TRANSLATION_ENUM>
-
- ghidra.program.model.data.TranslationSettingsDefinition.TRANSLATION_ENUM
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TranslationSettingsDefinition.TRANSLATION_ENUM>
- Enclosing class:
- TranslationSettingsDefinition
public static enum TranslationSettingsDefinition.TRANSLATION_ENUM extends java.lang.Enum<TranslationSettingsDefinition.TRANSLATION_ENUM>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SHOW_ORIGINAL
SHOW_TRANSLATED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TranslationSettingsDefinition.TRANSLATION_ENUM
invert()
java.lang.String
toString()
static TranslationSettingsDefinition.TRANSLATION_ENUM
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TranslationSettingsDefinition.TRANSLATION_ENUM[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHOW_ORIGINAL
public static final TranslationSettingsDefinition.TRANSLATION_ENUM SHOW_ORIGINAL
-
SHOW_TRANSLATED
public static final TranslationSettingsDefinition.TRANSLATION_ENUM SHOW_TRANSLATED
-
-
Method Detail
-
values
public static TranslationSettingsDefinition.TRANSLATION_ENUM[] 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 (TranslationSettingsDefinition.TRANSLATION_ENUM c : TranslationSettingsDefinition.TRANSLATION_ENUM.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TranslationSettingsDefinition.TRANSLATION_ENUM 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<TranslationSettingsDefinition.TRANSLATION_ENUM>
-
invert
public TranslationSettingsDefinition.TRANSLATION_ENUM invert()
-
-