Add java language binding logic