Package ghidra.app.util.navigation
Class SymbolMatcher
java.lang.Object
ghidra.app.util.navigation.SymbolMatcher
Class for matching symbol names with or without namespace paths and wildcards.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the symbol name part of the query string has no wildcards and is case sensitive.boolean
Returns true if there are wildcards in the symbol name.boolean
Returns true if the given symbol matches the query specification for this matcher.
-
Constructor Details
-
SymbolMatcher
-
-
Method Details
-
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
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
-