void () { PsiElement target = resolve(); assertTrue(target instanceof PsiMethod); final PsiMethod method = (PsiMethod)target; assertEquals("clone", method.getName()); assertEquals(CommonClassNames.JAVA_LANG_OBJECT, method.getContainingClass().getQualifiedName()); }