@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface AdaptationParameter
AdaptationConstructor
annotation, to mark a single parameter
of the constructor or method with the name of the corresponding adaptation field.
Example: '@AdaptationConstructor public SomeDataType(@AdaptationParameter("address") String address, ...) {...}'Modifier and Type | Required Element and Description |
---|---|
java.lang.String |
value
The name of the adaptation field.
|