Package ghidra.trace.model.symbol
Interface TraceNamespaceSymbolView
- All Superinterfaces:
TraceSymbolNoDuplicatesView<TraceNamespaceSymbol>,TraceSymbolView<TraceNamespaceSymbol>
- All Known Implementing Classes:
DBTraceNamespaceSymbolView
The namespace symbol view.
-
Method Summary
Modifier and TypeMethodDescriptionadd(String name, TraceNamespaceSymbol parent, SourceType source) Add a new namespace symbol.Methods inherited from interface ghidra.trace.model.symbol.TraceSymbolNoDuplicatesView
getChildNamed, getGlobalNamedMethods inherited from interface ghidra.trace.model.symbol.TraceSymbolView
getAll, getChildren, getChildrenNamed, getGlobals, getGlobalsNamed, getManager, getNamed, getTrace, getWithMatchingName, scanByName, size
-
Method Details
-
add
TraceNamespaceSymbol add(String name, TraceNamespaceSymbol parent, SourceType source) throws DuplicateNameException, InvalidInputException Add a new namespace symbol.- Parameters:
name- the name of the namespaceparent- the parent namespacesource- the source- Returns:
- the new namespace symbol
- Throws:
DuplicateNameException- if the name is duplicated in the parent namespaceInvalidInputException- if the name is not valid
-