Annotation Interface ExternalConversion


@Target(TYPE) @Retention(SOURCE) public @interface ExternalConversion
Allows the specification of a conversion that is available via the ConversionService, but is not declared as a MapStruct mapper within the scope of the SpringMapperConfig.
  • Element Details

    • sourceType

      Class<?> sourceType
    • targetType

      Class<?> targetType
    • adapterMethodName

      String adapterMethodName
      Default:
      ""