navpil
5dd0097cc9
#122 Suggest property name in error message when referring to a non-existent property
2017-05-20 08:38:00 +02:00
Filip Hrisafov
7cf77f4c26
#1154 Add SPI for excluding types/elements from automatic sub-mapping generation
...
Default implementation of SPI ignores types in the java/javax packages
2017-05-17 22:34:23 +02:00
Filip Hrisafov
459354b6b8
#1153 Do not use invalid TargetReferences when creating nested target mappings
...
* Move the error generation for the invalid TargetReference into the BuilderFromTargetMapping
* TargetReference will strip the first entry name in the following cases only if the first entry name matches the MappingTarget parameter, or for reverse mappings it matches the source parameter name
* Pass the reverse source parameter when initializing a reverse mapping
2017-05-06 23:26:51 +02:00
Filip Hrisafov
15133d5a0f
#777 Set initial capacity for new collection / map element in collection / map mappings
2017-05-06 15:04:42 +02:00
Filip Hrisafov
763deaa917
#1164 Split the SetterWrapperForCollections into multiple models:
...
* SetterWrapperForCollectionsAndMaps - Does a simple assignment without doing any null checks
* SetterWrapperForCollectionsAndMapsWithNullCheck - Does an assignment that does a null check before assignment and takes direct assignment into consideration
* ExistingInstanceSetterWrapperForCollectionsAndMaps - Used for wrapping an assignment when the method is an update method
Additionally don't do local var assignment if there are presence checkers
2017-04-25 22:41:51 +02:00
Filip Hrisafov
267c2e98f9
#993 Add support for disabling the generation of forged mapping methods
2017-04-20 23:37:16 +02:00
Filip Hrisafov
bbff0c0349
#1164 Make sure that all import types of a Type are imported for the collection and map wrappers
2017-03-31 21:41:08 +02:00
Filip Hrisafov
fdf37cf451
#725 Flag the Annotation element with the wrong dateFormat
2017-03-30 19:18:57 +02:00
Filip Hrisafov
c465dd27c6
#1155 Field accessors should be considered when resolving nested target properties
2017-03-25 08:44:21 +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
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
8fab3dd4e5
#1111 local variabele should not clash with loop variable
2017-03-02 20:16:41 +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
Filip Hrisafov
7d56a85dbd
Fix checkstyle error
2017-02-21 21:48:30 +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
Filip Hrisafov
3192345e33
#1057 Add source fixtures for tests
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
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
9c30727262
#1061 Support for generating Mappers in the default package
2017-02-05 08:56:36 +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
Filip Hrisafov
b3cbfb8206
#1001 remove ForgedMethod from MappingMethods and directly create MappingMethods instead
2017-02-01 09:48:11 +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
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
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
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