Is there a tool for documenting a java application?

I am wondering if there is a tool for documenting a Java application. I mean, if I want to specify every function and every variable in my code, what it should do and what its type (int, double, ... etc) ... how can I do this? I want it to be in a separate file (the tool generates a file in this format (for example .chm)) ... This thing is available in .net, and there is a tool that can do this for you (sandcastle) ... I hope there is a tool in java that can do a similar job like this ....

Many thanks.

Thanks guys for helping cheers ... it was really useful, I'm using javadoc right now ... it's awesome, thanks for all the ur recommendations;)

+3
source share
5 answers

Yes there is, check out the Javadoc.

http://en.wikipedia.org/wiki/Javadoc

You probably already have everything you need installed. If you use Eclipse, you can generate html documentation directly from your development environment.

+12
source
+3
source

What about javadoc ?

Your project documentation will look like Java API

+2
source

Javadoc is a tool for creating HTML API documentation from comments in source code.

+2
source

you can try javadoc

+1
source

Source: https://habr.com/ru/post/1761667/


All Articles