private boolean isEquivStorage(List<Parameter> newParams, Parameter returnParam) {
		boolean equivStorage = newParams.size() == func.getParameterCount();
		for (int i = 0; equivStorage && i < newParams.size(); i++) {
			Parameter currentParam = func.getParameter(i);
			Parameter newParam = newParams.get(i);
			equivStorage = currentParam.getDataType().isEquivalent(newParam.getDataType()) &&
				currentParam.getVariableStorage().equals(newParam.getVariableStorage());
		}
		equivStorage = equivStorage && returnParam != null && func.getReturn() != null &&
			func.getReturn().getVariableStorage().equals(returnParam.getVariableStorage());

		return equivStorage;
	}
Utility class that fixes golang function parameter storage using each function's current
parameter list (formal info only) as starting information.

TODO: verify GoFuncData.argsize property against what we calculate here
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/GoFunctionFixup.java