#782 The builder type from lombok is not present during the annotation processing phase

This commit is contained in:
Filip Hrisafov 2018-02-04 12:18:30 +01:00
parent dbc7c8a84d
commit 70419f91b0

View File

@ -22,6 +22,12 @@ import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.mapstruct.factory.Mappers;
/**
* The Builder creation method is not present during the annotation processing of the mapper.
* Therefore we put the mapper into a separate class.
*
* @see <span>Lombok Issue <a href="https://github.com/rzwitserloot/lombok/issues/1538">#1538</a></span>
*/
@Mapper(unmappedTargetPolicy = ReportingPolicy.ERROR)
public interface PersonMapper {