Package | Description |
---|---|
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.writer |
Infrastructure for dealing with the FreeMarker template engine.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotatedConstructor
Represents a constructor that is used for constructor injection.
|
class |
Annotation
Represents a Java 5 annotation.
|
class |
AnnotationMapperReference
Mapper reference which is retrieved via Annotation-based dependency injection.
|
class |
BeanMappingMethod
A
MappingMethod implemented by a Mapper class which maps one bean type to another, optionally
configured by one or more PropertyMapping s. |
class |
ContainerMappingMethod
A
MappingMethod implemented by a Mapper class which does mapping of generic types. |
class |
Decorator
Represents a decorator applied to a generated mapper type.
|
class |
DecoratorConstructor
Represents the constructor of a decorator.
|
class |
DefaultMapperReference
Mapper reference which is retrieved via the
Mappers#getMapper() method. |
class |
DelegatingMethod
A method of a decorator which delegates to the corresponding method of the generated mapper implementation.
|
class |
Field
A field of a mapper type, e.g. a reference to another mapper.
|
class |
GeneratedType
A type generated by MapStruct, e.g. representing a mapper type.
|
class |
IterableCreation
|
class |
IterableMappingMethod
A
MappingMethod implemented by a Mapper class which maps one iterable type to another. |
class |
LifecycleCallbackMethodReference
Represents a reference to a method that is annotated with
@BeforeMapping or @AfterMapping . |
class |
MapMappingMethod
|
class |
Mapper
Represents a type implementing a mapper interface (annotated with
@Mapper ). |
class |
MapperReference
A reference to another mapper class, which itself may be generated or hand-written.
|
class |
MappingMethod
A method implemented or referenced by a
Mapper class. |
class |
MethodReference
Represents 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 the
new operator). |
class |
NestedPropertyMappingMethod
This method is used to convert the nested properties as listed in propertyEntries into a method
that creates a mapping from the start of this list to the end of the list.
|
class |
NoArgumentConstructor
Represents a constructor that is used for constructor injection.
|
class |
NormalTypeMappingMethod
A
MappingMethod that is used by the main mapping methods (BeanMappingMethod ,
MapMappingMethod , IterableMappingMethod and StreamMappingMethod (non-enum / non-value
mapping) |
class |
PropertyMapping
Represents the mapping between a source and target property, e.g. from
String Source#foo to
int Target#bar . |
class |
ServicesEntry |
class |
StreamMappingMethod
A
MappingMethod implemented by a Mapper class which maps one iterable or array type to Stream. |
class |
SupportingConstructorFragment
A mapper instance field, initialized as null
|
class |
SupportingField
supports the
|
class |
SupportingMappingMethod
A mapping method which is not based on an actual method declared in the original mapper interface but is added as
private method to map a certain source/target type combination.
|
class |
TypeConversion
An inline conversion between source and target type of a mapping.
|
class |
ValueMappingMethod
A
ValueMappingMethod which maps one value type to another, optionally configured by one or more
ValueMappingOptions s. |
Modifier and Type | Class and Description |
---|---|
class |
AdderWrapper
Wraps the assignment in a target setter.
|
class |
ArrayCopyWrapper
Decorates the assignment as a Map or Collection constructor
|
class |
AssignmentWrapper
Base class for decorators (wrappers).
|
class |
EnumConstantWrapper |
class |
ExistingInstanceSetterWrapperForCollectionsAndMaps
This wrapper handles the situation where an assignment is done for an update method.
|
class |
GetterWrapperForCollectionsAndMaps
This wrapper handles the situation were an assignment must be done via a target getter method because there
is no setter available.
|
class |
Java8FunctionWrapper
Wraps the assignment in a Function to be used in Java 8 map methods
|
class |
LocalVarWrapper
Decorates an assignment as local variable.
|
class |
SetterWrapper
Wraps the assignment in a target setter.
|
class |
SetterWrapperForCollectionsAndMaps
This wrapper handles the situation where an assignment is done via the setter, without doing anything special.
|
class |
SetterWrapperForCollectionsAndMapsWithNullCheck
This wrapper handles the situation where an assignment is done via the setter and a null check is needed.
|
class |
StreamAdderWrapper
Wraps the assignment in a target setter.
|
class |
UpdateWrapper
Wraps the assignment in a target setter.
|
class |
WrapperForCollectionsAndMaps
This is the base class for the
GetterWrapperForCollectionsAndMaps and
SetterWrapperForCollectionsAndMaps |
Modifier and Type | Class and Description |
---|---|
class |
ModelElement
Base class of all model elements.
|
class |
Parameter
A parameter of a mapping method.
|
class |
SourceRHS
SourceRHS Assignment.
|
class |
Type
Represents (a reference to) the type of a bean property, parameter etc.
|
Modifier and Type | Class and Description |
---|---|
class |
FreeMarkerWritable
A
Writable which uses the FreeMarker template engine to generate the output. |
Modifier and Type | Method and Description |
---|---|
void |
ModelWriter.writeModel(FileObject sourceFile,
Writable model) |
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.