private void performDuplicateCheck() {
		Namespace parentNamespace = symbol.getParentNamespace();
		SymbolTable symbolTable = program.getSymbolTable();
		List<Symbol> symbols = symbolTable.getSymbols(replacement, parentNamespace);
		if (!symbols.isEmpty()) {
			setStatus(QuickFixStatus.WARNING,
				"There is already a symbol named \"" + replacement +
					"\" in namespace \"" + parentNamespace.getName() + "\"");
		}
	}
Constructor
@param symbol the symbol to be renamed
@param newName the new name for the symbol
Ghidra/Features/Base/src/main/java/ghidra/features/base/replace/items/RenameSymbolQuickFix.java