Package ghidra.feature.vt.api.stringable
Class FunctionNameStringable
java.lang.Object
ghidra.feature.vt.api.util.Stringable
ghidra.feature.vt.api.stringable.FunctionNameStringable
- All Implemented Interfaces:
docking.widgets.table.DisplayStringProvider
,ghidra.util.classfinder.ExtensionPoint
-
Field Summary
Fields inherited from class ghidra.feature.vt.api.util.Stringable
DELIMITER, DOUBLE_DELIMITER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFunctionName
(ghidra.program.model.listing.Program program, ghidra.program.model.listing.Function function, boolean isPrimary) void
applyFunctionName
(ghidra.program.model.listing.Program program, ghidra.program.model.listing.Function function) protected String
doConvertToString
(ghidra.program.model.listing.Program program) protected void
doRestoreFromString
(String string, ghidra.program.model.listing.Program program) boolean
getDisplayString() returns a display string for this stringable.
Note: It must not return a null.ghidra.program.model.symbol.SourceType
int
hashCode()
Methods inherited from class ghidra.feature.vt.api.util.Stringable
decodeString, encodeString, getString, getStringable, toString
-
Field Details
-
SHORT_NAME
- See Also:
-
-
Constructor Details
-
FunctionNameStringable
public FunctionNameStringable() -
FunctionNameStringable
public FunctionNameStringable(ghidra.program.model.symbol.Symbol symbol)
-
-
Method Details
-
getDisplayString
Description copied from class:Stringable
getDisplayString() returns a display string for this stringable.
Note: It must not return a null. Instead it should return an empty string if it has no value.- Specified by:
getDisplayString
in interfacedocking.widgets.table.DisplayStringProvider
- Specified by:
getDisplayString
in classStringable
-
doConvertToString
- Specified by:
doConvertToString
in classStringable
-
doRestoreFromString
- Specified by:
doRestoreFromString
in classStringable
-
applyFunctionName
public void applyFunctionName(ghidra.program.model.listing.Program program, ghidra.program.model.listing.Function function) throws ghidra.util.exception.DuplicateNameException, ghidra.util.exception.InvalidInputException, ghidra.program.model.listing.CircularDependencyException - Throws:
ghidra.util.exception.DuplicateNameException
ghidra.util.exception.InvalidInputException
ghidra.program.model.listing.CircularDependencyException
-
addFunctionName
public void addFunctionName(ghidra.program.model.listing.Program program, ghidra.program.model.listing.Function function, boolean isPrimary) throws ghidra.util.exception.DuplicateNameException, ghidra.util.exception.InvalidInputException, ghidra.program.model.listing.CircularDependencyException - Throws:
ghidra.util.exception.DuplicateNameException
ghidra.util.exception.InvalidInputException
ghidra.program.model.listing.CircularDependencyException
-
hashCode
public int hashCode()- Specified by:
hashCode
in classStringable
-
equals
- Specified by:
equals
in classStringable
-
getSymbolName
-
getSymbolSourceType
public ghidra.program.model.symbol.SourceType getSymbolSourceType()
-