Object (@NotNull PsiClassType classType) { final PsiClassType rawType = classType.rawType(); typeString.append(rawType.getCanonicalText()); final PsiType[] parameterTypes = classType.getParameters(); if (parameterTypes.length > 0) { typeString.append('<'); final PsiType parameterType1 = parameterTypes[0]; // IDEADEV-25549 says this can be null if (parameterType1 != null) { parameterType1.accept(this); } for (int i = 1; i < parameterTypes.length; i++) { typeString.append(','); final PsiType parameterType = parameterTypes[i]; // IDEADEV-25549 again if (parameterType != null) { parameterType.accept(this); } } typeString.append('>'); } return null; }