work-in-progress-Commit of the java generator

Reviewer: @rlane