Expected behavior
We may have getters with complex logic within, so we would want that getter to be computed only once but it can be computed twice, one for checking the nullability and other time for assigning the value. We may want to store the getter value in a variable, check for nullability and then assign the value.
Actual behavior
No response
Steps to reproduce the problem
NA
MapStruct Version
1.6.3
Expected behavior
We may have getters with complex logic within, so we would want that getter to be computed only once but it can be computed twice, one for checking the nullability and other time for assigning the value. We may want to store the getter value in a variable, check for nullability and then assign the value.
Actual behavior
No response
Steps to reproduce the problem
NA
MapStruct Version
1.6.3