String printDiags() { StringBuilder buf = new StringBuilder(); for (String s : errDiags) { buf.append(s); buf.append("\n"); } return buf.toString(); }
String asExpressionList(TypeKind type) { StringBuilder buf = new StringBuilder(); String sep = ""; for (int i = 0; i < arity; i++) { buf.append(sep); buf.append(type.valueString); sep = ","; } return buf.toString(); }
private String asExpressionList() { StringBuilder buf = new StringBuilder(); String sep = ""; for (TypeKind tk : typeKindList) { buf.append(sep); buf.append(tk.valueString); sep = ","; } return buf.toString(); }
private String asBytecodeString() { StringBuilder buf = new StringBuilder(); int count = 0; for (TypeKind arg : typeKindList) { if (count == (typeKindList.size() - 1)) { buf.append("["); } buf.append(arg.bytecodeString); count++; } return buf.toString(); }
private String asParameterList() { StringBuilder buf = new StringBuilder(); String sep = ""; int count = 0; for (TypeKind arg : typeKindList) { buf.append(sep); buf.append(arg.typeString); if (count == (typeKindList.size() - 1)) { buf.append("..."); } buf.append(" "); buf.append("arg" + count++); sep = ","; } return buf.toString(); }