119 Commits

Author SHA1 Message Date
Filip Hrisafov
7306c52529 #1415 Use Immutables AccesorNamingStrategy and BuilderProvider when immutables are present
This allows out of the box support for Immutables by picking the right default strategy when immutables are present
2018-05-01 18:26:34 +02:00
Filip Hrisafov
720854913a Disable running the annotation processing in the module defining it 2018-05-01 18:26:34 +02:00
Christian Bandowski
5540efc482 #1425 Added findType to VirtualMappingMethod and use it in all builtin templates
Together with the includeModel directive this will ensure that the type will be written to the file as a FQN if required, otherwise as a simple name.
2018-04-21 18:59:29 +02:00
Filip Hrisafov
43a9419c33
#1417 Add documentation about the builder support 2018-04-15 10:31:45 +02:00
Filip Hrisafov
c3f0099698 #782 Do not use JDT for the Lombok integration tests
Lombok uses internals of the Java and Eclipse compilers.
In order for it to work with the Eclipse compiler, we need to add some extra jar.
Therefore, we are only testing Lombok with the Java compiler
2018-04-04 19:26:22 +02:00
Filip Hrisafov
22c337a947 #782 Add custom SPI implementations for Immutables in the integration tests 2018-04-04 19:26:22 +02:00
Filip Hrisafov
252af70bae Add new processor suite that ignores the maven procesor plugin
The maven-processor-plugin does not take classpath dependencies during the processing
2018-04-04 19:26:22 +02:00
Filip Hrisafov
70419f91b0 #782 The builder type from lombok is not present during the annotation processing phase 2018-04-04 19:26:22 +02:00
Filip Hrisafov
dbc7c8a84d #782 Add integration tests for builders with FreeBuilder 2018-04-04 19:26:22 +02:00
Filip Hrisafov
45ab6e1c52 #782 Add integration tests for builders with AutoValue 2018-04-04 19:26:22 +02:00
Filip Hrisafov
bf8f037a19 #782 Add integration tests for builders with immutables 2018-04-04 19:26:22 +02:00
Eric Martineau
3d45d072e7 #782 Add tests for builders 2018-04-04 19:26:22 +02:00
sjaakd
4d8bc29347 #1255 Extension of autoInheritanceStrategy, removing of name based ignore reverse mapping 2017-08-23 22:54:10 +02:00
Cornelius
b5b0c04313 #1170 Fix wildcards in collection adder mappings 2017-06-29 00:01:49 +02:00
sjaakd
12f1cc0777 #1121 TypeMirror should not be used as hashCode base for Type 2017-03-08 22:17:20 +01:00
Gunnar Morling
6e545347d0 #1045 Supporting mappers with generated source/target types by deferring their generation to a later round 2017-01-31 22:03:31 +01:00
Andreas Gudian
48d7963cca Merge branch '1.1-master' 2017-01-05 22:04:29 +01:00
Andreas Gudian
b02f8e5df5 #1032 Update license headers to 2017 2017-01-05 18:55:26 +01:00
Andreas Gudian
050c398da6 #966 Avoid missing newlines between methods and multiple newlines (generally) by adding a checkstyle rule, fixing current incarnations. 2016-12-01 21:52:58 +01:00
sjaakd
9996fc66ab #878 disable AcessorNamingStrategy#getCollectionGetterName from SPI 2016-09-05 21:28:14 +02:00
Filip Hrisafov
cf88cf9e92 #860 switch to using assertj instead of FEST assertions 2016-08-27 13:10:42 +02:00
sjaakd
70ba92b229 #389 Nested target properties 2016-07-20 22:00:21 +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
Sam Wright
5ede0e91db #664 Annotate mapper implementations with @Singleton when using jsr330. 2016-02-02 19:52:24 +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
8b35c63e9a #693 Typo fix 2015-12-18 21:31:31 +01:00
Gunnar Morling
55b74ae384 #710 Deferring processing of mappers with incomplete source/target types to a later processing round 2015-12-17 23:53:20 +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
82ab85d3bc #642 Simplify handling of toolchains file by autodetecting which JDKs are configured there. 2015-10-22 20:18:27 +02:00
sjaakd
18532ace8c #636 - adapt integration test for default and static interface methods (Java8) to eclipse compiler problem 2015-09-14 09:09:26 +02: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
Ivo Smid
60caf959e3 603 - Java 8 - Cant use static method on interface with decorators. 2015-08-12 12:58:21 +02:00
Gunnar Morling
daaa99d143 #272 Allowing to inject decorated mapper in Spring without qualifier 2015-06-03 22:06:08 +02:00
Gunnar Morling
2ad77b5aa0 #272 Adding line breaks at end of files 2015-06-03 22:03:16 +02:00
sonata82
b37a1d24d9 #272 Basic decorator implementation for CDI and Spring 2015-06-03 22:03:16 +02:00
Andreas Gudian
2fd8e0a775 #365 Moving integration test to integration-test module (kept using only Java 8 for now) 2015-05-27 21:21:56 +02:00
Christian Schuster
9f7fb11552 #365 include mapstruct-spi in mapstruct-processor 2015-05-27 21:21:54 +02:00
Christian Schuster
59c791034c #365 make accessor naming configurable 2015-05-27 21:21:54 +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
762113aa60 #431 add JDK 9 to integration tests and remove processor_plugin_java_7 tests (they did exactly the same as the _java_8 variant, for what we are concerned).
Use -DprocessorIntegrationTest.canUseJdk9=false in case no JDK9 is configured in the toolchains.xml file
2015-02-08 11:10:53 +01:00
Gunnar Morling
13f9a5027a #213 Updating license header 2015-01-07 20:11:59 +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
Andreas Gudian
24984cb5be #398 allow autoboxing for primitive return types of property mapping methods to non-primitive properties 2014-12-30 19:18:28 +01:00
Christian Schuster
677952c2fe #381 fix baseDir for JSR 330 integration test, add missing dependency 2014-12-13 17:57:59 +01:00