348 Commits

Author SHA1 Message Date
Andreas Gudian
ac8320b0a3 #14 Add support for @AfterMapping / @BeforeMapping methods, adapt MethodMatcher to allow multiple source arguments again 2015-05-28 18:15:04 +02:00
sjaakd
3be68b233e #512 more descriptive error message for forged collection and map mappings 2015-05-26 23:50:58 +02:00
sjaakd
b4c514d479 #513, forged method should re-throw exceptions of used mapping methods 2015-05-18 15:14:01 +02:00
Andreas Gudian
4a2f0c01ec #544 run some checkstyle rules on sources generated by our tests 2015-05-17 23:16:14 +02:00
sjaakd
124c2a4001 #515, introduction of string definition handling in IndentationCorrectingWriter 2015-05-12 23:16:45 +02:00
sjaakd
2ece25a086 #527 selection and forging of iterable - and map mapping methods with wildcards, extends for source, super for target 2015-05-08 22:21:23 +02:00
Andreas Gudian
edac1b17cc #538 Add missing imports for a collection/map implementation and the parameter types 2015-05-04 15:13:18 +02:00
Andreas Gudian
8816b380c3 #534 fix array initializer for NullValueMappingStrategy.RETURN_DEFAULT 2015-04-10 11:22:46 +02:00
sjaakd
229537284a #320 fixing JodaTime unit test 2015-04-06 14:44:34 +02:00
sjaakd
bacf835c0d #516 Add NP check on adder property mapping including reproducer 2015-04-04 11:43:51 +02:00
Andreas Gudian
a431581da8 #523 fix type of assignment in GetterWrapperForCollectionsAndMaps 2015-03-30 20:50:38 +02:00
Andreas Gudian
bcb722e2e9 #291 add test to verify that the simple case (target type with type arguments) already works, clean-up unnecessary "raw" definitions in templates 2015-03-28 10:48:27 +01:00
Andreas Gudian
fb6c4dbfbd #517 make order of target properties in generated code and in messages stable 2015-03-26 20:39:45 +01:00
sjaakd
c69a56c138 #160 Using update method, basic behavior. Single mapping methods on non collection / array properties. 2015-03-04 22:58:42 +01:00
Gunnar Morling
bcf28c1cc1 #470 Adding import in case decorator is in another package than mapper interface 2015-03-04 14:22:19 +01:00
Gunnar Morling
b02d206de6 #304 Addressing review remarks 2015-03-04 00:34:08 +01:00
Gunnar Morling
21b89ea5e2 #304 Detecting unknown properties given via dependsOn() 2015-03-04 00:33:35 +01:00
Gunnar Morling
a332533dda #304 Raising an error in case a cycle is specified via dependsOn() 2015-03-04 00:33:35 +01:00
Gunnar Morling
2d7ab089ff #304 Allowing to configure dependencies between properties via @Mapping#dependsOn() 2015-03-04 00:32:33 +01:00
sjaakd
a381396839 #289 adding extra null check before add/putAll of a target collection when having a getter only targetaccessor 2015-03-02 09:54:14 +01:00
sjaakd
1827d1125a #474 remove @NullValueMapping in favour of @Bean/@Map/@IterableMapping 2015-02-26 20:15:19 +01:00
Gunnar Morling
bbeaa2117c #168 Formatting 2015-02-24 23:46:18 +01:00
Andreas Gudian
952ee8526d #168 Allow to inherit mapping method configurations from the @MapperConfig-annotated type, either automatically when all method types match, or explicitly using @InheritConfiguration. 2015-02-24 14:24:24 +01:00
Gunnar Morling
a7d56e5122 #465 Adding import for Locale to Joda generated mappers if required 2015-02-21 18:55:29 +01:00
sjaakd
fe10248416 #459 error message parameter forgotten 2015-02-19 22:25:45 +01:00
sjaakd
83ace655e1 #449 Handle XmlGregoriancalendar from String with empty date format as xml datatype 2015-02-06 22:52:33 +01:00
sjaakd
55a50448be #141 removal of ListOfJaxbElemToListOfValue builtin method 2015-02-06 20:33:42 +01:00
sjaakd
4e10c8451c #194 Only generate field / imports for a referenced mapper if it is actually used 2015-02-06 20:18:14 +01:00
sjaakd
b83c430758 #339 Uppercase for ENUM in messages, moving Diagnostic.Kind to Message 2015-02-04 21:46:10 +01:00
sjaakd
d61ca26652 #339 introduce centralized enum for messages 2015-02-03 00:11:45 +01:00
Gunnar Morling
31d2151b7b #412 Adding test for inner class of inner class 2015-02-01 17:33:41 +01:00
Ewald Volkert
2ebfd04fe9 #209, #412 Adding support for mapping static inner classes and enums by adding import declarations for static inner types also if declared in the same package 2015-02-01 17:33:38 +01:00
sjaakd
f778d6c5ad #434 construct resultType based on @BeanMaping#resultType when no factory method selected 2015-01-31 08:32:41 +01:00
sjaakd
897c8fbb6d #433 introduce resultType in @IterableMapping and @MapMapping 2015-01-31 08:00:01 +01:00
sjaakd
adcc89b184 #433 introduce resultType in @Mapping 2015-01-27 19:48:12 +01:00
sjaakd
de18f2b1d3 #410 Small template improvement, removing empty lines between fields 2015-01-27 19:32:16 +01:00
sjaakd
6ba04920ef #432 Selection of factory method based on Qualifier 2015-01-25 22:26:10 +01:00
Andreas Gudian
bd89a054e8 #424 Add Compiler implementation info to @Generated#comment 2015-01-25 21:02:45 +01:00
Andreas Gudian
8a449e12fd #427 Allow to specify more than one processor option for one test 2015-01-25 21:02:45 +01:00
sjaakd
08ac33e3b1 #419 moving responsibility of target accessor determination to Type 2015-01-24 10:01:01 +01:00
sjaakd
4e771244ad #385 Introduction of BeanMapping annotation and target type selection, reorder of selectors 2015-01-21 20:40:39 +01:00
sjaakd
65c272286f #385 Refactoring, factory methods should use selectors, preparing selector api for more criteria 2015-01-21 20:40:39 +01:00
sjaakd
aa0e658f58 #410 do not instantiate a field (referenced mapper) when not used, e.g. only static referenced 2015-01-21 20:01:00 +01:00
sjaakd
d2796d7bf6 #410 use static custom mapper method instead of instance method call 2015-01-21 20:01:00 +01:00
sjaakd
151f24d306 #417 Making dateFormat in @IterableMapping optional, adding checks for @IterableMapping and @MapMapping 2015-01-20 21:39:06 +01:00
Andreas Gudian
9eec8ad6c9 #415 Rename packages that are named "target" to avoid them being ignored by the license plugin, add missing license header to some files 2015-01-07 21:57:59 +01:00
Gunnar Morling
13f9a5027a #213 Updating license header 2015-01-07 20:11:59 +01:00
Andreas Gudian
38181d4ff9 Fix error message for subsequent tests that fail with compile errors 2015-01-06 21:35:20 +01:00
Andreas Gudian
8e8bec933a #338 fix test that previously succeeded only because of a leak in the test classloader 2015-01-06 21:35:19 +01:00
Andreas Gudian
6201e6d61d #338 update to JUnit 4.12 and fix classloader leaks among the tests. 2015-01-06 21:35:19 +01:00