![]() ![]() ![]() ![]() |
| Topics this page:
|
|
|
Example | Comment |
---|---|
/** | - Slash with two asterisks. Javadoc ignores comments following double backslashes. |
* Get the stuff for the doohicky. | - The first sentence is the summary. So replace periods in the middle of the sentence with an active verb. |
* @author unascribed | - if unknown. (classes and interfaces only, required) |
* @version 1.39, 10 May 2003 | - (mm/dd/yy) when file is checked out of SCCS. Required for classes and interfaces |
* | |
* @deprecated As of JDK 1.1, replaced by setBounds | |
* @since | |
* @param | - One is requuired for each parameter (methods and constructors only) |
* @return | - Required for any return value other than void (methods only) |
* @exception IOException If an input or output exception occurred | - (@throws is a synonym added in Javadoc 1.2) |
* @link http://...#... | |
* @see document name classname#methodname | |
* @serial | - identifies fields that are already serialized. (or @serialField or @serialData) |
* @serialField | - identifies the order and type of objects in a ObjectStreamField serial stream used by writeObject(), readObject(), writeExternal(), and readExternal() calls. |
* @serialData | - identifies objects of type ObjectStreamField, a descriptor class that identifies the characteristics of each serializable field for a given class. |
*/ | - Notice only one asterisk terminates a comment. |
Note: @revision is not a recognized tag.
javadoc also now supports doclets, a pluggable output scheme for technical writers to target XML or other document formats.
| ![]() ![]() ![]() |
Related:
![]()
| Your first name: Your family name: Your location (city, country): Your Email address: |
Top of Page ![]() Thank you! |