twitter/scrooge — pull request #138 by eirslett (2014-08-17 15:58:02+00:00)
Title: Generate FinagledClient and FinagledService for java-experimental

Support was probably broken in commit cad09af796 when
the *Client and *Service classes were moved out of the "main"
service file. This change was reflected in the generated Scala code,
but not in the Java code.

See also: https://groups.google.com/forum/#!topic/finaglers/W4hhEcAbocI

- Configure compiler to output generated *Client and *Service classes
to file
- Rewrite relevant Java generators so that they generate code
compatible with a class living in its own file
(import statements, remove "static" keyword etc)
- The "main" service class has a FinagledClient which extends
(...ServiceName...)$FinagleClient, like in the Scala generated code.