mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#748 Add note that the passed parameter to MappingTarget must not be null
This commit is contained in:
parent
d0bd0a2fdf
commit
2f4cf7c905
@ -27,6 +27,8 @@ import java.lang.annotation.Target;
|
||||
* Declares a parameter of a mapping method to be the target of the mapping.
|
||||
* <p>
|
||||
* Not more than one parameter can be declared as {@code MappingTarget}.
|
||||
* <p>
|
||||
* <b>NOTE:</b> The parameter passed as a mapping target <b>must</b> not be {@code null}.
|
||||
*
|
||||
* @author Andreas Gudian
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user