Enum Class EnumSignedState

java.lang.Object
java.lang.Enum<EnumSignedState>
ghidra.program.database.data.EnumSignedState
All Implemented Interfaces:
Serializable, Comparable<EnumSignedState>, Constable

public enum EnumSignedState extends Enum<EnumSignedState>
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.
  • Enum Constant Details

  • Method Details

    • values

      public static EnumSignedState[] 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

      public static EnumSignedState valueOf(String name)
      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 name
      NullPointerException - if the argument is null