protected void addParameters(StringBuilder buffer, boolean format) {
		Iterator<DemangledParameter> paramIterator = parameters.iterator();
		buffer.append('(');
		int padLength = format ? buffer.length() : 0;
		String pad = StringUtils.rightPad("", padLength);
		if (!paramIterator.hasNext()) {
			buffer.append("void");
		}

		while (paramIterator.hasNext()) {
			DemangledParameter param = paramIterator.next();
			buffer.append(param.getType().getSignature());
			if (param.getLabel() != null) {
				buffer.append(" " + param.getLabel());
			}
			if (paramIterator.hasNext()) {
				buffer.append(',');
				if (format) {
					buffer.append('\n');
				}
				buffer.append(pad);
			}
		}

		buffer.append(')');
	}
Special constructor where it has a templated type before the parameter list
@param type the type
Ghidra/Features/Base/src/main/java/ghidra/app/util/demangler/DemangledFunction.java