Class NamespaceSymbol
java.lang.Object
ghidra.program.database.DatabaseObject
ghidra.program.database.symbol.SymbolDB
ghidra.program.database.symbol.NamespaceSymbol
- All Implemented Interfaces:
Symbol
Symbol class for namespaces.
-
Field Summary
Fields inherited from class DatabaseObject
key -
Method Summary
Modifier and TypeMethodDescriptionReturns this symbol's typebooleanReturns true if this an external symbol.booleanbooleanisValidParent(Namespace parent) Determines if the given parent is valid for this Symbol.Methods inherited from class SymbolDB
checkDeleted, delete, doCheckIsPrimary, doGetName, doGetParentNamespace, doSetNameAndNamespace, doSetPrimary, equals, getAddress, getDataTypeId, getID, getName, getName, getParentNamespace, getParentSymbol, getPath, getProgram, getSource, getSymbolsDynamicallyRenamedByMyRename, hashCode, isDeleted, isDeleting, isDescendant, isDynamic, isGlobal, refresh, refresh, setAddress, setDataTypeId, setName, setNameAndNamespace, setNamespace, setPrimary, setSource, setSourceFlagBits, toString, updateRecord, validateNameSourceMethods inherited from class DatabaseObject
checkIsValid, checkIsValid, getKey, isDeleted, isInvalid, keyChanged, setDeleted, setInvalid, validateMethods inherited from interface Symbol
getProgramLocation, getReferenceCount, getReferences, getReferences, hasReferences, isExternalEntryPoint, isPinned, setPinned
-
Method Details
-
isPrimary
-
isExternal
public boolean isExternal()Description copied from interface:SymbolReturns true if this an external symbol.- Returns:
- true if this an external symbol.
- See Also:
-
getSymbolType
-
getObject
- Returns:
- object associated with this symbol or null if symbol has been deleted
-
isValidParent
Description copied from interface:SymbolDetermines if the given parent is valid for this Symbol. Specified namespace must belong to the same symbol table as this symbol.- Specified by:
isValidParentin interfaceSymbol- Overrides:
isValidParentin classSymbolDB- Parameters:
parent- prospective parent namespace for this symbol- Returns:
- true if parent is valid
-