String () { StringBuilder builder = new StringBuilder(); builder.append("PsiClassStub["); if (isInterface()) { builder.append("interface "); } if (isAnonymous()) { builder.append("anonymous "); } if (isEnum()) { builder.append("enum "); } if (isRecord()) { builder.append("record "); } if (isAnnotationType()) { builder.append("annotation "); } if (isEnumConstantInitializer()) { builder.append("enumInit "); } if (isDeprecated()) { builder.append("deprecated "); } if (hasDeprecatedAnnotation()) { builder.append("deprecatedA "); } builder.append("name=").append(getName()).append(" fqn=").append(getQualifiedName()); if (getBaseClassReferenceText() != null) { builder.append(" baseref=").append(getBaseClassReferenceText()); } if (isAnonymousInQualifiedNew()) { builder.append(" inqualifnew"); } if (isAnonymousInner()) { builder.append(" jvmAnonymousInner"); } if (isLocalClassInner()) { builder.append(" jvmLocalClassInner"); } builder.append("]"); return builder.toString(); }