AccessModifier (@NotNull PsiModifierList modifierList) { if (modifierList.hasModifierProperty(PsiModifier.PRIVATE)) { return PRIVATE; } if (modifierList.hasModifierProperty(PsiModifier.PACKAGE_LOCAL)) { return PACKAGE_LOCAL; } if (modifierList.hasModifierProperty(PsiModifier.PROTECTED)) { return PROTECTED; } return PUBLIC; }