diff --git a/core-common/src/main/java/org/mapstruct/NullValueMappingStrategy.java b/core-common/src/main/java/org/mapstruct/NullValueMappingStrategy.java index 6fbd1e83e..f2edf2cdd 100644 --- a/core-common/src/main/java/org/mapstruct/NullValueMappingStrategy.java +++ b/core-common/src/main/java/org/mapstruct/NullValueMappingStrategy.java @@ -49,8 +49,8 @@ public enum NullValueMappingStrategy { * When given via {@link Mapper#nullValueMappingStrategy()}, causes the setting specified via * {@link MapperConfig#nullValueMappingStrategy()} to be applied, if present. *
- * When given via {@link NullValueMapping#value()}, causes the setting specified via - * {@link Mapper#nullValueMappingStrategy() ()} to be applied, if present. + * When given on specific mapping methods (e.g. via @ BeanMapping#nullValueMappingStrategy()}), causes the setting + * specified via {@link Mapper#nullValueMappingStrategy() ()} to be applied, if present. *
* Otherwise causes {@link #RETURN_NULL} to be applied.
*/
diff --git a/processor/src/main/java/org/mapstruct/ap/model/common/Type.java b/processor/src/main/java/org/mapstruct/ap/model/common/Type.java
index 5bb9da615..98602ef46 100644
--- a/processor/src/main/java/org/mapstruct/ap/model/common/Type.java
+++ b/processor/src/main/java/org/mapstruct/ap/model/common/Type.java
@@ -26,6 +26,7 @@ import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
+
import javax.lang.model.element.AnnotationMirror;
import javax.lang.model.element.Element;
import javax.lang.model.element.ElementKind;
@@ -38,8 +39,8 @@ import javax.lang.model.type.TypeKind;
import javax.lang.model.type.TypeMirror;
import javax.lang.model.util.Elements;
import javax.lang.model.util.Types;
-import org.mapstruct.ap.prism.CollectionMappingStrategyPrism;
+import org.mapstruct.ap.prism.CollectionMappingStrategyPrism;
import org.mapstruct.ap.util.Executables;
import org.mapstruct.ap.util.Filters;
import org.mapstruct.ap.util.Nouns;
@@ -334,14 +335,14 @@ public class Type extends ModelElement implements Comparable
+ *
*
*
- *
- * A method can either be configured by itself or by another method for the inverse mapping direction (one of
- * {@link #setMappings(Map)}, {@link #setIterableMapping(IterableMapping)} or {@link #setMapMapping(MapMapping)} will be
- * called in this case).
+ * A method can either be configured by itself or by another method for the inverse mapping direction (the appropriate
+ * setter on {@link MappingOptions} will be called in this case).
*
* @author Gunnar Morling
*/
diff --git a/processor/src/main/java/org/mapstruct/ap/model/source/SourceReference.java b/processor/src/main/java/org/mapstruct/ap/model/source/SourceReference.java
index 2b1e91845..db163524b 100644
--- a/processor/src/main/java/org/mapstruct/ap/model/source/SourceReference.java
+++ b/processor/src/main/java/org/mapstruct/ap/model/source/SourceReference.java
@@ -292,8 +292,6 @@ public class SourceReference {
/**
* Creates a copy of this reference, which is adapted to the given method
- *
- * @param the method to adapt the copy to
*/
public SourceReference copyForInheritanceTo(SourceMethod method) {
List
* Prefers (when present):
*
- *
* When not present, the remaining (createCandidates when mapping method is update method, updateCandidates when mapping
* method is a create method) candidates are selected.
- *
- * Suppose: Sedan -> Car -> Vehicle, MotorCycle -> Vehicle - * By means of this selector one can pinpoint the exact desired return type (Sedan, Car, MotorCycle, Vehicle) + * Suppose: Sedan -> Car -> Vehicle, MotorCycle -> Vehicle By means of this selector one can pinpoint the exact + * desired return type (Sedan, Car, MotorCycle, Vehicle) * * @author Sjaak Derksen */