One other way to generate Java API doc that I followed is to use IntelliJ (an Eclipse-like IDE) and follow the procedure here:
You can download IntelliJ (Community Edition) from:
1. The ODL code has to be git cloned into your pc and used as the project in IntelliJ
2. You might see errors in the console when generating the doc but you can ignore them
3. The same procedure might be possible using Eclipse but I vaguely remember hitting an issue.