Class SourceMapEntryDB
java.lang.Object
ghidra.program.database.sourcemap.SourceMapEntryDB
- All Implemented Interfaces:
 SourceMapEntry,Comparable<SourceMapEntry>
Database implementation of 
SourceMapEntry interface.
 Note: clients should drop and reacquire all SourceMapEntryDB objects upon undo/redo, ProgramEvent.SOURCE_MAP_CHANGED, and ProgramEvent.SOURCE_FILE_REMOVED.
- 
Method Summary
 
- 
Method Details
- 
getLineNumber
public int getLineNumber()Description copied from interface:SourceMapEntryReturns the line number.- Specified by:
 getLineNumberin interfaceSourceMapEntry- Returns:
 - line number
 
 - 
getSourceFile
Description copied from interface:SourceMapEntryReturns the source file- Specified by:
 getSourceFilein interfaceSourceMapEntry- Returns:
 - source file
 
 - 
getBaseAddress
Description copied from interface:SourceMapEntryReturns the base address of the entry- Specified by:
 getBaseAddressin interfaceSourceMapEntry- Returns:
 - base address
 
 - 
getRange
Description copied from interface:SourceMapEntryReturns the address range, or null for length 0 entries- Specified by:
 getRangein interfaceSourceMapEntry- Returns:
 - address range or null
 
 - 
getLength
public long getLength()Description copied from interface:SourceMapEntryReturns the length of the range (number of addresses)- Specified by:
 getLengthin interfaceSourceMapEntry- Returns:
 - length
 
 - 
toString
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<SourceMapEntry>
 - 
equals
 - 
hashCode
public int hashCode() 
 -