Record Class GoSourceFileInfo
java.lang.Object
java.lang.Record
ghidra.app.util.bin.format.golang.rtti.GoSourceFileInfo
- Record Components:
fileName- source filenamelineNum- source line number
-
Constructor Summary
ConstructorsConstructorDescriptionGoSourceFileInfo(String fileName, int lineNum) Creates an instance of aGoSourceFileInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.fileName()Returns the value of thefileNamerecord component.Returns source location info as a string formatted as "filename:linenum".intReturns source location info as a string formatted as "File: filename Line: linenum".final inthashCode()Returns a hash code value for this object.intlineNum()Returns the value of thelineNumrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GoSourceFileInfo
-
-
Method Details
-
getFileName
-
getLineNum
public int getLineNum() -
getDescription
Returns source location info as a string formatted as "filename:linenum".- Returns:
- source location info as a string formatted as "filename:linenum"
-
getVerboseDescription
Returns source location info as a string formatted as "File: filename Line: linenum".- Returns:
- source location info as a string formatted as "File: filename Line: linenum"
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
fileName
-
lineNum
-