String (PsiIntersectionType t) { StringBuilder b = new StringBuilder("["); for(PsiType c : t.getConjuncts()){ StringGroovyMethods.leftShift(StringGroovyMethods.leftShift(b, c.getCanonicalText()), ","); } if (DefaultGroovyMethods.asBoolean(t.getConjuncts())){ b.replace(b.length() - 1, b.length(), "]"); } return b.toString(); }