PsiTypeElement[] (PsiJavaCodeReferenceElement reference) { PsiReferenceParameterList typeArgList = reference.getParameterList(); return typeArgList == null ? PsiTypeElement.EMPTY_ARRAY : typeArgList.getTypeParameterElements(); }