String (boolean qualified, boolean annotated, @Nullable String suffix) { PsiAnnotation[] annotations = annotated ? getAnnotations() : PsiAnnotation.EMPTY_ARRAY; if (annotations.length == 0 && suffix == null) return "?"; StringBuilder sb = new StringBuilder(); if (annotated) { PsiNameHelper.appendAnnotations(sb, annotations, qualified); } if (suffix == null) { sb.append('?'); } else { sb.append(myIsExtending ? EXTENDS_PREFIX : SUPER_PREFIX); sb.append(suffix); } return sb.toString(); }