void () { PsiElement target = resolve(); assertTrue(target instanceof PsiMethod); PsiParameter[] parms = ((PsiMethod)target).getParameterList().getParameters(); assertEquals("Derived", parms[0].getType().getPresentableText()); assertEquals("Derived", parms[1].getType().getPresentableText()); }