boolean hasParameterNamesChanged(FunctionDataView originalFunctionData) {

		int paramStartIndex = autoParamCount;
		int nonAutoParamCount = parameters.size() - paramStartIndex;
		int originalParamStartIndex = originalFunctionData.autoParamCount;
		int originalNonAutoParamCount =
			originalFunctionData.parameters.size() - originalParamStartIndex;

		if (nonAutoParamCount != originalNonAutoParamCount) {
			return false;
		}

		for (int i = 0; i < nonAutoParamCount; i++) {
			ParamInfo param = parameters.get(paramStartIndex + i);
			ParamInfo originalParam =
				originalFunctionData.parameters.get(originalParamStartIndex + i);
			if (!Objects.equals(param.getName(true), originalParam.getName(true))) {
				return true;
			}
		}

		return false;
	}
Determine if parameter name(s) have been modified.  Note that this method will return false
if the number of non-auto parameters has changed.
@param originalFunctionData original function data prior to edits
@return true if one or more parameter names has changed, else false
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/FunctionData.java