InferenceVariable (PsiType psiType) { final PsiClass psiClass = PsiUtil.resolveClassInClassTypeOnly(psiType); return psiClass instanceof InferenceVariable ? getInferenceVariable((PsiTypeParameter)psiClass) : null; }