Adding java code generator