sjaakd
a5a82cf5f1
#700 Fixing enum constants and adding unit test.
2016-08-30 21:55:21 +02:00
sjaakd
70ba92b229
#389 Nested target properties
2016-07-20 22:00:21 +02:00
sjaakd
b1f03689d9
#669 rework into sourcepresencecheck SPI and nullvaluecheckstrategy
2016-07-05 22:50:10 +02:00
sjaakd
3700052cc6
#679 Adding testcases, helpermethods for decimalconversion, doc update
2016-06-15 23:34:48 +02:00
sjaakd
ae4d0f77e1
#749 Introduction of @ValueMapping, @ValueMappings
2016-03-15 21:19:55 +01:00
Gunnar Morling
4a74ee8f6c
#732 Properly copying enum sets
2016-02-02 21:51:36 +01:00
Gunnar Morling
34aceff5f8
#723 Updating year in license headers
2016-01-16 18:00:09 +01:00
Andreas Gudian
1ae3d07388
#701 Update checkstyle version and fix several previously undetected issues in our code (mostly missing whitespaces and redundant modifiers) and in the generated code (superflous whitespaces before commas)
...
Requrires update of guava and cdi-weld do to dependency convergence.
2016-01-02 17:50:09 +01:00
sjaakd
45db85a7be
#636 - refinement of solution java8 default and static interface methods
2015-09-14 09:06:22 +02:00
Ivo Smid
a15a67ff47
#636 - fix - default methods (Java 8) do not work anymore
2015-09-14 09:02:33 +02:00
Andreas Gudian
590363cf2f
#592 Fix Decorator-support for component model 'spring' and 'jsr330', extend decorator integration-tests, add examples to @DecoratedWith javadoc
2015-08-23 16:40:54 +02:00
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