From 70419f91b0725fee1b2d5e009eb29e13b2a4824d Mon Sep 17 00:00:00 2001 From: Filip Hrisafov Date: Sun, 4 Feb 2018 12:18:30 +0100 Subject: [PATCH] #782 The builder type from lombok is not present during the annotation processing phase --- .../java/org/mapstruct/itest/lombok/PersonMapper.java | 6 ++++++ 1 file changed, 6 insertions(+) rename integrationtest/src/test/resources/lombokBuilderTest/src/{main => test}/java/org/mapstruct/itest/lombok/PersonMapper.java (81%) diff --git a/integrationtest/src/test/resources/lombokBuilderTest/src/main/java/org/mapstruct/itest/lombok/PersonMapper.java b/integrationtest/src/test/resources/lombokBuilderTest/src/test/java/org/mapstruct/itest/lombok/PersonMapper.java similarity index 81% rename from integrationtest/src/test/resources/lombokBuilderTest/src/main/java/org/mapstruct/itest/lombok/PersonMapper.java rename to integrationtest/src/test/resources/lombokBuilderTest/src/test/java/org/mapstruct/itest/lombok/PersonMapper.java index d2b766fb9..120396af0 100644 --- a/integrationtest/src/test/resources/lombokBuilderTest/src/main/java/org/mapstruct/itest/lombok/PersonMapper.java +++ b/integrationtest/src/test/resources/lombokBuilderTest/src/test/java/org/mapstruct/itest/lombok/PersonMapper.java @@ -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 Lombok Issue #1538 + */ @Mapper(unmappedTargetPolicy = ReportingPolicy.ERROR) public interface PersonMapper {