Package ghidra.pcode.emu.jit.gen.opnd
Record Class Opnd.OpndEm<T extends JitType,N extends Emitter.Next>
java.lang.Object
java.lang.Record
ghidra.pcode.emu.jit.gen.opnd.Opnd.OpndEm<T,N>
- Type Parameters:
T- the p-code type of the operandN- the stack of the emitter
public static record Opnd.OpndEm<T extends JitType,N extends Emitter.Next> (Opnd<T extends JitType> opnd, Emitter<N extends Emitter.Next> em)
extends Record
An operand-emitter tuple
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<TT extends JitType>
Opnd.OpndEm<TT, N> em()Returns the value of theemrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.opnd()Returns the value of theopndrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OpndEm
Creates an instance of aOpndEmrecord class.- Parameters:
opnd- the value for theopndrecord componentem- the value for theemrecord component
-
-
Method Details
-
castBack
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
opnd
Returns the value of theopndrecord component.- Returns:
- the value of the
opndrecord component
-
em
Returns the value of theemrecord component.- Returns:
- the value of the
emrecord component
-