void () { final PsiJavaReference ref = (PsiJavaReference)findReferenceAtCaret("var/InheritedOuter.java"); final JavaResolveResult resolveResult = ref.advancedResolve(false); assertTrue(resolveResult.isValidResult()); }