@Override
	public boolean applyTo(Program program) {
		symTable = program.getSymbolTable();
		ReferenceManager refMgr = program.getReferenceManager();

		Symbol s = symTable.getSymbol(symbolName, ref.getToAddress(), scope);
		if (s == null) {
			msg = "No symbol found for " + symbolName;
			return false;
		}
		refMgr.setAssociation(s, ref);
		return true;
	}
Create a associate symbol command for a global symbol
@param ref the reference to associate with a symbol
@param symbolName the name of the symbol with which to associate the reference.
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/refs/AssociateSymbolCmd.java