String getFunctionSignatureText() {
		StringBuilder buf = new StringBuilder();
		buf.append(returnInfo.getFormalDataType().getName()).append(" ");
		buf.append(getNameString());
		buf.append(" (");
		int skipCount = autoParamCount;
		int ordinal = 0;
		for (ParamInfo param : parameters) {
			if (skipCount > 0) {
				--skipCount;
				continue;
			}
			if (ordinal++ != 0) {
				buf.append(", ");
			}
			buf.append(param.getFormalDataType().getName());

			buf.append(" ");

			buf.append(param.getName());

		}
		if (hasVarArgs()) {
			if (!parameters.isEmpty()) {
				buf.append(", ");
			}
			buf.append(FunctionSignature.VAR_ARGS_DISPLAY_STRING);
		}
		else if (parameters.size() == 0) {
			buf.append(FunctionSignature.VOID_PARAM_DISPLAY_STRING);
		}
		buf.append(')');
		return buf.toString();
	}
Construct a duplicate instance from another {@link FunctionDataView} instance.
@param otherFunctionData function data
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/function/editor/FunctionDataView.java