Record Class DWARFLineProgramInstruction
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.dwarf.line.DWARFLineProgramInstruction
public record DWARFLineProgramInstruction(long offset, String instr, List<Number> operands, DWARFLineProgramState row)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionDWARFLineProgramInstruction(long offset, String instr, List<Number> operands, DWARFLineProgramState row) Creates an instance of aDWARFLineProgramInstructionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getDesc()final inthashCode()Returns a hash code value for this object.instr()Returns the value of theinstrrecord component.longoffset()Returns the value of theoffsetrecord component.operands()Returns the value of theoperandsrecord component.row()Returns the value of therowrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DWARFLineProgramInstruction
public DWARFLineProgramInstruction(long offset, String instr, List<Number> operands, DWARFLineProgramState row) Creates an instance of aDWARFLineProgramInstructionrecord class.- Parameters:
offset- the value for theoffsetrecord componentinstr- the value for theinstrrecord componentoperands- the value for theoperandsrecord componentrow- the value for therowrecord component
-
-
Method Details
-
getDesc
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
offset
public long offset()Returns the value of theoffsetrecord component.- Returns:
- the value of the
offsetrecord component
-
instr
Returns the value of theinstrrecord component.- Returns:
- the value of the
instrrecord component
-
operands
Returns the value of theoperandsrecord component.- Returns:
- the value of the
operandsrecord component
-
row
Returns the value of therowrecord component.- Returns:
- the value of the
rowrecord component
-