Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to build javaDoc dynamically  RSS feed

 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all
im just started to explore the javadoc functions, and its looks nice
but for what I need to do I didn�t found any solutions , here is my problem :
im using reflection to locate my class and then loop trhow them and query there types
Now that have all this I like to attach� to it some kind of "javaDoc" simple mechanism
so every time im looping throw class methods I will attach to it dynamically the method name and the method args and so on ..
is there any way to do it ?
thanks
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not by using the Javadoc tool at all, which operates on source code. There's nothing stopping you from building your own HTML-generating code which emits description of each method you inspect. The question remains, "Why?"
 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the reason is that I have many functions I need to document (something like 1000 )
and I don�t want to write documentation to every function so I was thinking to build some kind of automatic
Documentation to every function, so from what I understand I need to reproduce java files with my comments
and then transform them with javadoc
?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So why can't you use Javadoc on the source, then? I'm not understanding.
 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don�t want to open each java page and write the javaDoc comments I like to do it dynamically
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!