private void replaceParameterComments(Function toFunction, CommentChoices commentChoice) {

		if (commentChoice == CommentChoices.EXCLUDE) {
			return;
		}

		int fromParameterCount = parameterInfos.size();
		int toParameterCount = toFunction.getParameterCount();
		int minParameterCount = Math.min(fromParameterCount, toParameterCount);
		for (int i = 0; i < minParameterCount; i++) {
			// Check the comment against the options to see when we should apply the comment.
			ParameterInfo parameterInfo = parameterInfos.get(i);
			String fromComment = parameterInfo.comment;
			Parameter toParameter = toFunction.getParameter(i);
			String toComment = toParameter.getComment();
			if (SystemUtilities.isEqual(fromComment, toComment)) {
				continue;
			}
			if (commentChoice == CommentChoices.APPEND_TO_EXISTING) {
				String mergedComment = StringUtilities.mergeStrings(toComment, fromComment);
				if (mergedComment != null && mergedComment.length() == 0) {
					mergedComment = null;
				}
				if (!SystemUtilities.isEqual(mergedComment, toComment)) {
					toParameter.setComment(mergedComment);
				}
			}
			if (commentChoice == CommentChoices.OVERWRITE_EXISTING) {
				if (fromComment != null && fromComment.length() == 0) {
					fromComment = null;
				}
				toParameter.setComment(fromComment);
			}
		}
	}
Uses this stringable's parameter info to set the name and source types for the specified
function. Even default names from the parameter info will replace a defined parameter
name in the function.
@param toFunction the function whose parameter names are to be changed using the names
from this stringable.
@return true if the names are replaced.
@throws VersionTrackingApplyException
Ghidra/Features/VersionTracking/src/main/java/ghidra/feature/vt/api/stringable/FunctionSignatureStringable.java