@Documented
@Target(value={METHOD,FIELD,TYPE})
@Retention(value=RUNTIME)
public @interface Description
Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
The description to be applied to the annotated element.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
key
Optional key to use in a resource bundle for this description.
|
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.