Skip to content

Commit 70419f9

Browse files
committed
mapstruct#782 The builder type from lombok is not present during the annotation processing phase
1 parent dbc7c8a commit 70419f9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • integrationtest/src/test/resources/lombokBuilderTest/src/test/java/org/mapstruct/itest/lombok

integrationtest/src/test/resources/lombokBuilderTest/src/main/java/org/mapstruct/itest/lombok/PersonMapper.java renamed to integrationtest/src/test/resources/lombokBuilderTest/src/test/java/org/mapstruct/itest/lombok/PersonMapper.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@
2222
import org.mapstruct.ReportingPolicy;
2323
import org.mapstruct.factory.Mappers;
2424

25+
/**
26+
* The Builder creation method is not present during the annotation processing of the mapper.
27+
* Therefore we put the mapper into a separate class.
28+
*
29+
* @see <span>Lombok Issue <a href="https://github.com/rzwitserloot/lombok/issues/1538">#1538</a></span>
30+
*/
2531
@Mapper(unmappedTargetPolicy = ReportingPolicy.ERROR)
2632
public interface PersonMapper {
2733

0 commit comments

Comments
 (0)