String returnTypeName, String methodName, String paramTypeName, SeparatedListType type) { String formalSeps = buildFormalTypedArgumentList(type.separatorFieldIterator()); String actualSeps = buildActualTypedAltArgumentList(type.separatorFieldIterator()); if (formalSeps.length() > 0) { formalSeps += ", "; actualSeps += ", "; }
String paramType, String returnTypeName, String methodName, String paramTypeName, SeparatedListType type) { String formalSeps = buildFormalTypedArgumentList(type.separatorFieldIterator()); String actualSeps = buildActualTypedAltArgumentListNoConversion(type.separatorFieldIterator()); if (formalSeps.length() > 0) { formalSeps += ", "; actualSeps += ", "; }
	private void genFactoryMakeManySeparatedList(		String returnTypeName,		String methodName,		String paramTypeName,		SeparatedListType type) {		String formalSeps = buildFormalTypedArgumentList(type.separatorFieldIterator());		String actualSeps = buildActualTypedAltArgumentList(type.separatorFieldIterator());		if (formalSeps.length() > 0) {			formalSeps += ", ";			actualSeps += ", ";		}		println(			"  public "				+ returnTypeName				+ ' '				+ methodName				+ "("				+ paramTypeName				+ " head, "				+ formalSeps				+ returnTypeName				+ " tail) {");		println(			"    return ("				+ returnTypeName				+ ") "				+ methodName				+ "((aterm.ATerm) head, "				+ actualSeps				+ "(aterm.ATermList) tail, factory.getEmpty());");		println("  }");		println();	}