void () { PsiElement target = resolve(); assertTrue(target instanceof PsiMethod); assertTrue(target.getParent() instanceof PsiClass); assertEquals("Test1.A", ((PsiClass)target.getParent()).getQualifiedName()); }