Package ghidra.app.util.navigation

# Class SymbolMatcher

java.lang.Object
ghidra.app.util.navigation.SymbolMatcher

public class SymbolMatcher extends Object
Class for matching symbol names with or without namespace paths and wildcards.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SymbolMatcher(String queryString, boolean caseSensitive)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getSymbolName()`
  `boolean`
  `hasFullySpecifiedName()`
  Returns true if the symbol name part of the query string has no wildcards and is case sensitive.
  `boolean`
  `hasWildCardsInSymbolName()`
  Returns true if there are wildcards in the symbol name.
  `boolean`
  `matches(Symbol symbol)`
  Returns true if the given symbol matches the query specification for this matcher.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SymbolMatcher

    public SymbolMatcher(String queryString, boolean caseSensitive)

- ## Method Details

  - ### getSymbolName

    public String getSymbolName()

  - ### hasFullySpecifiedName

    public boolean hasFullySpecifiedName()
    Returns true if the symbol name part of the query string has no wildcards and is case sensitive.
    Returns:
      true if the query has no wildcards and is case sensitive.

  - ### hasWildCardsInSymbolName

    public boolean hasWildCardsInSymbolName()
    Returns true if there are wildcards in the symbol name.
    Returns:
      true if there are wildcards in the symbol name

  - ### matches

    public boolean matches(Symbol symbol)
    Returns true if the given symbol matches the query specification for this matcher.
    Parameters:
      `symbol` - the symbol to test
    Returns:
      true if the given symbol matches the query specification for this matcher