PsiType (PsiType expectedType) { PsiClassType boxed = expectedType instanceof PsiPrimitiveType ? ((PsiPrimitiveType)expectedType).getBoxedType(myParameters.getPosition()) : null; return boxed != null ? boxed : expectedType; }