Package ghidra.program.util
Class FunctionSignatureSourceFieldLocation
- java.lang.Object
- 
- ghidra.program.util.ProgramLocation
- 
- ghidra.program.util.FunctionLocation
- 
- ghidra.program.util.FunctionSignatureSourceFieldLocation
 
 
 
- 
- All Implemented Interfaces:
- java.lang.Comparable<ProgramLocation>
 
 public class FunctionSignatureSourceFieldLocation extends FunctionLocation TheFunctionSignatureFieldLocationclass provides specific information about the Function Signature field within a program location.
- 
- 
Field Summary- 
Fields inherited from class ghidra.program.util.FunctionLocationfunctionAddr
 - 
Fields inherited from class ghidra.program.util.ProgramLocationaddr, program, refAddr
 
- 
 - 
Constructor SummaryConstructors Constructor Description FunctionSignatureSourceFieldLocation()Default constructor needed for restoring a program location from XMLFunctionSignatureSourceFieldLocation(Program program, Address locationAddr, Address functionAddr, java.lang.String source, int charOffset)Construct a new FunctionSignatureFieldLocation object.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetSignatureSource()Return the function signature source at this location.inthashCode()voidrestoreState(Program p, SaveState obj)Restore this function location using the given program and save state object.voidsaveState(SaveState obj)Save this function location to the given save state object.java.lang.StringtoString()Returns a String representation of this location.- 
Methods inherited from class ghidra.program.util.FunctionLocationgetFunctionAddress, isValid
 - 
Methods inherited from class ghidra.program.util.ProgramLocationcompareAddr, compareTo, getAddress, getByteAddress, getCharOffset, getColumn, getComponentPath, getLocation, getProgram, getRefAddress, getRow
 
- 
 
- 
- 
- 
Constructor Detail- 
FunctionSignatureSourceFieldLocationpublic FunctionSignatureSourceFieldLocation(Program program, Address locationAddr, Address functionAddr, java.lang.String source, int charOffset) Construct a new FunctionSignatureFieldLocation object.- Parameters:
- the- program of the location
- locationAddr- the address of this location.
- functionAddr- the function address
- source- the function signature SourceType at this location.
- charOffset- field character position
 
 - 
FunctionSignatureSourceFieldLocationpublic FunctionSignatureSourceFieldLocation() Default constructor needed for restoring a program location from XML
 
- 
 - 
Method Detail- 
getSignatureSourcepublic java.lang.String getSignatureSource() Return the function signature source at this location.- See Also:
- SourceType
 
 - 
toStringpublic java.lang.String toString() Returns a String representation of this location.- Overrides:
- toStringin class- FunctionLocation
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- ProgramLocation
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- FunctionLocation
- See Also:
- Object.equals(java.lang.Object)
 
 - 
saveStatepublic void saveState(SaveState obj) Description copied from class:FunctionLocationSave this function location to the given save state object.- Overrides:
- saveStatein class- FunctionLocation
- Parameters:
- obj- the save state object for saving the location
 
 - 
restoreStatepublic void restoreState(Program p, SaveState obj) Description copied from class:FunctionLocationRestore this function location using the given program and save state object.- Overrides:
- restoreStatein class- FunctionLocation
 
 
- 
 
-