|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=PARAMETER) @Retention(value=RUNTIME) public @interface Param
Annotation for parameters of Command-marked methods. This annotation is of particular usefullness, because Java 5 Reflection doesn't have access to declared parameter names (there's simply no such information stored in classfile). You must at least provide name attribute, others being optional.
| Required Element Summary | |
|---|---|
String |
name
Parameter name. |
| Optional Element Summary | |
|---|---|
String |
description
One-sentence description of the parameter. |
| Element Detail |
|---|
public abstract String name
public abstract String description
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||