Java PrimerMethod Properties in Java
- By by Dirk Riehle
- April 18, 2000
Listing 15. Two example methods documented using @methodtype and @methodproperties tags.
/**
* Set a name component to a new value.
* @methodtype set
* @methodproperties primitive hook
*/
protected abstract void basicComponent(int index, String component);
/**
* Return context name of Name object.
* @methodtype get
* @methodproperties template
*/
public Name contextName() throws InvalidIndexException { ... }