Enum Class Opnd.Ext

java.lang.Object
java.lang.Enum<Opnd.Ext>
ghidra.pcode.emu.jit.gen.opnd.Opnd.Ext
All Implemented Interfaces:
Serializable, Comparable<Opnd.Ext>, Constable
Enclosing interface:
Opnd<T extends JitType>

public static enum Opnd.Ext extends Enum<Opnd.Ext>
Kinds of extension
  • Enum Constant Details

    • ZERO

      public static final Opnd.Ext ZERO
      Zero extension
    • SIGN

      public static final Opnd.Ext SIGN
      Sign extension
  • Method Details

    • values

      public static Opnd.Ext[] 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 Opnd.Ext 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
    • forSigned

      public static Opnd.Ext forSigned(boolean signed)
      Get the extension based on signedness
      Parameters:
      signed - true for signed, false for unsigned
      Returns:
      the kind of extension