Package org.mapstruct.ap.internal.model.assignment
Meta-model of assignments. There are currently three types of assignment:
- Simple
- TypeConversion
- MethodReference
-
Class Summary Class Description AdderWrapper Wraps the assignment in a target setter.ArrayCopyWrapper Decorates the assignment as a Map or Collection constructorAssignmentWrapper Base class for decorators (wrappers).EnumConstantWrapper ExistingInstanceSetterWrapperForCollectionsAndMaps This wrapper handles the situation where an assignment is done for an update method.GetterWrapperForCollectionsAndMaps This wrapper handles the situation were an assignment must be done via a target getter method because there is no setter available.Java8FunctionWrapper Wraps the assignment in a Function to be used in Java 8 map methodsLocalVarWrapper Decorates an assignment as local variable.NewInstanceSetterWrapperForCollectionsAndMaps This wrapper handles the situation where an assignment is done via the setter, while creating the collection or map using a no-args constructor.ReturnWrapper Decorates an assignment as a return variable.SetterWrapper Wraps the assignment in a target setter.SetterWrapperForCollectionsAndMaps This wrapper handles the situation where an assignment is done via the setter, without doing anything special.SetterWrapperForCollectionsAndMapsWithNullCheck This wrapper handles the situation where an assignment is done via the setter and a null check is needed.StreamAdderWrapper Wraps the assignment in a target setter.UpdateWrapper Wraps the assignment in a target setter.WrapperForCollectionsAndMaps This is the base class for theGetterWrapperForCollectionsAndMaps
andSetterWrapperForCollectionsAndMaps