void () { PsiReference ref = configure(); JavaResolveResult result = ((PsiJavaReference)ref).advancedResolve(true); final PsiElement element = result.getElement(); assertTrue(element instanceof PsiClass); assertEquals("Outer.Double", ((PsiClass)element).getQualifiedName()); }