Use automatic code generator for Java APIs