Package ghidra.program.database.data
Enum Class EnumSignedState
- All Implemented Interfaces:
Serializable
,Comparable<EnumSignedState>
,Constable
Keeps track of the signed state of an enum datatype. Enum are fundamentally either signed or
unsigned, but sometimes you can't tell based on the values they contain. Once a negative value
is added, then the enum becomes locked as signed, preventing high unsigned values (those values
that are too big for signed value of the enum size) from being added. Once a high value unsigned
value is added, then it becomes locked as unsigned value. If neither a negative value or high
unsigned value has been added, then the enum is not locked as either signed or unsigned.
-
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 TypeMethodDescriptionstatic EnumSignedState
Returns the enum constant of this class with the specified name.static EnumSignedState[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SIGNED
-
UNSIGNED
-
NONE
-
INVALID
-
-
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
-