201 Commits

Author SHA1 Message Date
Gunnar Morling
d7864e0566 #92 Making generated code more null-safe and avoiding unnecessary collection instantiation 2014-01-21 00:13:10 +01:00
Gunnar Morling
8dd505b63e #92 Formatting and minor clean-ups 2014-01-20 23:20:41 +01:00
sjaakd
6c2683a6f3 #92 The getter methods and setter methods contain pure getters and setters. A new method has been created to offer an alternative target accessors for Collection properties when setter is not available. The lists for this are kept separate. 2014-01-20 22:37:31 +01:00
sjaakd
e5cfb07af5 issue 92 solution for list getter without setter 2014-01-20 22:37:31 +01:00
Gunnar Morling
3e34b6f6eb #94 Adding another test 2014-01-20 00:09:13 +01:00
Gunnar Morling
77e6890b00 #94 Formatting, renaming test 2014-01-19 23:56:35 +01:00
sjaakd
e82277e0fc #94 Allowing to map the same source property to several target properties 2014-01-19 23:45:39 +01:00
Andreas Gudian
cd058663f4 #90 extend DefaultCollectionImplementationTest to cover all collection and map types declared in the test mapper 2014-01-12 21:49:09 +01:00
Andreas Gudian
fc0a4570b7 #89 create test for correct instanciation of referenced mappers with default component model 2014-01-12 21:07:11 +01:00
Gunnar Morling
3c8f969573 #86 Updating license header 2014-01-12 19:48:08 +01:00
Gunnar Morling
644702eed9 Using portable CheckStyle check for a new line at the end of files 2014-01-10 22:31:32 +01:00
Gunnar Morling
217562d52b #34 Accessing annotation in a safer way 2014-01-09 21:45:01 +01:00
Gunnar Morling
a7be616ee9 #34 Fixing some typos; Removing Type#isAnnotatedMapper() in favor of the more generic isAnnotatedWith() method; Formatting 2014-01-08 22:26:51 +01:00
Andreas Gudian
aa3fa638b9 #34 Find best matching property mapping methods
#82 fix using Mappers factory to instanciate used mappers annotated with @Mapper
2014-01-07 22:55:46 +01:00
Gunnar Morling
f9bfc4572e #87 Supporting iterable mapping methods where the target element type is the same as or a super-type of the source element type; Raising an error if iterable or map mapping methods can't be generated 2014-01-06 00:00:23 +01:00
Gunnar Morling
22da3becab #79 Adding Sjaak to copyright.txt file 2014-01-05 20:08:16 +01:00
Gunnar Morling
e325862448 #79 Formatting 2014-01-05 20:08:15 +01:00
Gunnar Morling
623acb6f10 #79 Some typo fixes, simplifications and comment improvements 2014-01-05 20:08:15 +01:00
sjaak
3bdc67f9ba Issue #79 Fixing @withClasses per test case 2014-01-05 20:08:15 +01:00
sjaak
094b9c3e9e Issue #79 Fixing small error in ArrayType 2014-01-05 20:08:07 +01:00
sjaak
560855004b Issue #79 Fixing suggestions 2014-01-05 20:08:01 +01:00
sjaak
b249c2ced1 Issue #79 Adding generics solution for custom mappers 2014-01-05 20:07:55 +01:00
Gunnar Morling
260a685f65 Merging test classes specified via @WithClasses on method and class level 2014-01-05 00:27:39 +01:00
Gunnar Morling
8426b1af34 Making processor a bit more robust against source files missing in compilation 2014-01-04 18:14:06 +01:00
Gunnar Morling
4f3ef4f66c Minor comment improvements 2014-01-03 21:35:08 +01:00
Andreas Gudian
7d9b42cf35 #82 Use Mappers factory to instanciate used mappers annotated with @Mapper 2014-01-03 20:43:31 +01:00
Andreas Gudian
1c64a704d9 Update to surefire 2.16 2013-12-02 22:19:54 +01:00
Andreas Gudian
dddfdf1a70 Fix compile problem with jdk 6 2013-12-02 22:19:25 +01:00
Gunnar Morling
d38a72c534 #74 Adding support for generating methods from abstract classes 2013-11-30 23:05:01 +01:00
Gunnar Morling
8be25e70e5 Adding .checkstyle to .gitignore 2013-11-30 21:57:49 +01:00
Gunnar Morling
79fe4673d4 Some doc improvements 2013-11-26 00:26:13 +01:00
Gunnar Morling
d2bec5b354 [maven-release-plugin] prepare for next development iteration 2013-11-25 20:11:55 +01:00
Gunnar Morling
987bf57d35 [maven-release-plugin] prepare release 1.0.0.Alpha2 1.0.0.Alpha2 2013-11-25 20:11:43 +01:00
Gunnar Morling
4d46ff3ff3 Excluding some more files from license header check 2013-11-25 19:14:58 +01:00
Andreas Gudian
39f2166046 #69 Only take public getters/setters into consideration 2013-11-03 13:36:53 +01:00
Gunnar Morling
4c32abbeb5 #64 Avoiding superfluous imports 2013-08-18 00:31:06 +02:00
Gunnar Morling
3e8ba36774 #64 Removing superfluous indentations from templates; Each template can start with an indentation of 0 as it will be correctly indented automatically later on 2013-08-18 00:30:46 +02:00
Gunnar Morling
4a0141fb4b #64 Adding simple Writer which correctly indents generated code 2013-08-18 00:12:29 +02:00
Gunnar Morling
b8f7c50a03 #64 Removing redundant empty lines 2013-08-17 12:38:08 +02:00
Gunnar Morling
ae8e4f4b81 #21 Adding conversions for BigDecimal 2013-08-16 20:38:24 +02:00
Gunnar Morling
2e6098eab5 Getting rid of uncovered plug-in execution in M2E 2013-08-16 19:27:55 +02:00
Gunnar Morling
c2a7853e4c #52 Moving Mappers class to package org.mapstruct.factory 2013-08-16 19:11:46 +02:00
Gunnar Morling
c093e09c82 #29 Adding package-level JavaDocs, adding some overal architecture documentation to MappingProcessor 2013-08-16 00:57:38 +02:00
Gunnar Morling
be3018b614 #61 Raising an error in case a collection/map attribute can't be propagated due to differently parameterized attributes in source and target 2013-08-15 23:53:52 +02:00
Gunnar Morling
186c127ebd #61 Instantiating collections/maps also if implementation type is used as target type 2013-08-15 23:53:52 +02:00
Gunnar Morling
1e280f83c9 #61 Making sure attributes can be mapped if target attribute is of a super-type 2013-08-15 23:53:52 +02:00
Gunnar Morling
4f44cea112 #61 Making sure type parameters are correctly specified when instantiating collection types 2013-08-15 23:53:52 +02:00
Gunnar Morling
e82dd009f0 #61 Adding test for map mapping 2013-08-15 23:53:52 +02:00
Gunnar Morling
88011a91a3 #61 Simplifying template a bit 2013-08-15 23:53:51 +02:00
Gunnar Morling
01c487d342 #61 Moving method for assignment check to Type 2013-08-15 23:53:51 +02:00