Esempio n. 1
0
 static void generate(PrintContext pctxt, Iterable<SerialInfo> serInfos, BBinaryModel pformat)
     throws IOException {
   log.debug("generate");
   CodePrinter pr = pctxt.getPrinterForRegistry(pformat);
   new GenRegistry(pctxt, serInfos, pr, pformat).generate();
   pr.close();
   log.debug(")generate");
 }
Esempio n. 2
0
 static void generate(PrintContext pctxt, RemoteInfo rinfo) throws IOException {
   // log.debug(GeneratorJ.class.getName(), "generate");
   log.info("generate " + rinfo.qname);
   CodePrinter pr = pctxt.getPrinterForApiClass(rinfo, PrintContext.STUB_PREFIX, true);
   new GenRemoteStub(pctxt, rinfo, pr).generate();
   pr.close();
   // log.debug(GeneratorJ.class.getName(), "generate");
 }