PsiType () { PsiType correctType = PsiClassImplUtil.correctType(myParameter.getType(), myContext.getResolveScope()); PsiType type = mySubstitutor.substitute(correctType); return myEraseType ? TypeConversionUtil.erasure(type, mySubstitutor) : type; }