String () { StringBuilder builder = new StringBuilder(); builder.append("PsiMethodStub["); if (isConstructor()) { builder.append("cons "); } if (isAnnotationMethod()) { builder.append("annotation "); } if (isVarArgs()) { builder.append("varargs "); } if (isDeprecated() || hasDeprecatedAnnotation()) { builder.append("deprecated "); } builder.append(myName).append(":").append(myReturnType); String defaultValue = getDefaultValueText(); if (defaultValue != null) { builder.append(" default=").append(defaultValue); } builder.append("]"); return builder.toString(); }