diff --git a/core-common/src/main/java/org/mapstruct/MappingTarget.java b/core-common/src/main/java/org/mapstruct/MappingTarget.java index e7fe6f228..f99c79885 100644 --- a/core-common/src/main/java/org/mapstruct/MappingTarget.java +++ b/core-common/src/main/java/org/mapstruct/MappingTarget.java @@ -27,6 +27,8 @@ import java.lang.annotation.Target; * Declares a parameter of a mapping method to be the target of the mapping. *

* Not more than one parameter can be declared as {@code MappingTarget}. + *

+ * NOTE: The parameter passed as a mapping target must not be {@code null}. * * @author Andreas Gudian */