Class MapMappingOptions
- java.lang.Object
-
- org.mapstruct.ap.internal.model.source.DelegatingOptions
-
- org.mapstruct.ap.internal.model.source.MapMappingOptions
-
public class MapMappingOptions extends DelegatingOptions
Represents a map mapping as configured via@MapMapping
.- Author:
- Gunnar Morling
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MapMappingOptions
fromGem(org.mapstruct.ap.internal.gem.MapMappingGem mapMapping, MapperOptions mapperOptions, ExecutableElement method, FormattingMessager messager, TypeUtils typeUtils)
FormattingParameters
getKeyFormattingParameters()
MappingControl
getKeyMappingControl(ElementUtils elementUtils)
SelectionParameters
getKeySelectionParameters()
AnnotationMirror
getMirror()
org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem
getNullValueMappingStrategy()
FormattingParameters
getValueFormattingParameters()
MappingControl
getValueMappingControl(ElementUtils elementUtils)
SelectionParameters
getValueSelectionParameters()
boolean
hasAnnotation()
-
Methods inherited from class org.mapstruct.ap.internal.model.source.DelegatingOptions
componentModel, getBuilder, getCollectionMappingStrategy, getInjectionStrategy, getMappingControl, getMappingInheritanceStrategy, getNullValueCheckStrategy, getNullValueIterableMappingStrategy, getNullValueMapMappingStrategy, getNullValuePropertyMappingStrategy, getSubclassExhaustiveStrategy, getUnexpectedValueMappingException, implementationName, implementationPackage, imports, isDisableSubMappingMethodsGeneration, suppressTimestampInGenerated, toDeclaredTypes, typeConversionPolicy, unmappedSourcePolicy, unmappedTargetPolicy, uses
-
-
-
-
Method Detail
-
fromGem
public static MapMappingOptions fromGem(org.mapstruct.ap.internal.gem.MapMappingGem mapMapping, MapperOptions mapperOptions, ExecutableElement method, FormattingMessager messager, TypeUtils typeUtils)
-
getKeyFormattingParameters
public FormattingParameters getKeyFormattingParameters()
-
getKeySelectionParameters
public SelectionParameters getKeySelectionParameters()
-
getValueFormattingParameters
public FormattingParameters getValueFormattingParameters()
-
getValueSelectionParameters
public SelectionParameters getValueSelectionParameters()
-
getMirror
public AnnotationMirror getMirror()
-
getNullValueMappingStrategy
public org.mapstruct.ap.internal.gem.NullValueMappingStrategyGem getNullValueMappingStrategy()
- Overrides:
getNullValueMappingStrategy
in classDelegatingOptions
-
getKeyMappingControl
public MappingControl getKeyMappingControl(ElementUtils elementUtils)
-
getValueMappingControl
public MappingControl getValueMappingControl(ElementUtils elementUtils)
-
hasAnnotation
public boolean hasAnnotation()
- Specified by:
hasAnnotation
in classDelegatingOptions
-
-