Package ghidra.program.database
Enum Class SpecExtension.Type
- All Implemented Interfaces:
Serializable
,Comparable<SpecExtension.Type>
,Constable
- Enclosing class:
SpecExtension
The possible types of spec extensions.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOptionName
(String formalName) For a given extension's formal name, generate the option name used to store the extension.Get the XML tag name associated with the specific extension type.static SpecExtension.Type
Returns the enum constant of this class with the specified name.static SpecExtension.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PROTOTYPE_MODEL
-
MERGE_MODEL
-
CALL_FIXUP
-
CALLOTHER_FIXUP
-
-
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
-
getTagName
Get the XML tag name associated with the specific extension type.- Returns:
- the tag name
-
getOptionName
For a given extension's formal name, generate the option name used to store the extension. The option name is the tag name concatenated with the formal name, separated by '_'- Parameters:
formalName
- is the formal name of the extension- Returns:
- the option name
-