int () { Value element = getElement(); if (!(element instanceof PsiModifierListOwner)) return PsiUtil.ACCESS_LEVEL_PUBLIC; final PsiModifierList modifierList = ((PsiModifierListOwner)element).getModifierList(); if (modifierList == null) { return PsiUtil.ACCESS_LEVEL_PUBLIC; } return PsiUtil.getAccessLevel(modifierList); }