Uses of Interface
org.mapstruct.ap.internal.model.common.Assignment
-
Packages that use Assignment Package Description org.mapstruct.ap.internal.conversion Provides built-in conversions between primitive and wrapper types, strings, dates etc.org.mapstruct.ap.internal.model Meta-model of mapper types, their methods, mappings between properties etc.org.mapstruct.ap.internal.model.assignment Meta-model of assignments.org.mapstruct.ap.internal.model.common Contains types which are shared between the intermediary mapping method model ("source model") and the mapper model.org.mapstruct.ap.internal.processor.creation Contains all helper classes for theMapperCreationProcessor -
-
Uses of Assignment in org.mapstruct.ap.internal.conversion
Methods in org.mapstruct.ap.internal.conversion that return Assignment Modifier and Type Method Description AssignmentConversionProvider. from(ConversionContext conversionContext)Creates the conversion from target to source of a property mapping.AssignmentDateToStringConversion. from(ConversionContext conversionContext)AssignmentReverseConversion. from(ConversionContext conversionContext)AssignmentSimpleConversion. from(ConversionContext conversionContext)AssignmentConversionProvider. to(ConversionContext conversionContext)Creates the conversion from source to target of a property mapping.AssignmentDateToStringConversion. to(ConversionContext conversionContext)AssignmentReverseConversion. to(ConversionContext conversionContext)AssignmentSimpleConversion. to(ConversionContext conversionContext) -
Uses of Assignment in org.mapstruct.ap.internal.model
Classes in org.mapstruct.ap.internal.model that implement Assignment Modifier and Type Class Description classLifecycleCallbackMethodReferenceRepresents a reference to a method that is annotated with@BeforeMappingor@AfterMapping.classMethodReferenceRepresents a reference to another method, e.g. used to map a bean property from source to target type or to instantiate the return value of a mapping method (rather than calling thenewoperator).classTypeConversionAn inline conversion between source and target type of a mapping.Methods in org.mapstruct.ap.internal.model that return Assignment Modifier and Type Method Description AssignmentCollectionAssignmentBuilder. build()AssignmentMethodReference. getAssignment()AssignmentPropertyMapping. getAssignment()AssignmentTypeConversion. getAssignment()AssignmentPropertyMapping. getDefaultValueAssignment()AssignmentContainerMappingMethod. getElementAssignment()AssignmentMapMappingMethod. getKeyAssignment()AssignmentMappingBuilderContext.MappingResolver. getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, AnnotationMirror positionHint, Supplier<Assignment> forger)returns a parameter assignmentAssignmentMapMappingMethod. getValueAssignment()protected abstract AssignmentContainerMappingMethodBuilder. getWrapper(Assignment assignment, Method method)protected AssignmentIterableMappingMethod.Builder. getWrapper(Assignment assignment, Method method)protected AssignmentStreamMappingMethod.Builder. getWrapper(Assignment assignment, Method method)Methods in org.mapstruct.ap.internal.model with parameters of type Assignment Modifier and Type Method Description CollectionAssignmentBuilderCollectionAssignmentBuilder. assignment(Assignment assignment)protected abstract AssignmentContainerMappingMethodBuilder. getWrapper(Assignment assignment, Method method)protected AssignmentIterableMappingMethod.Builder. getWrapper(Assignment assignment, Method method)protected AssignmentStreamMappingMethod.Builder. getWrapper(Assignment assignment, Method method)protected abstract MContainerMappingMethodBuilder. instantiateMappingMethod(Method method, Collection<String> existingVariables, Assignment assignment, MethodReference factoryMethod, boolean mapNullToDefault, String loopVariableName, List<LifecycleCallbackMethodReference> beforeMappingMethods, List<LifecycleCallbackMethodReference> afterMappingMethods, SelectionParameters selectionParameters)protected IterableMappingMethodIterableMappingMethod.Builder. instantiateMappingMethod(Method method, Collection<String> existingVariables, Assignment assignment, MethodReference factoryMethod, boolean mapNullToDefault, String loopVariableName, List<LifecycleCallbackMethodReference> beforeMappingMethods, List<LifecycleCallbackMethodReference> afterMappingMethods, SelectionParameters selectionParameters)protected StreamMappingMethodStreamMappingMethod.Builder. instantiateMappingMethod(Method method, Collection<String> existingVariables, Assignment assignment, MethodReference factoryMethod, boolean mapNullToDefault, String loopVariableName, List<LifecycleCallbackMethodReference> beforeMappingMethods, List<LifecycleCallbackMethodReference> afterMappingMethods, SelectionParameters selectionParameters)voidMethodReference. setAssignment(Assignment assignment)voidTypeConversion. setAssignment(Assignment assignment)Method parameters in org.mapstruct.ap.internal.model with type arguments of type Assignment Modifier and Type Method Description AssignmentMappingBuilderContext.MappingResolver. getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, AnnotationMirror positionHint, Supplier<Assignment> forger)returns a parameter assignmentConstructors in org.mapstruct.ap.internal.model with parameters of type Assignment Constructor Description SubclassMapping(Type sourceType, String sourceArgument, Type targetType, Assignment assignment) -
Uses of Assignment in org.mapstruct.ap.internal.model.assignment
Classes in org.mapstruct.ap.internal.model.assignment that implement Assignment Modifier and Type Class Description classAdderWrapperWraps the assignment in a target setter.classArrayCopyWrapperDecorates the assignment as a Map or Collection constructorclassAssignmentWrapperBase class for decorators (wrappers).classEnumConstantWrapperclassExistingInstanceSetterWrapperForCollectionsAndMapsThis wrapper handles the situation where an assignment is done for an update method.classGetterWrapperForCollectionsAndMapsThis wrapper handles the situation were an assignment must be done via a target getter method because there is no setter available.classJava8FunctionWrapperWraps the assignment in a Function to be used in Java 8 map methodsclassLocalVarWrapperDecorates an assignment as local variable.classNewInstanceSetterWrapperForCollectionsAndMapsThis wrapper handles the situation where an assignment is done via the setter, while creating the collection or map using a no-args constructor.classReturnWrapperDecorates an assignment as a return variable.classSetterWrapperWraps the assignment in a target setter.classSetterWrapperForCollectionsAndMapsThis wrapper handles the situation where an assignment is done via the setter, without doing anything special.classSetterWrapperForCollectionsAndMapsWithNullCheckThis wrapper handles the situation where an assignment is done via the setter and a null check is needed.classStreamAdderWrapperWraps the assignment in a target setter.classUpdateWrapperWraps the assignment in a target setter.classWrapperForCollectionsAndMapsThis is the base class for theGetterWrapperForCollectionsAndMapsandSetterWrapperForCollectionsAndMapsMethods in org.mapstruct.ap.internal.model.assignment that return Assignment Modifier and Type Method Description AssignmentAssignmentWrapper. getAssignment()AssignmentUpdateWrapper. getFactoryMethod()Methods in org.mapstruct.ap.internal.model.assignment with parameters of type Assignment Modifier and Type Method Description voidAssignmentWrapper. setAssignment(Assignment assignment)Constructors in org.mapstruct.ap.internal.model.assignment with parameters of type Assignment Constructor Description AdderWrapper(Assignment rhs, List<Type> thrownTypesToExclude, boolean fieldAssignment, String adderIteratorName)ArrayCopyWrapper(Assignment rhs, String targetPropertyName, Type arraysType, Type targetType, boolean fieldAssignment, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)AssignmentWrapper(Assignment decoratedAssignment, boolean fieldAssignment)EnumConstantWrapper(Assignment decoratedAssignment, Type enumType)ExistingInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, org.mapstruct.ap.internal.gem.NullValueCheckStrategyGem nvcs, org.mapstruct.ap.internal.gem.NullValuePropertyMappingStrategyGem nvpms, TypeFactory typeFactory, boolean fieldAssignment)GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)Java8FunctionWrapper(Assignment decoratedAssignment)Java8FunctionWrapper(Assignment decoratedAssignment, Type functionType)LocalVarWrapper(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)NewInstanceSetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment)ReturnWrapper(Assignment decoratedAssignment)SetterWrapper(Assignment rhs, List<Type> thrownTypesToExclude, boolean fieldAssignment)SetterWrapper(Assignment rhs, List<Type> thrownTypesToExclude, boolean fieldAssignment, boolean includeSourceNullCheck, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)SetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment)SetterWrapperForCollectionsAndMapsWithNullCheck(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, TypeFactory typeFactory, boolean fieldAssignment)StreamAdderWrapper(Assignment rhs, List<Type> thrownTypesToExclude, boolean fieldAssignment, String targetPropertyName)UpdateWrapper(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Assignment factoryMethod, boolean fieldAssignment, Type targetType, boolean includeSourceNullCheck, boolean setExplicitlyToNull, boolean setExplicitlyToDefault)WrapperForCollectionsAndMaps(Assignment rhs, List<Type> thrownTypesToExclude, Type targetType, boolean fieldAssignment) -
Uses of Assignment in org.mapstruct.ap.internal.model.common
Classes in org.mapstruct.ap.internal.model.common that implement Assignment Modifier and Type Class Description classSourceRHSSourceRHS Assignment.Methods in org.mapstruct.ap.internal.model.common with parameters of type Assignment Modifier and Type Method Description voidAssignment. setAssignment(Assignment assignment)An assignment in itself can wrap another assignment.voidSourceRHS. setAssignment(Assignment assignment) -
Uses of Assignment in org.mapstruct.ap.internal.processor.creation
Methods in org.mapstruct.ap.internal.processor.creation that return Assignment Modifier and Type Method Description AssignmentMappingResolverImpl. getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, AnnotationMirror positionHint, Supplier<Assignment> forger)Method parameters in org.mapstruct.ap.internal.processor.creation with type arguments of type Assignment Modifier and Type Method Description AssignmentMappingResolverImpl. getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, AnnotationMirror positionHint, Supplier<Assignment> forger)
-