This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I recently had someone tell me that you can run javadoc on compiled classes. I thought you had to have the source code? Am I missing something? I believe I know the answer, but can someone clarify this for me.
I see nothing in the javadoc documentation that indicates it can produce documentation from compiled class files. The description of the tool clearly indicates that it parses source files for documentation.
If it could create documentation from compiled class files, such documentation would be very sparse, including merely a listing of classes and interfaces, their relationships, and listings of the methods and fields defined in the classes and interfaces. Remember, of course, that comments (documentation) in the source files are not included in the compiled class files. [ May 17, 2004: Message edited by: Dirk Schreckmann ]