PsiTypeElement (@NotNull PsiTypeElement typeElement) { PsiElement child = typeElement.getFirstChild(); while (child instanceof PsiTypeElement) { typeElement = (PsiTypeElement)child; child = typeElement.getFirstChild(); } return typeElement; }