void () { PsiReference ref = configure(); JavaResolveResult result = ((PsiJavaReference)ref).advancedResolve(true); assertTrue(result.getElement() instanceof PsiClass); assertFalse(result.isValidResult()); assertFalse(result.isAccessible()); }