962 Commits

Author SHA1 Message Date
Andreas Gudian
daedc88425 [maven-release-plugin] prepare release 1.2.0.Beta2 1.2.0.Beta2 2017-03-16 20:33:19 +01:00
navpil
fc8ded0dec #1103 Fix issue with recursive mapping throwing a StackOverflow 2017-03-16 20:00:05 +01:00
Filip Hrisafov
9881a8803c #1104 use unmapped target policy for forged name based mappings 2017-03-15 22:04:58 +01:00
sjaakd
e154452d53 #1126 Add new CollectionMappingStrategy TARGET_IMMUTABLE 2017-03-14 21:36:36 +01:00
Andreas Gudian
cab7596a47 #1130 Consider the right target type for object factory methods 2017-03-13 22:11:34 +01:00
Filip Hrisafov
57bf93bb84 #1092 Add github id next to contributers 2017-03-13 20:34:22 +01:00
Andreas Gudian
f7b6d91d5e #1124 Don't pass context parameters to forged methods for nested property mapping methods 2017-03-12 16:03:09 +01:00
Filip Hrisafov
d4c6250944 #1102 Add support for Auto forging of Enum properties 2017-03-12 15:34:46 +01:00
sjaakd
12f1cc0777 #1121 TypeMirror should not be used as hashCode base for Type 2017-03-08 22:17:20 +01:00
Gunnar Morling
86d05f64d2 #1119 removing superfluous method override 2017-03-02 21:30:18 +01:00
sjaakd
8fab3dd4e5 #1111 local variabele should not clash with loop variable 2017-03-02 20:16:41 +01:00
Filip Hrisafov
880ae56652 #1109 Add import for @Qualifier in the documentation 2017-03-01 22:15:52 +01:00
sjaakd
58992b8edf #1105 cleaning up MethodReference freemarker template 2017-02-26 11:39:14 +01:00
Gunnar Morling
8353f53ab9 #1101 Fixing confusing method name in test mapper 2017-02-26 10:02:49 +01:00
sjaakd
fa20d03051 #1065 @InheritReverseConfiguration from MappingConfig 2017-02-23 22:08:09 +01:00
Gunnar Morling
13c3d878d8 Updating link to ref guide 2017-02-22 20:31:19 +01:00
Filip Hrisafov
7d56a85dbd Fix checkstyle error 2017-02-21 21:48:30 +01:00
Filip Hrisafov
f654da2563 #1059 Add ftlvariable to the ftl files so we can have autocomplete with IntelliJ 2017-02-21 21:36:01 +01:00
Filip Hrisafov
0f6d5ff0f8 Fix checkstyle error 2017-02-21 21:35:04 +01:00
Filip Hrisafov
10aeb444f5 #1091 Map ANY_REMAINING Enum source to null 2017-02-21 20:43:19 +01:00
Andreas Gudian
3cc8972126 [maven-release-plugin] prepare for next development iteration 2017-02-20 20:58:14 +01:00
Andreas Gudian
520451bcd8 [maven-release-plugin] prepare release 1.2.0.Beta1 1.2.0.Beta1 2017-02-20 20:58:12 +01:00
Sjaak Derksen
582bbe4412 #1057 documentation for Controlling forged name based bean mapping from root level with @Mapping 2017-02-20 19:21:15 +01:00
Filip Hrisafov
51e5976a7f #1001 Update documentation for the new automapping 2017-02-20 19:19:42 +01:00
Filip Hrisafov
d4b0f3324b #1057 Add some explanatory comments / Javadoc 2017-02-20 00:19:31 +01:00
Filip Hrisafov
3192345e33 #1057 Add source fixtures for tests 2017-02-20 00:19:31 +01:00
Filip Hrisafov
665f2571b6 #1057 Add forged named based parameter to distinguish between our methods that MapStruct has to create and methods that we create for the internal framework 2017-02-20 00:19:31 +01:00
Filip Hrisafov
f0646c6287 #1057 Add full support for controlling name based mapping from root level with @Mapping 2017-02-20 00:19:31 +01:00
Filip Hrisafov
378961fc53 #1057 Add ReportingPolicy to the BeanMapping
Use ReportingPolicy for explicitly ignoring unmapped target properties in
forged methods.
2017-02-20 00:19:31 +01:00
sjaakd
6f51cf4a8a #1057 Towards controlling name based mapping from root @Mapping 2017-02-20 00:19:31 +01:00
sjaakd
bdbee40dcf #1057 Add reproducer tests 2017-02-20 00:19:31 +01:00
Filip Hrisafov
8dbcc43a8e #1082 Do not generate an empty line after method start for NestedPropertyMappingMethod 2017-02-19 16:13:00 +01:00
Filip Hrisafov
9899504db9 #1073 Change NestedPropertyMappingMethod to not use name in its equality, but to use the Safe Properties 2017-02-19 11:50:52 +01:00
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