Marco Castellani's Library tagged → View Popular
13 Jul 09
How to Write Doc Comments for the Javadoc Tool
-
A doc comment is written in HTML and must precede a class, field,
constructor or method declaration. It is made up of two parts --
a description followed by block tags. In this example, the block
tags are@param,@return, and@see. -
An @param tag is "required" (by convention) for every parameter,
even when the description is
obvious. The @return tag is required for every method that returns something
other thanvoid, even if it is redundant with the method description.
(Whenever possible, find something non-redundant (ideally, more specific) to use
for the tag comment.) - 1 more annotations...
Selected Tags
Related Tags
Sponsored Links
Ads by Google
Top Contributors
Groups interested in howto
Related Lists on Diigo
-
howto
Items: 4 | Visits: 112
Created by: Rich Hintz
-
linux
Items: 92 | Visits: 141
Created by: Djiezes Kraaijst
-
Google Docs
This is a list of documents...
Items: 1 | Visits: 143
Created by: Liz Davis
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
