int () { int result = PsiUtil.ACCESS_LEVEL_PRIVATE; if (getGetter() != null) { result = Math.max(result, PsiUtil.getAccessLevel(getGetter().getModifierList())); } if (getSetter() != null) { result = Math.max(result, PsiUtil.getAccessLevel(getSetter().getModifierList())); } if (getField() != null) { result = Math.max(result, PsiUtil.getAccessLevel(getField().getModifierList())); } return result; }