979 Commits

Author SHA1 Message Date
sjaakd
af8e70d84c Javadoc cleanup 2017-02-17 22:46:16 +01:00
Filip Hrisafov
8d8d1c37f2 Use static instance instead of always initialising the empty MappingOptions 2017-02-17 22:46:16 +01:00
Filip Hrisafov
c751100272 #1011 extract the grouping of the nested target properties out of the MappingOptions into its own class 2017-02-13 23:48:22 +01:00
Filip Hrisafov
106214cb9f #1011 extract the generation of the nested target properties mappings into a separate class 2017-02-13 23:48:22 +01:00
Gunnar Morling
5564c53f41 #1056 Making sure indentation level in formatting writer never goes below 0 2017-02-12 00:27:02 +01:00
Filip Hrisafov
40fc5612cb #1060 Use update methods if there are multiple source parameters 2017-02-10 19:57:41 +01:00
Filip Hrisafov
56ea9dd168 #1050 Use the getNull method from the Type instead of the getDefaultValue 2017-02-05 18:49:43 +01:00
Filip Hrisafov
c9a313ac15 #1050 Extract a common MappingMethod for the normal (non-enum / non-value) mapping methods that are used within MapStruct 2017-02-05 18:49:43 +01:00
Filip Hrisafov
79acfff9c3 #1050 remove duplicate properties which are already defined in the parent 2017-02-05 18:49:43 +01:00
Filip Hrisafov
9c30727262 #1061 Support for generating Mappers in the default package 2017-02-05 08:56:36 +01:00
Andreas Gudian
32bf03642c #983, #975 rephrase documentation of AfterMapping/BeforeMapping and document @Context usage 2017-02-02 21:57:26 +01:00
Andreas Gudian
ac03999170 #975 Allow calling BeforeMapping/AfterMapping methods directly on @Context params 2017-02-02 21:57:26 +01:00
sjaakd
1406c0b6db #1011 Using ForgedMethods to forge nested target mappings 2017-02-01 10:07:44 +01:00
sjaakd
12fcf7ce87 #1047 removing unneeded NPE check for source parameter for update method 2017-02-01 10:07:44 +01:00
Filip Hrisafov
b3cbfb8206 #1001 remove ForgedMethod from MappingMethods and directly create MappingMethods instead 2017-02-01 09:48:11 +01:00
Gunnar Morling
6e545347d0 #1045 Supporting mappers with generated source/target types by deferring their generation to a later round 2017-01-31 22:03:31 +01:00
Gunnar Morling
5e59f3484c #510 Adding experimental SPI for letting AST-modifying annotation processors such as Lombok tell us about future modifications 2017-01-31 22:02:29 +01:00
Gunnar Morling
754877cece #510 Adding experimental SPI for letting AST-modifying annotation processors such as Lombok tell us about future modifications 2017-01-31 18:22:52 +01:00
navpil
ef1c95ad1b #1001 Change meaningless names in MultipleForgedMethodTest to Dictionaries and Words to make test data easier to understand 2017-01-25 10:51:56 +02:00
navpil
5088aa062b #1001 Change TestMultipleForgedMethodsTest as suggested 2017-01-24 12:23:13 +02:00
navpil
32738251e3 #1001 Dotted error messages 2017-01-17 12:25:21 +02:00
Filip Hrisafov
ba20dc5700 #1005 Report an error if the resulting type in the BeanMappingMethod is abstract 2017-01-12 23:00:53 +01:00
sjaakd
0188dcbdcc #1001 auto mapping support for update methods 2017-01-12 06:57:28 +01:00
Filip Hrisafov
5cb80cbb97 #1012 rename new abstract builder and mapping methods; improve Javadoc 2017-01-10 22:52:32 +01:00
Filip Hrisafov
029368494b #1012 extract common builder for the StreamMappingMethods and IterableMappingMethod 2017-01-10 22:51:51 +01:00
Filip Hrisafov
090cfe3db2 #1012 extract common class between IterableMappingMethod and StreamMappingMethod 2017-01-10 22:51:51 +01:00
sjaakd
1ee4731752 #1027 do not consider Inherit(Inverse)Configuration in used mappers 2017-01-08 20:18:27 +01:00
sjaakd
a69627de66 #1013 Inherit(Reverse)Configuration must only consider abstract methods 2017-01-08 19:19:01 +01:00
Andreas Gudian
283fd8ebda Merge branch '1.1-master' 2017-01-08 14:55:00 +01:00
Andreas Gudian
4063bd2eca #1029 Don't show an error when explicitly ignoring read-only properties 2017-01-08 14:38:06 +01:00
Filip Hrisafov
6b07dda829 #962 Add support for mapping Java 8 Streams 2017-01-06 09:49:16 +01:00
Andreas Gudian
48d7963cca Merge branch '1.1-master' 2017-01-05 22:04:29 +01:00
Andreas Gudian
00a4ea2cfb #1032 Update license headers to 2017, fixing missing files. 2017-01-05 21:58:58 +01:00
Gunnar Morling
24acda3980 #1032 Updating year in one more place 2017-01-05 21:56:58 +01:00
Andreas Gudian
22b28f58db Merge branch '1.1-master' 2017-01-05 21:11:10 +01:00
Andreas Gudian
b02f8e5df5 #1032 Update license headers to 2017 2017-01-05 18:55:26 +01:00
Filip Hrisafov
ec6913618e #1007 Add additional generated code tests 2017-01-04 09:32:02 +01:00
Filip Hrisafov
8654d8f45a #1007 add base for comparing generated code to a fixed baseline 2016-12-30 19:03:45 +01:00
Filip Hrisafov
a2bd4a021f #965 fix wrong reference to NullValueMappingStrategy 2016-12-28 09:43:39 +01:00
sjaakd
4d3aaf15ff #285 JAXB object factory method selection for forged lists 2016-12-27 23:00:15 +01:00
sjaakd
3b84ff797c #1009 avoid including non used createDecimalFormat helper method 2016-12-25 23:34:00 +01:00
Andreas Gudian
44fe197d3b #975 Introduce @Context annotation for passing context parameters through generated mapping methods to custom methods 2016-12-25 11:05:58 +01:00
Filip Hrisafov
00b8ae01a1 #1014 do not generate FQN for extends/super bound Types 2016-12-22 23:54:50 +01:00
sjaakd
78db48f7cb #941 adapting more logical names for local variables 2016-12-21 22:02:19 +01:00
sjaakd
2fdd392e19 #941 adapting strategy naming of safe variable names 2016-12-21 22:02:19 +01:00
sjaakd
d1388c3a45 #941 undesired too postfixes in local variable names 2016-12-21 22:02:19 +01:00
Filip Hrisafov
ea6493d983 #657 Using bean mapping result types works when the map return type is not an interface 2016-12-20 23:31:57 +01:00
sjaakd
1f0533ca94 #996 refactor ArrayCopyWrapper 2016-12-20 23:07:15 +01:00
Filip Hrisafov
fc0f13a7a1 #999 make sure that the qualifiedName of the class is trimmed before doing any comparisons for import check 2016-12-20 00:06:12 +01:00
Andreas Gudian
79f87e8833 #975 Refactor method-matching to unify selection and rendering of mapping method, factories and lifecycle methods 2016-12-19 22:36:12 +01:00