|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented
@Target(value={METHOD,FIELD,TYPE})
@Retention(value=RUNTIME)
public @interface DescriptionUsed to associate a description with part of a class.
| Required Element Summary | |
|---|---|
java.lang.String |
value
The description to be applied to the annotated element. |
| Optional Element Summary | |
|---|---|
java.lang.String |
key
Optional key to use in a resource bundle for this description. |
| Element Detail |
|---|
public abstract java.lang.String value
public abstract java.lang.String key
If this key is not present, the default key is given by the class name, if this annotation appears on a class, or the class name.method name if this annotation appears on a method. It is an error to use the default value for more than one method of the same name, except for setters and getters.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||