Java source code generator