String (PsiModifierListOwner member) { String noun; if (member instanceof PsiClass) noun = getClassNoun((PsiClass)member); else if (member instanceof PsiMethod) noun = JavaPsiBundle.message("node.method.tooltip"); else if (member instanceof PsiField) noun = JavaPsiBundle.message("node.field.tooltip"); else return null; String adj = getFlagsDescription(member); return (adj + " " + noun).trim(); }