Re: Generate JavaScript documentation from JsInterop annotated Java sources

2017-05-20 Thread Harald Pehl
I wrote an annotation processor which generates EcmaScript 6 code. The JavaDoc comments are enriched with information taken from custom annotations (where necessary), Finally I use ESDoc [1] to generate the final documentation. If anyone is interested the code can be at [2]. [1]

Re: Generate JavaScript documentation from JsInterop annotated Java sources

2017-05-18 Thread Thomas Broyer
I suppose one could write an annotation processor that could generate a Closure externs files (the reverse of the jsinterop-generator), copying the javadoc (though probably transforming it a bit, to turn it into jsdoc with type information) around, so a jsdoc tool could be used afterwards (or

Generate JavaScript documentation from JsInterop annotated Java sources

2017-05-17 Thread Harald Pehl
I'm currently exporting a JavaScript API of my GWT application using JsInterop. I'm looking for a way to document the JavaScript API. ATM this is all done by hand. But it would be great if I could reuse the JavaDoc of my annotated classes and methods to generate JavaScript documentation. I