String (@NotNull PsiMember member) { if (member.hasModifierProperty(PsiModifier.PUBLIC)) { return toPresentableText(PsiModifier.PUBLIC); } if (member.hasModifierProperty(PsiModifier.PROTECTED)) { return toPresentableText(PsiModifier.PROTECTED); } if (member.hasModifierProperty(PsiModifier.PRIVATE)) { return toPresentableText(PsiModifier.PRIVATE); } return toPresentableText(PsiModifier.PACKAGE_LOCAL); }