Package ghidra.app.util.importer
Class CsHintLoadSpecChooser
java.lang.Object
ghidra.app.util.importer.CsHintLoadSpecChooser
- All Implemented Interfaces:
LoadSpecChooser
-
Field Summary
Fields inherited from interface ghidra.app.util.importer.LoadSpecChooser
CHOOSE_THE_FIRST_PREFERRED -
Constructor Summary
ConstructorsConstructorDescriptionCsHintLoadSpecChooser(CompilerSpecID compilerSpecID) Creates a newCsHintLoadSpecChooserCsHintLoadSpecChooser(String compilerSpecID) Creates a newCsHintLoadSpecChooser -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.app.util.importer.LoadSpecChooser
getLanguageId
-
Constructor Details
-
CsHintLoadSpecChooser
Creates a newCsHintLoadSpecChooser- Parameters:
compilerSpecID- TheCompilerSpecIDto use (should not be null)
-
CsHintLoadSpecChooser
Creates a newCsHintLoadSpecChooser- Parameters:
compilerSpecID- TheCompilerSpecIDto use (should not be null)
-
-
Method Details
-
getCompilerSpecId
Description copied from interface:LoadSpecChooserGets the desiredCompilerSpecIDassociated with this chooser- Specified by:
getCompilerSpecIdin interfaceLoadSpecChooser- Returns:
- the desired
CompilerSpecIDassociated with this chooser, ornullto mean "any"
-
choose
Description copied from interface:LoadSpecChooser- Specified by:
choosein interfaceLoadSpecChooser- Parameters:
loaderMap- ALoaderMap- Returns:
- The chosen
LoadSpec, or null if one could not be found
-