boolean (PsiType parameterType, @Nullable PsiType argType, PsiExpression arg) { ProgressManager.checkCanceled(); final boolean isExpressionTypePrimitive = argType != null ? argType instanceof PsiPrimitiveType : PsiPolyExpressionUtil.isExpressionOfPrimitiveType(arg); return parameterType instanceof PsiPrimitiveType != isExpressionTypePrimitive; }