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 |
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 |
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 |
EnumMappingMethod
A
MappingMethod which maps one enum type to another, optionally configured by one or more
EnumMapping s. |
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 |
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 |
LocalVariable
Local variable used in a mapping method.
|
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 |
NestedLocalVariableAssignment |
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 |
PropertyMapping
Represents the mapping between a source and target property, e.g. from
String Source#foo to
int Target#bar . |
class |
ServicesEntry |
class |
SourceRHS
SourceRHS Assignment.
|
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
ValueMapping s. |
class |
VirtualMappingMethod
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.
|
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 |
GetterWrapperForCollectionsAndMaps
This wrapper handles the situation were an assignment must be done via a target getter method because there
is no setter available.
|
class |
LocalVarWrapper
Decorates an assignment as local variable.
|
class |
NullCheckWrapper
Wraps the assignment in a null check.
|
class |
SetterWrapper
Wraps the assignment in a target setter.
|
class |
SetterWrapperForCollectionsAndMaps
This wrapper handles the situation were an assignment is done via the setter.
|
class |
UpdateNullCheckWrapper
Wraps an update-assignment in a null check and sets the target property to
null , if the source is
null . |
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 |
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-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.