public static FieldStringInfo[] getFunctionParameterStringInfos(Function function,
			String functionSignatureString) {
		Parameter[] arguments = function.getParameters();

		int startIndex = functionSignatureString.indexOf('(') + 1;
		List<FieldStringInfo> list = new ArrayList<FieldStringInfo>();
		for (Parameter parameter : arguments) {
			String dataTypeName = parameter.getDataType().getDisplayName();
			String parameterName = parameter.getName();

			startIndex = functionSignatureString.indexOf(dataTypeName, startIndex);
			list.add(new FieldStringInfo(functionSignatureString, dataTypeName + " " +
				parameterName, startIndex));

			// push the starting point past the name of the current parameter            
			startIndex =
				functionSignatureString.indexOf(parameterName, startIndex) + parameterName.length();
		}

		return list.toArray(new FieldStringInfo[list.size()]);
	}
Returns a FieldStringInfo object for the given function's parameters.  This info contains
the parameter string and their respective locations in the function signature.  Each
returned FieldStringInfo object will contain a single string retrievable from 
{@link FieldStringInfo#getFieldString()} that is a space-separated combination of the 
parameter's datatype and name.

@param function The function from which to get the function parameter strings.
@param functionSignatureString The function signature string from which to get the 
parameter strings.
@return Returns a FieldStringInfo object for the given function's parameter strings.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/navigation/FunctionUtils.java