Annotation Type AdaptationParameter


  • @Retention(RUNTIME)
    @Target(PARAMETER)
    public @interface AdaptationParameter
    Used in conjunction with an 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, ...) {...}'
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value
      The name of the adaptation field.
    • Element Detail

      • value

        String value
        The name of the adaptation field. Must be specified.