606 Commits

Author SHA1 Message Date
VGT
64dd46c354 #581 Prevent multiple imports of similar simple class name from different packages. 2015-07-02 22:44:42 +02:00
Andreas Gudian
2d686003c8 #576 Fix assignability check for @MappingTarget parameters in BeforeMapping/AfterMapping methods 2015-06-28 11:44:39 +02:00
Andreas Gudian
264a8f65af #574 determine property type from getter/setter methods only in combination with ExecutableType (i.e. using asMemberOf to determine the type with any generics being resolved) 2015-06-28 11:29:45 +02:00
VGT
b4bce14d6a #577 Improve type parameters equality check. 2015-06-26 20:43:20 +02:00
sjaakd
174c53cb48 #487 iterable and map update method selection 2015-05-29 23:26:56 +02:00
Andreas Gudian
1baf8edc0a #548 Move all packages except of "spi" under "org.mapstruct.ap.internal" 2015-05-29 20:08:57 +02:00
Andreas Gudian
619f8023d5 #14 Allow EnumMappings to be extended with @BeforeMapping/@AfterMapping methods 2015-05-28 18:20:45 +02:00
Andreas Gudian
68fc3af645 #14 Consider qualifiers when selecting @BeforeMapping/@AfterMapping methods 2015-05-28 18:20:31 +02:00
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