forBody.appendNullableValue(type.elementType(), value1.component(i), value2.component(i));
else
forBody.appendNotNullValue(type.elementType(), value1.component(i), value2.component(i));
appendNotNullValue(types._int, value1.ref("length"), value2.ref("length"));
} else if (type.isPrimitive()) {
IJExpression condition = JOp.cond(value1.lt(value2), JExpr.lit(-1),
JOp.cond(value1.eq(value2), JExpr.lit(0), JExpr.lit(1)));
body.assign(resultVariable, condition);
JConditional _if = body._if(resultVariable.ne(JExpr.lit(0)));
_if._then()._return(resultVariable);
} else {