code: public static <RESULT> JSONComposer<RESULT> streamComposer(int features,
              JsonGenerator gen, boolean closeGenerator)
      {
          return new JSONComposer<RESULT>(features, gen, closeGenerator);
      }
docs: /*
  ********************************************************************
  /* API, factory methods
  ********************************************************************