assert psiClass != null;
ClassUtil.formatClassName(psiClass, builder);
if (owner instanceof PsiMethod) {
return builder.toString() + " " + formatMethod((PsiMethod)owner, PsiSubstitutor.EMPTY,
SHOW_NAME | SHOW_FQ_NAME | SHOW_TYPE | SHOW_PARAMETERS | SHOW_FQ_CLASS_NAMES,
<BUG>SHOW_NAME | SHOW_TYPE | SHOW_FQ_CLASS_NAMES);
}</BUG>
else if (owner instanceof PsiField) {
return builder.toString() + " " + ((PsiField)owner).getName();
}

assert psiClass != null;
ClassUtil.formatClassName(psiClass, builder);
if (owner instanceof PsiMethod) {
return builder.toString() + " " + formatMethod((PsiMethod)owner, PsiSubstitutor.EMPTY,
SHOW_NAME | SHOW_FQ_NAME | SHOW_TYPE | SHOW_PARAMETERS | SHOW_FQ_CLASS_NAMES,
showParamName ? (SHOW_NAME | SHOW_TYPE | SHOW_FQ_CLASS_NAMES) : (SHOW_TYPE | SHOW_FQ_CLASS_NAMES));
}
else if (owner instanceof PsiField) {
return builder.toString() + " " + ((PsiField)owner).getName();
}
