Pdef java generator and java bindings