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
ConstructorDescriptionDWARFLineProgramInstruction
(long offset, String instr, List<Number> operands, DWARFLineProgramState row) Creates an instance of aDWARFLineProgramInstruction
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.getDesc()
final int
hashCode()
Returns a hash code value for this object.instr()
Returns the value of theinstr
record component.long
offset()
Returns the value of theoffset
record component.operands()
Returns the value of theoperands
record component.row()
Returns the value of therow
record component.final String
toString()
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 aDWARFLineProgramInstruction
record class.- Parameters:
offset
- the value for theoffset
record componentinstr
- the value for theinstr
record componentoperands
- the value for theoperands
record componentrow
- the value for therow
record 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 theoffset
record component.- Returns:
- the value of the
offset
record component
-
instr
Returns the value of theinstr
record component.- Returns:
- the value of the
instr
record component
-
operands
Returns the value of theoperands
record component.- Returns:
- the value of the
operands
record component
-
row
Returns the value of therow
record component.- Returns:
- the value of the
row
record component
-