Annotation Type Name
-
@Retention(RUNTIME) @Documented @Target(PARAMETER) public @interface Name
This annotation is used to describe variables in method signatures so that when rendered into tools like JConsole it is clear what the parameters are. For example: public void doodle(@Name(value="doodle", description="A description of the argument") String doodle)
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
the name of the parameter
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
description
the description of the parameter
-