1610 Commits

Author SHA1 Message Date
Filip Hrisafov
ea958fd197 [maven-release-plugin] prepare for next development iteration 2023-04-23 22:02:16 +02:00
Filip Hrisafov
0f92764de9 [maven-release-plugin] prepare release 1.5.5.Final 1.5.5.Final 2023-04-23 22:02:15 +02:00
Johnny Lim
f1edbd25c2 Polish links in docs (#3214) 2023-04-22 19:25:38 +02:00
Filip Hrisafov
75fb02a19f #3248 BeanMapping#ignoreUnmappedSourceProperties should be inherited for @InheritConfiguration 2023-04-22 19:21:02 +02:00
Iaroslav Bogdanchikov
922258fea7 #2730 Add support for Jakarta XML Binding 2023-04-22 18:00:12 +02:00
Filip Hrisafov
b657209b12 #3236 Add missing jakarta-cdi to the documentation 2023-04-22 17:46:48 +02:00
Filip Hrisafov
85b2a18b3c #3112 Add missing brackets 2023-04-22 17:46:05 +02:00
Filip Hrisafov
7a0ed4e409 [maven-release-plugin] prepare for next development iteration 2023-04-22 17:42:16 +02:00
Filip Hrisafov
35228b3cb7 [maven-release-plugin] prepare release 1.5.4.Final 1.5.4.Final 2023-04-13 23:23:46 +02:00
Filip Hrisafov
998b3e96d7 #2950 Disable CDI in the full features tests on Java 8 2023-04-13 22:44:39 +02:00
Filip Hrisafov
b9c6256d3c #2950 Add support for Jakarta CDI 2023-04-13 22:44:39 +02:00
Filip Hrisafov
a5f57a77cf #3142 Nested forged methods should declare throws from lifecycle methods 2023-04-13 22:42:45 +02:00
Orange Add
257796b959 #3040: Allow using only BeanMapping#mappingControl 2023-04-13 22:33:38 +02:00
Filip Hrisafov
9794543946 #3135 BeanMapping#mappingControl should be inherited by forged methods 2023-04-13 22:32:59 +02:00
José Carlos Campanero Ortiz
53baf96126 #3112 Document <THROW_EXCEPTION> in the reference guide 2023-04-13 21:48:53 +02:00
Claudio Nave
a67e4e5f96 #3110 Fix throws declaration for ValueMapping annotated methods (#3122)
#3110 Fix throws declaration for ValueMapping annotated methods
2023-02-05 12:18:08 +01:00
Filip Hrisafov
50d96eb367 #3077 Add test case 2022-11-13 14:21:43 +01:00
Zegveld
429cc3f914 #3057: limit do not allow self to subclassmappings. (#3063)
* #3057: limit do not allow self to subclassmappings.
* #3057: determine method candidates after all other fields are set in the constructor.

Co-authored-by: Ben Zegveld <Ben.Zegveld@gmail.com>
Co-authored-by: Filip Hrisafov <filip.hrisafov@gmail.com>
2022-11-05 13:15:35 +01:00
Filip Hrisafov
60026437e4 [maven-release-plugin] prepare for next development iteration 2022-10-07 20:10:27 +02:00
Filip Hrisafov
c4e3320b98 [maven-release-plugin] prepare release 1.5.3.Final 1.5.3.Final 2022-10-07 20:10:26 +02:00
Filip Hrisafov
6f262ef405 #3036 Fix compile errors when intersection types are used in lifecycle methods 2022-10-03 21:15:43 +02:00
Zegveld
7cfac7c060 #2955 Fix @AfterMapping with return type not called for update mappings 2022-10-02 09:36:06 +02:00
Filip Hrisafov
9d2bed09ca #2743 BeanMappingOptions should not be inherited for forged methods 2022-09-29 22:11:04 +02:00
Zegveld
a98986c08e #3018: Use MappingControl with SubclassMapping 2022-09-29 21:36:39 +02:00
Filip Hrisafov
73f70b1564 #2840, #2913, #2921: MethodMatcher should not match widening methods
In the MethodMatcher we need to do a special check when the target type is primitive.
The reason for that is that a Long is assignable to a primitive double.
However, doing that means that information can be lost and thus we should not pick such methods.
When the target type is primitive, then a method will be matched if and only if boxed equivalent of the target type is assignable to the boxed equivalent of the candidate return type
2022-09-28 18:11:19 +02:00
Johnny Lim
b1eda5a04e Javadoc and documentation polishing (#3026) 2022-09-26 19:02:39 +02:00
Prasanth Omanakuttan
45e01fea91 Update Typos in java-doc
Closes #2989
2022-09-26 18:52:56 +02:00
Orange Add
473d581528 #2825 Fix SubclassMapping stackoverflow exception 2022-09-26 18:52:08 +02:00
Filip Hrisafov
290189652c #2990 Stabilise top level imports 2022-09-26 18:51:20 +02:00
Filip Hrisafov
51e67ebca4 #2925 Fix IllegalArgumentException when resolving generic parameters
When resolving the parameter for a method like:

```
<T> Optional<T> from(T value)
```

There was an exception in javac because getting a DeclaredType from an Optional
with a primitive type argument throws an exception.
Therefore, when assigning the type arguments we get the boxed equivalent.
This problem does not happen in the Eclipse compiler
2022-09-26 18:50:39 +02:00
Filip Hrisafov
1c3c46f1ef #2907 Add test case for nested import of array 2022-09-26 18:50:07 +02:00
Filip Hrisafov
383ed23ed2 #2945 Stabilise top level imports
Make sure that GeneratedType always gets the imported types
from a Type before adding them
2022-09-26 18:49:43 +02:00
Filip Hrisafov
d0e9d69be1 #2937 Fix conditional check for collections with adders 2022-09-26 18:48:54 +02:00
Filip Hrisafov
082b36a50a #2897 Always import types defined in Mapper#imports 2022-09-26 18:46:46 +02:00
Filip Hrisafov
febed7ea1c #2928 Add IntelliJ and Eclipse plugin information 2022-09-26 18:46:24 +02:00
Filip Hrisafov
3a94eb80b0 #2949 Do not inverse inherit BeanMapping#ignoreUnmappedSourceProperties 2022-09-26 18:45:54 +02:00
Filip Hrisafov
d9ad48154a #2974 Fix typos in documentation
Closes #2974
2022-09-26 18:45:29 +02:00
Hakan
e5c7fdb2f6 #2839 Keep thrown types when creating a new ForgedMethod with the same arguments
This fixes a compilation error when mapping fields with the same type due to not wrapping in a `try-catch` block
2022-09-26 18:45:03 +02:00
Prasanth Omanakuttan
e3f9a1ccd5 Update Typos in javadoc (#2958) 2022-09-26 18:43:53 +02:00
dependabot[bot]
62e73464b2 Bump kotlin-stdlib in /integrationtest/src/test/resources/kotlinDataTest
Bumps [kotlin-stdlib](https://github.com/JetBrains/kotlin) from 1.3.70 to 1.6.0.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.6.0/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.3.70...v1.6.0)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-24 17:55:38 +02:00
Cassius Vinicius de Magalhães
6914889510 Update Chapter 11.2 - Inverse Mappings
Clarification of the inverse mapping usage.
2022-07-14 21:30:16 +02:00
Filip Hrisafov
dd5ac3b637 #2929 Improve documentation for BeanMapping#ignoreByDefault 2022-07-09 21:35:36 +02:00
Iaroslav Bogdanchikov
4b43f9079d #2922 Fix protobuf tests for M1 Macs 2022-07-08 20:35:26 +02:00
fml2
a2b4454a66 fix(docs): No Lombok classes in the runtime 2022-07-01 17:47:55 +02:00
Filip Hrisafov
de8c0c7070 Use UTF-8 when compiling the tests
The test infrastructure that we are using should use UTF-8 for generating the StandardJavaFileManager
2022-06-29 08:37:50 +02:00
Ben Zegveld
88745d151e #2882: target type is now correctly passed on through the MethodReferencePresenceCheck to the MethodReference. 2022-06-18 23:32:26 +02:00
Filip Hrisafov
07d144ebd1 Update readme with latest released 1.5.2.Final release 2022-06-18 19:11:39 +02:00
Filip Hrisafov
1459aabfc3 [maven-release-plugin] prepare for next development iteration 2022-06-18 19:01:18 +02:00
Filip Hrisafov
19973ff818 [maven-release-plugin] prepare release 1.5.2.Final 1.5.2.Final 2022-06-18 19:01:16 +02:00
Sergei Portnov
406ae3fc13
#2891 Fix subclass mapping while superclass has non-empty constructor
Co-authored-by: Filip Hrisafov <filip.hrisafov@gmail.com>
2022-06-18 18:47:07 +02:00