Interface TraceSymbolNoDuplicatesView<T extends TraceSymbol>

Type Parameters:
T - the type of symbols in the view
All Superinterfaces:
TraceSymbolView<T>
All Known Subinterfaces:
TraceClassSymbolView, TraceNamespaceSymbolView, TraceSymbolWithAddressNoDuplicatesView<T>
All Known Implementing Classes:
DBTraceClassSymbolView, DBTraceNamespaceSymbolView, DBTraceSymbolMultipleTypesNoDuplicatesView, DBTraceSymbolMultipleTypesWithAddressNoDuplicatesView

public interface TraceSymbolNoDuplicatesView<T extends TraceSymbol> extends TraceSymbolView<T>
A symbol view where names cannot be duplicated within the same parent namespace
  • Method Details

    • getChildNamed

      default T getChildNamed(String name, TraceNamespaceSymbol parent)
      Get the child of the given parent having the given name.
      Parameters:
      name - the name of the symbol
      parent - the parent namespace
      Returns:
      the symbol, or null
    • getGlobalNamed

      default T getGlobalNamed(String name)
      A shorthand for getChildNamed(String, TraceNamespaceSymbol) where parent is the global namespace.
      Parameters:
      name - the name of the symbol
      Returns:
      the symbol, or null