private boolean isAccessible(PsiElement element) {
          if (!(element instanceof PsiCompiledElement) || !(element instanceof PsiMember)) return true;
          final PsiResolveHelper resolveHelper = JavaPsiFacade.getInstance(element.getProject()).getResolveHelper();
          return resolveHelper.isAccessible((PsiMember)element, myRefExpr, null);
        }
private boolean isAccessible(PsiElement element)