String () { List<PsiType> types = getComponentTypes(); StringBuilder builder = new StringBuilder(); builder.append("["); for (int i = 0; i < types.size(); i++) { if (i >= 2) { builder.append(",..."); break; } if (i > 0) builder.append(", "); builder.append(getInternalCanonicalText(types.get(i))); } builder.append("]"); return builder.toString(); }