Annotation Type AdaptationConstructor
-
@Retention(RUNTIME) @Target({CONSTRUCTOR,METHOD}) public @interface AdaptationConstructor
Marks the static method or constructor for creating an object of the annotated class, taking the adaptation fields as its parameter list. Example: '@AdaptationConstructor public SomeDataType(@AdaptationParameter("address") String address, ...) {...}' Each parameter of the method must provide anAdaptationParameter
annotation.