Record Class DWARFLine.SourceFileAddr
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.dwarf.line.DWARFLine.SourceFileAddr
- Enclosing class:
DWARFLine
-
Constructor Summary
ConstructorDescriptionSourceFileAddr
(long address, String fileName, int lineNum) Creates an instance of aSourceFileAddr
record class. -
Method Summary
Modifier and TypeMethodDescriptionlong
address()
Returns the value of theaddress
record component.final boolean
Indicates whether some other object is "equal to" this one.fileName()
Returns the value of thefileName
record component.final int
hashCode()
Returns a hash code value for this object.int
lineNum()
Returns the value of thelineNum
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
SourceFileAddr
Creates an instance of aSourceFileAddr
record class.- Parameters:
address
- the value for theaddress
record componentfileName
- the value for thefileName
record componentlineNum
- the value for thelineNum
record component
-
-
Method Details
-
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 '=='. -
address
public long address()Returns the value of theaddress
record component.- Returns:
- the value of the
address
record component
-
fileName
Returns the value of thefileName
record component.- Returns:
- the value of the
fileName
record component
-
lineNum
public int lineNum()Returns the value of thelineNum
record component.- Returns:
- the value of the
lineNum
record component
-