514 Commits

Author SHA1 Message Date
sjaakd
70ba92b229 #389 Nested target properties 2016-07-20 22:00:21 +02:00
Sjaak Derksen
80383dd122 #833 specializing missing prop message for non existing write accessor (#834) 2016-07-17 17:00:42 +02:00
sjaakd
23ebd273c8 #669 Documentation update for source presence checker and nullValueCheckStrategy 2016-07-06 23:11:04 +02:00
sjaakd
e725b9a2c6 #669 Making 'haxXYZ' the default presenceChecker 2016-07-06 20:43:36 +02:00
sjaakd
b1f03689d9 #669 rework into sourcepresencecheck SPI and nullvaluecheckstrategy 2016-07-05 22:50:10 +02:00
seanjob
1af4441d2d #669 ispresentcheck and NULL check implementation 2016-07-05 22:50:10 +02:00
Andreas Gudian
051177e409 #825 Add @WithServiceImplementation annotation in testutil to register SPI implementations in processor tests. 2016-07-05 20:51:24 +02:00
sjaakd
13dbc3cccf #212 reproducer 2016-06-23 22:48:41 +02:00
sjaakd
3700052cc6 #679 Adding testcases, helpermethods for decimalconversion, doc update 2016-06-15 23:34:48 +02:00
cliedeman
607d0fd6f0 Implemented Feature from Issue #679: Support of numberFormat for Number to String mapping 2016-06-07 22:16:04 +02:00
Andreas Gudian
b7450da585 #775 Fix mapping method type matching for lower-bounded target type. 2016-03-15 22:02:33 +01:00
Andreas Gudian
4c1d7a7a19 #775 Allow creation of forged mapping method for Iterable target type 2016-03-15 22:02:32 +01:00
sjaakd
ae4d0f77e1 #749 Introduction of @ValueMapping, @ValueMappings 2016-03-15 21:19:55 +01:00
Andreas Gudian
9b2145c6a8 #779 Allow to select only one compiler in a processor test class, but make the config-annotation deprecated to empasise that it's only to be used temporarily during debugging. 2016-03-13 20:49:59 +01:00
Andreas Gudian
c671692cd0 #770 Update retention-policy of custom qualifier annotations in docs and tests to CLASS. 2016-03-07 19:15:50 +01:00
Gunnar Morling
27aa40c0ec #768 Consistently using Type#getImportTypes() for determining imported types 2016-03-07 19:14:00 +01:00
sjaakd
c1341d4fe0 #750 Unit Test of @Named annotation 2016-02-16 21:10:31 +01:00
Andreas Gudian
be2bf249d9 Add ZonedDateTime/Calendar test cases to BuiltInTest, remove obsolete test and reconfigure the test class to avoid unnecessary re-compilations. 2016-02-13 22:25:39 +01:00
Gunnar Morling
9a4738950f #634 Adding test case for mapper with generic super type 2016-02-07 19:50:28 +01:00
Gunnar Morling
eeb36239c4 #634 Renaming test package 2016-02-07 19:50:28 +01:00
Gunnar Morling
8a28f12999 #634 Using DeclaredType instead of TypeElement when resolving property accessors of mapped bean types; That way accessor parameter/return types referring to type parameters of the bean will be resolved correctly 2016-02-07 19:50:27 +01:00
Gunnar Morling
4a74ee8f6c #732 Properly copying enum sets 2016-02-02 21:51:36 +01:00
Andreas Gudian
b09f32f926 #664 Add test to verify that jsr330 mappers are annotated with @Singleton and @Named. 2016-02-02 20:18:25 +01:00
Gunnar Morling
0a41360acf #729 Some clean-up 2016-02-02 19:31:10 +01:00
Gunnar Morling
79ececf83e #729 Adjusting license header 2016-02-02 19:19:00 +01:00
Oliver Ehrenmüller
4101ed86c9 #729 added unittest for mapping property of collection to primitive 2016-02-02 09:01:49 +01:00
Vincent Alexander Beelte
f84938f46e find information in XmlElementRef annotations to match it against XmlElementDecl to implement #726 2016-01-19 19:08:38 +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
Andreas Gudian
5831e824e1 Organize imports to put static imports back on top. 2015-12-18 23:08:56 +01:00
Andreas Gudian
c0b005429a #691 Create an integration test that compiles all test mappers from the processor module with JDK 6/7/8/9, Eclipse JDT on language levels 1.6/1.7/1.8. 2015-12-18 22:01:40 +01:00
Gunnar Morling
c59ef3ab7a #693 Renaming test entities in generics test for the sake of easier understanding 2015-12-18 21:31:31 +01:00
Andreas Gudian
7c2b4c9541 #698 Fix missing import for enums in case of default values. 2015-11-25 19:56:42 +01:00
Andreas Gudian
874a9b3a52 #644 Add more elaborate test case for inheritance with generics with multiple overlapping interfaces 2015-11-13 22:05:22 +01:00
Andreas Gudian
8a3d5418df #644 Workaround for problems with the Eclipse implementation of asMemberOf. Refactored SpecificCompilerWorkarounds to be primarily used through a decorated variant of Types that is now used throughout MapStruct. 2015-11-13 22:04:31 +01:00
Andreas Gudian
2291f2dedd #667 Fix execution of single test methods in some cases. 2015-11-09 22:54:48 +01:00
Andreas Gudian
58e7079ad5 #667 Add/Fix javadoc, clarify supported modes of concurrency. 2015-11-09 22:54:48 +01:00
Andreas Gudian
aba26328ba #667 Run all processor tests with both the JDK compiler and the Eclipse compiler.
All generated sources and compilation results are kept in a new directory structure, making manual inspection easier, and also simplifying parallel test-class execution.
2015-11-09 22:54:47 +01:00
Andreas Gudian
af9b54fa4f #684 Update joda-time to fix an incompatibility with JDK 1.8.0_60 and later, and reverted changes to JodaConversionTest from commit feb5e2f13b0eea3027000cc7f03d6b63690505c5. 2015-11-07 20:28:45 +01:00
Gunnar Morling
18c03a328d #681 Using UTC for Date/JavaLocalDate conversion in both directions 2015-11-06 19:19:34 +01:00
Andreas Gudian
1f091c35e2 #660 Fix custom package / implementation name when using componentModel="default" with abstract classes 2015-10-24 20:55:45 +02:00
Andreas Gudian
feb5e2f13b Fix test failing on Windows 10 with JDK 1.8.0_60 2015-10-22 20:17:41 +02:00
sjaakd
11a03e54ca #640 - applying Mapper or Mapperconfig NullValueMappingStrategy to forged methods 2015-09-22 23:08:37 +02:00
sjaakd
b816469537 #631 - adding error message for generic type variables as source / target / result 2015-09-14 21:38:32 +02:00
Andreas Gudian
bce6271f7a #625 Don't search for factory methods when generating update-methods. Rephrase error message for ambiguous factory methods. 2015-08-23 18:36:52 +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
Andreas Gudian
4eaacbcfe6 592 allow to use all test-scope dependencies in the on-the-fly compilation classpath 2015-08-23 16:38:28 +02:00
Andreas Gudian
71f4a4b2ca #626 Remove blank lines before closing brackets 2015-08-17 23:02:16 +02:00
Andreas Gudian
2c2f69b0d3 #626 Remove doubled blank lines on Windows 2015-08-17 22:10:44 +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