replace PsiPrimitiveType with PsiType
Fix test of inplace renaming inside injection