@Deprecated(since = "7.4", forRemoval = true)
	public final Symbol getSymbol(String name, Namespace namespace) {
		List<Symbol> symbols = currentProgram.getSymbolTable().getSymbols(name, namespace);
		if (symbols.size() == 1) {
			return symbols.get(0);
		}
		else if (symbols.size() > 1) {
			throw new IllegalStateException(
				"There are multiple symbols named " + name + " in namespace " + namespace);
		}
		return null;
	}
Returns the symbol with the given name in the given namespace if there is only one.
Pass <code>null</code> for namespace to indicate the global namespace.
@param name the name of the symbol
@param namespace the parent namespace, or null for global namespace
@return the symbol with the given name in the given namespace
@throws IllegalStateException if there is more than one symbol with that name.
@deprecated use {@link #getSymbols(String, Namespace)}
Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java