Record Class DWARFLine.SourceFileAddr
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.dwarf.line.DWARFLine.SourceFileAddr
- Enclosing class:
DWARFLine
-
Constructor Summary
ConstructorsConstructorDescriptionSourceFileAddr(long address, String fileName, byte[] md5, int lineNum, boolean isEndSequence) Creates an instance of aSourceFileAddrrecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongaddress()Returns the value of theaddressrecord component.final booleanIndicates whether some other object is "equal to" this one.fileName()Returns the value of thefileNamerecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theisEndSequencerecord component.intlineNum()Returns the value of thelineNumrecord component.byte[]md5()Returns the value of themd5record component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SourceFileAddr
public SourceFileAddr(long address, String fileName, byte[] md5, int lineNum, boolean isEndSequence) Creates an instance of aSourceFileAddrrecord class.- Parameters:
address- the value for theaddressrecord componentfileName- the value for thefileNamerecord componentmd5- the value for themd5record componentlineNum- the value for thelineNumrecord componentisEndSequence- the value for theisEndSequencerecord 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 theaddressrecord component.- Returns:
- the value of the
addressrecord component
-
fileName
Returns the value of thefileNamerecord component.- Returns:
- the value of the
fileNamerecord component
-
md5
public byte[] md5()Returns the value of themd5record component.- Returns:
- the value of the
md5record component
-
lineNum
public int lineNum()Returns the value of thelineNumrecord component.- Returns:
- the value of the
lineNumrecord component
-
isEndSequence
public boolean isEndSequence()Returns the value of theisEndSequencerecord component.- Returns:
- the value of the
isEndSequencerecord component
-