1211 Commits

Author SHA1 Message Date
Filip Hrisafov
84bf019fdf More detailed check for adder in builde 2018-05-03 21:51:37 +02:00
Filip Hrisafov
adde6826a6 #1449 Adders should not be considered as builder setter methods 2018-05-03 21:51:37 +02:00
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
8a24706026 Extract methods that use the AccessorNamingStrategy into class instance methods
This helps towards #1415, where we need to use strategy based on presence / absence of Immutables
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
sjaakd
d92b439a60 #1462 define constants as JLS literal types, enforce long L suffix 2018-04-29 09:12:49 +02:00
sjaakd
ffb720dc29 #1459 javadoc on constant assigment 2018-04-29 09:12:49 +02:00
Filip Hrisafov
5c799b73ef
#1452 support BeanMapping#ignoreByDefault for builders 2018-04-28 10:17:52 +02:00
Filip Hrisafov
cf19a6b637
#1423 Updating types that have a builder should be allowed
It is possible that a type has both a builder and accessors.
In such case doing an update to this type should be allowed
2018-04-28 09:09:44 +02:00
Filip Hrisafov
7e7fcfbb94
#1317 Add support for ignoring unmapped source properties
This property has only effect on the unmapped source properties report
2018-04-25 20:45:02 +02:00
sjaakd
35f5400e00 #1401 improvements by direct assigning constants 2018-04-25 20:25:11 +02:00
Filip Hrisafov
2fe7f6be2b
#1387 Improve error message when unknown source parameter is used in Mapping 2018-04-24 21:39:28 +02:00
Filip Hrisafov
4a05c8d5f1
#1433 Support for lifecycle methods for builders
When doing mappings with builder the effective type should be considered for lifecycle callback methods
2018-04-24 21:36:48 +02:00
Filip Hrisafov
47ffb04106 #1436 Add since tag to new API elements 2018-04-22 16:33:14 +02:00
Filip Hrisafov
2f44bab9c9
Add Christian to copyright.txt 2018-04-21 19:07:59 +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
sjaakd
4f5db83de7 #1392 add option to default ignoreAll mappings in a bean mapping method 2018-04-21 09:07:13 +02:00
Christian Bandowski
72bf87f409 Remove cloudbees CI links and add travis-ci to readme 2018-04-19 19:39:43 +02:00
Lauri Apple
f63903a822 Update readme.md 2018-04-17 20:29:40 +02:00
Lauri Apple
721e3efec2 Update readme.md 2018-04-17 20:29:40 +02:00
Lauri Apple
60f27dbafc Update readme.md 2018-04-17 20:29:40 +02:00
Filip Hrisafov
43a9419c33
#1417 Add documentation about the builder support 2018-04-15 10:31:45 +02:00
Filip Hrisafov
5834368b15
#1431 Factory method resolution should be done on the effective type
This allows using factories for builder types as well
2018-04-15 10:19:58 +02:00
Filip Hrisafov
050e893c51
Add David to copyright.txt 2018-04-15 09:35:33 +02:00
dvfeinblum
075d2c4113 #1383 Invalid @Mapping values should be reported on the @Mapping annotation 2018-04-15 08:33:00 +02:00
Filip Hrisafov
18fa0a5b1a #1414 Pass originating mapper element to the Filer API 2018-04-11 20:11:12 +02:00
Filip Hrisafov
beea141255 #1338 Always determine collection argument type when searching for adder
If the Collection type is not actually generic it has no type parameters.
However, it's type argument can be determined.
One such list exists in protobuf (ProtocolStringList)
2018-04-08 15:28:41 +02:00
Filip Hrisafov
42d7bfe54d #1359 Collection target should be considered as immutable if there is no read accessor 2018-04-08 15:27:08 +02:00
Filip Hrisafov
db6805f100 #1418 Add support for NoOp BuilderProvider for turning off using of builders 2018-04-08 11:30:38 +02:00
sjaakd
e368b34ea4 #1370 avoid errors when Joda is not on classpath 2018-04-07 12:24:43 +02:00
Filip Hrisafov
2d8af2960b
Add Eric to copyright.txt 2018-04-04 19:48:46 +02:00
sjaakd
3b9d5413f4 #782 Use more desriptive names in tests 2018-04-04 19:26:22 +02:00
sjaakd
768a739a09 #782 Add tests with nested flattening target 2018-04-04 19:26:22 +02:00
sjaakd
045532fa68 #782 Add tests with nested expanding target 2018-04-04 19:26:22 +02:00
sjaakd
998d6fc35f #782 Add tests with expressions and constants 2018-04-04 19:26:22 +02:00
sjaakd
6291631af7 #782 Adding negative test for @MappingTarget with immutable classes 2018-04-04 19:26:22 +02:00
Filip Hrisafov
73711cc683 #782 Rename Lombok Integration test classes 2018-04-04 19:26:22 +02:00
Filip Hrisafov
2b9fdac7f7 #782 Wording cleanup after PR review 2018-04-04 19:26:22 +02:00
Filip Hrisafov
ee439d84c5 #782 Add javadoc to the new spi elements 2018-04-04 19:26:22 +02:00
Filip Hrisafov
06a49090cc #782 Nested target properties should work for builders as well 2018-04-04 19:26:22 +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
45abe9e35b #782 Add BuilderInfo to SPI
The implementors of the SPI should return all the required information
2018-04-04 19:26:22 +02:00
Filip Hrisafov
d99a4cc217 #782 Add support for mapping immutable classes with builders 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