generate java 9 api usage