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