int (@NotNull RefJavaElement refElement) { if (refElement.isEntry()) { PsiElement element = refElement.getPsiElement(); if (element instanceof PsiMember) { return getMinVisibilityLevel((PsiMember)element); } } return EntryPointWithVisibilityLevel.ACCESS_LEVEL_INVALID; }