void () { PsiReference ref = configure(); PsiElement target = ((PsiJavaReference)ref).advancedResolve(true).getElement(); assertTrue(target instanceof PsiClass); // local class assertNull(((PsiClass)target).getQualifiedName()); }