Skip to content

Commit

Permalink
mapstruct#1742 documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaakd committed May 24, 2019
1 parent c3e8d4e commit 64bd2c7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,11 @@ In case of a `MoreThanOneBuilderCreationMethodException` MapStruct will write a
If such type is found then MapStruct will use that type to perform the mapping to (i.e. it will look for setters into that type).
To finish the mapping MapStruct generates code that will invoke the build method of the builder.

[NOTE]
======
Builder detection can be switched off by means of `@Builder#disableBuilder`. MapStruct will fall back on regular getters / setters in case builders are disabled.
======

[NOTE]
======
The <<object-factories>> are also considered for the builder type.
Expand Down

0 comments on commit 64bd2c7

Please sign in to comment.