@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface Name
Do note that this annotation is optional. If not present, the parameter name included in the compiled bytecode will be used instead.
Usually these names are not very user-friendly (arg0, arg1, etc.), but the compiler can be instructed to preserve parameter names using the `-parameters` flag.
If the ArgumentProvider for the parameter provides a default name,
that name will be used instead of the bytecode name.
| Modifier and Type | Required Element and Description |
|---|---|
@NotNull java.lang.String |
value
The name to set for the parameter.
|