reimplements with Java.
Merge branch 'master' of https://github.com/kmuto/pdf-addbookmark