Package org.mapstruct.ap.internal.model
Class StreamMappingMethod
java.lang.Object
org.mapstruct.ap.internal.writer.FreeMarkerWritable
org.mapstruct.ap.internal.model.common.ModelElement
org.mapstruct.ap.internal.model.GeneratedTypeMethod
org.mapstruct.ap.internal.model.MappingMethod
org.mapstruct.ap.internal.model.NormalTypeMappingMethod
org.mapstruct.ap.internal.model.ContainerMappingMethod
org.mapstruct.ap.internal.model.StreamMappingMethod
- All Implemented Interfaces:
Writable
A
MappingMethod implemented by a Mapper class which maps one iterable or array type to Stream.
The collection elements are mapped either by a TypeConversion or another mapping method.- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.mapstruct.ap.internal.writer.Writable
Writable.Context -
Method Summary
Modifier and TypeMethodDescriptionReturns a set containing thoseTypes referenced by this model element for which an import statement needs to be declared.Methods inherited from class org.mapstruct.ap.internal.model.ContainerMappingMethod
equals, getElementAssignment, getIndex1Name, getIndex2Name, getIterableCreation, getLoopVariableName, getSourceParameter, getSourceParameterPresenceCheck, hashCodeMethods inherited from class org.mapstruct.ap.internal.model.NormalTypeMappingMethod
getAnnotations, getFactoryMethod, isMapNullToDefaultMethods inherited from class org.mapstruct.ap.internal.model.MappingMethod
filterMappingTarget, getAccessibility, getAfterMappingReferences, getBeforeMappingReferencesWithMappingTarget, getBeforeMappingReferencesWithoutMappingTarget, getName, getParameterNames, getParameters, getResultName, getResultType, getReturnType, getSourceParameters, getThrownTypes, isExistingInstanceMapping, isStatic, toStringMethods inherited from class org.mapstruct.ap.internal.writer.FreeMarkerWritable
getTemplateName, getTemplateNameForClass, write
-
Method Details
-
getImportTypes
Description copied from class:ModelElementReturns a set containing thoseTypes referenced by this model element for which an import statement needs to be declared.- Overrides:
getImportTypesin classContainerMappingMethod- Returns:
- A set with type referenced by this model element. Must not be
null.
-
getSourceElementType
-
getResultElementType
- Specified by:
getResultElementTypein classContainerMappingMethod
-