void () { final PsiJavaReference ref = (PsiJavaReference)findReferenceAtCaret("var/FieldConflict.java"); final JavaResolveResult resolveResult = ref.advancedResolve(false); assertFalse(resolveResult.isValidResult()); final JavaResolveResult[] results = ref.multiResolve(false); assertEquals(2, results.length); }