JForLoop _for = $setAll.body()._for();
JVar $i = _for.init( codeModel.INT, "i", JExpr.lit(0) );
_for.test( JOp.lt($i,$len) );
_for.update( $i.incr() );
_for.body().assign(acc.ref(true).component($i), castToImplType(acc.box($value.component($i))));
writer.javadoc().addParam($value)
.append("allowed objects are\n")
.append(returnTypes);