void () { PsiReference ref = configure(); PsiElement target = ((PsiJavaReference)ref).advancedResolve(true).getElement(); assertNull(target); //[ven] this should not be resolved /*assertTrue(target instanceof PsiClass); assertEquals("TTT.Bar", ((PsiClass)target).getQualifiedName());*/ }