String value = "";
final PsiModifierList modifierList = psiModifierListOwner.getModifierList();
if (null != modifierList) {
final String accessModifier = PsiUtil.getAccessModifier(PsiUtil.getAccessLevel(modifierList));
if (null != accessModifier) {
final AccessLevel accessLevel = convertModifierToAccessLevel(accessModifier);
if (null != accessLevel && !AccessLevel.PUBLIC.equals(accessLevel)) {
value = AccessLevel.class.getName() + "." + accessLevel;
}
}
}