private Variable findStackVar(Variable[] stackVars, int stackOffset, int firstUseOffset) {
		for (Variable var : stackVars) {
			if (stackOffset == var.getStackOffset() && firstUseOffset == var.getFirstUseOffset()) {
				return var;
			}
		}
		return null;
	}
Get the original function info and save it off in the undoMap;
set the function info using the new info object.
@param listing listing
@param addr address of where to look for a function
@param info new info to use
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/comments/CodeUnitInfoPasteCmd.java