Christophe Labouisse
29f720b35e
#472 , #556 Make implementation package and name configurable
...
- Add `implementationName` & `implementationPackage` to `@Mapper` and
`@MapperConfig'
- Generate a file in `META-INF/services` when a custom name or package
has been configured
- `Mappers` use `ServiceLoader` first in order to get a mapper's
implementation before falling back to the former method
- Change the `MapperServiceProcess` behaviour to return `default` rather
than `null` when no component model is defined
2015-08-14 21:03:33 +02:00
Andreas Gudian
2a385c0ec8
#600 Improve generated assignment code when using default-values, enhance javadoc a little and remove unused attribute in PropertyMapping
2015-08-12 23:58:56 +02:00
luxmeter
964f676af6
#600 added defaultValue feature
2015-08-12 23:58:56 +02:00
Andreas Gudian
1d1b215a93
#596 Add null-check on source for update-method invocations and set target property to null, if source is null
2015-08-09 12:10:10 +02:00
Gunnar Morling
daaa99d143
#272 Allowing to inject decorated mapper in Spring without qualifier
2015-06-03 22:06:08 +02:00
sjaakd
174c53cb48
#487 iterable and map update method selection
2015-05-29 23:26:56 +02:00
Andreas Gudian
c8e9f91037
#203 Move .ftl files into subdirectories representing the package path
2015-05-29 20:14:52 +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
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
379460b70d
#513 , template improvement, adding space before throws keyword
2015-05-18 15:32:06 +02:00
sjaakd
b98644cfeb
#513 , source code naming consistence exceptionTypes == thrownTypes
2015-05-18 15:31:24 +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
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
8816b380c3
#534 fix array initializer for NullValueMappingStrategy.RETURN_DEFAULT
2015-04-10 11:22:46 +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
sjaakd
c69a56c138
#160 Using update method, basic behavior. Single mapping methods on non collection / array properties.
2015-03-04 22:58:42 +01:00
sjaakd
776bc3d157
#160 Refactoring into targetReadAccessor and targetWriteAccessor and making them available to ftl templates
2015-03-04 21:58: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
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
de18f2b1d3
#410 Small template improvement, removing empty lines between fields
2015-01-27 19:32:16 +01:00
Andreas Gudian
bd89a054e8
#424 Add Compiler implementation info to @Generated#comment
2015-01-25 21:02:45 +01:00
sjaakd
7d2932c9b5
#390 included maven coordinates as comments in generated code
2015-01-21 20:27:52 +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
Gunnar Morling
13f9a5027a
#213 Updating license header
2015-01-07 20:11:59 +01:00
sjaakd
668f66eb73
#405 Fixing factory methods, not using raw type for @TargetType and superfluous implementation classes imports
2015-01-06 21:14:25 +01:00
Andreas Gudian
640d9dd571
#400 fix nested property mappings with Eclipse JDT compiler, extend the integration test accordingly.
2015-01-06 19:29:33 +01:00
sjaakd
eb0de91bb1
#394 Fix for making ForgedMethod names unique when the param and returntype have similar simple names
2015-01-04 16:58:51 +01:00
Sebastian Hasait
883ccf92cd
Fixed #407 : primitive handling for nested properties works
2015-01-03 22:40:11 +01:00
Andreas Gudian
3e81651455
Minor formatting fixes of generated code
2014-12-28 21:13:09 +01:00
sjaakd
08cf60e46a
#108 Aligning Array and Itterable mapping. Added ArrayCopyWrapper.
2014-12-28 20:52:01 +01:00
sjaakd
9b8076eff3
#374 non-compilable code for @NullValueMapping.RETURN_DEFAULT in combination with @MappingTarget
2014-12-13 17:53:16 +01:00
sjaakd
c551a2d27d
#373 Flattening and simplifying generated forged method
2014-12-13 17:47:18 +01:00
sjaakd
1d9372a45b
#375 safe variable for parameter in forged methods
2014-12-08 20:04:13 +01:00
sjaakd
403995af9a
#361 returning mutable objects iso immutable objects when RETURN_DEFAULT
2014-11-26 23:01:20 +01:00
sjaakd
27ad78d524
#295 NullValueMapping for MapMapping on mapping method level
2014-11-24 21:13:05 +01:00
sjaakd
cf27f45f68
#295 Avoid using fully qualified names for local variables
2014-11-24 21:11:57 +01:00
sjaakd
94d8158bca
#295 NullValueMapping for IterableMapping on mapping method level
2014-11-24 21:11:14 +01:00
sjaakd
24dc73765f
#295 NullValueMapping for BeanMapping on mapping method level
2014-11-24 21:09:59 +01:00
sjaakd
7948acf630
#348 Mapping parameters based on name when other mappings fail
2014-11-23 22:00:07 +01:00
sjaakd
cda3ffc2f5
#65 support for nested properties
2014-11-04 21:13:19 +01:00
sjaakd
d42216ee4f
#302 refactoring of MappingCreationProcessor: using Builders to address smaller concerns
2014-10-11 11:16:37 +02:00
sjaakd
5cd90ae6cf
#307 fix non used imports in adder functionality
2014-10-04 11:27:34 +02:00
sjaakd
7472f5e946
#3 and #4 automatically generated iterable- and map-mappings
2014-08-16 20:06:20 +02:00
Andreas Gudian
6093f525ed
#121 adjust formatting of builtin methods
2014-07-29 10:56:56 +02:00
Timo E aus E
6cd96fcb6f
#121 support for converting java 8 dates and times to calendar and date
2014-07-29 10:45:54 +02:00