private static void createAddToResult(JBlock block, JClass itemClass) {
    block.invoke(JExpr.ref("result"), "add").arg(createReadValueAs(itemClass));
  }
private static void createAddToResult(JBlock block, JClass itemClass)