Uses of Interface
org.mapstruct.ap.internal.model.common.Assignment
Packages that use Assignment
Package
Description
Provides built-in conversions between primitive and wrapper types, strings, dates etc.
Meta-model of mapper types, their methods, mappings between properties etc.
Meta-model of assignments.
Contains types which are shared between the intermediary mapping method model ("source model") and the mapper model.
Contains all helper classes for the
MapperCreationProcessor-
Uses of Assignment in org.mapstruct.ap.internal.conversion
Methods in org.mapstruct.ap.internal.conversion that return AssignmentModifier and TypeMethodDescriptionConversionProvider.from(ConversionContext conversionContext) Creates the conversion from target to source of a property mapping.DateToStringConversion.from(ConversionContext conversionContext) OptionalWrapperConversionProvider.from(ConversionContext conversionContext) ReverseConversion.from(ConversionContext conversionContext) SimpleConversion.from(ConversionContext conversionContext) ConversionProvider.to(ConversionContext conversionContext) Creates the conversion from source to target of a property mapping.DateToStringConversion.to(ConversionContext conversionContext) OptionalWrapperConversionProvider.to(ConversionContext conversionContext) ReverseConversion.to(ConversionContext conversionContext) SimpleConversion.to(ConversionContext conversionContext) -
Uses of Assignment in org.mapstruct.ap.internal.model
Classes in org.mapstruct.ap.internal.model that implement AssignmentModifier and TypeClassDescriptionclassAn inline conversion from an optional source to it's value.classRepresents a reference to a method that is annotated with@BeforeMappingor@AfterMapping.classRepresents 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).classAn inline conversion from a source to an optional of the source.classAn inline conversion between source and target type of a mapping.Methods in org.mapstruct.ap.internal.model that return AssignmentModifier and TypeMethodDescriptionCollectionAssignmentBuilder.build()FromOptionalTypeConversion.getAssignment()MethodReference.getAssignment()PropertyMapping.getAssignment()ToOptionalTypeConversion.getAssignment()TypeConversion.getAssignment()PropertyMapping.getDefaultValueAssignment()ContainerMappingMethod.getElementAssignment()MapMappingMethod.getKeyAssignment()MappingBuilderContext.MappingResolver.getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, AnnotationMirror positionHint, Supplier<Assignment> forger) returns a parameter assignmentMapMappingMethod.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 AssignmentModifier and TypeMethodDescriptionCollectionAssignmentBuilder.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) voidFromOptionalTypeConversion.setAssignment(Assignment assignment) voidMethodReference.setAssignment(Assignment assignment) voidToOptionalTypeConversion.setAssignment(Assignment assignment) voidTypeConversion.setAssignment(Assignment assignment) Method parameters in org.mapstruct.ap.internal.model with type arguments of type AssignmentModifier and TypeMethodDescriptionMappingBuilderContext.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 AssignmentModifierConstructorDescriptionFromOptionalTypeConversion(Type optionalType, Assignment conversionAssignment) SubclassMapping(Type sourceType, String sourceArgument, Type targetType, Assignment assignment) ToOptionalTypeConversion(Type targetType, Assignment conversionAssignment) -
Uses of Assignment in org.mapstruct.ap.internal.model.assignment
Classes in org.mapstruct.ap.internal.model.assignment that implement AssignmentModifier and TypeClassDescriptionclassWraps the assignment in a target setter.classDecorates the assignment as a Map or Collection constructorclassBase class for decorators (wrappers).classDecorates the assignment as anEnumconstant access.classThis wrapper handles the situation where an assignment is done for an update method.classThis wrapper handles the situation were an assignment must be done via a target getter method because there is no setter available.classWraps the assignment in a Function to be used in Java 8 map methodsclassDecorates an assignment as local variable.classThis wrapper handles the situation where an assignment is done via the setter, while creating the collection or map using a no-args constructor.classDecorates the assignment as anOptional.get()call.classDecorates an assignment as a return variable.classWraps the assignment in a target setter.classThis wrapper handles the situation where an assignment is done via the setter, without doing anything special.classThis wrapper handles the situation where an assignment is done via the setter and a null check is needed.classWraps the assignment in a target setter.classWraps the assignment in a target setter.classThis is the base class for theGetterWrapperForCollectionsAndMapsandSetterWrapperForCollectionsAndMapsMethods in org.mapstruct.ap.internal.model.assignment that return AssignmentModifier and TypeMethodDescriptionAssignmentWrapper.getAssignment()UpdateWrapper.getFactoryMethod()Methods in org.mapstruct.ap.internal.model.assignment with parameters of type AssignmentConstructors in org.mapstruct.ap.internal.model.assignment with parameters of type AssignmentModifierConstructorDescriptionAdderWrapper(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) GetterWrapperForCollectionsAndMaps(Assignment decoratedAssignment, List<Type> thrownTypesToExclude, Type targetType, org.mapstruct.ap.internal.gem.NullValuePropertyMappingStrategyGem nvpms, 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) OptionalGetWrapper(Assignment decoratedAssignment, Type optionalType) 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 AssignmentMethods in org.mapstruct.ap.internal.model.common with parameters of type AssignmentModifier and TypeMethodDescriptionvoidAssignment.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 AssignmentModifier and TypeMethodDescriptionMappingResolverImpl.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 AssignmentModifier and TypeMethodDescriptionMappingResolverImpl.getTargetAssignment(Method mappingMethod, ForgedMethodHistory description, Type targetType, FormattingParameters formattingParameters, SelectionCriteria criteria, SourceRHS sourceRHS, AnnotationMirror positionHint, Supplier<Assignment> forger)