@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface Data
This allows you to customize argument provider behavior on a per-parameter basis without creating separate provider classes.
For type-safe metadata, consider creating a custom annotation marked with
@Forwarded instead.
| Modifier and Type | Required Element and Description |
|---|---|
@NotNull java.lang.String[] |
value
The data to pass to the argument provider.
|