| Package | Description |
|---|---|
| org.mapstruct.ap.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
| org.mapstruct.ap.model.assignment |
Meta-model of assignments.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BeanMappingMethod
A
MappingMethod implemented by a Mapper class which maps one
bean type to another, optionally configured by one or more
PropertyMappings. |
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
EnumMappings. |
class |
IterableMappingMethod
A
MappingMethod implemented by a Mapper class which maps one iterable type to another. |
class |
MapMappingMethod
|
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 | Method and Description |
|---|---|
java.util.List<MappingMethod> |
GeneratedType.getMethods() |
| Modifier and Type | Method and Description |
|---|---|
static Decorator |
Decorator.getInstance(javax.lang.model.util.Elements elementUtils,
TypeFactory typeFactory,
javax.lang.model.element.TypeElement mapperElement,
DecoratedWithPrism decoratorPrism,
java.util.List<MappingMethod> methods,
boolean hasDelegateConstructor,
boolean suppressGeneratorTimestamp) |
Mapper.Builder |
Mapper.Builder.mappingMethods(java.util.List<MappingMethod> mappingMethods) |
| Constructor and Description |
|---|
GeneratedType(TypeFactory typeFactory,
java.lang.String packageName,
java.lang.String name,
java.lang.String superClassName,
java.lang.String interfaceName,
java.util.List<MappingMethod> methods,
java.util.List<? extends ModelElement> fields,
boolean suppressGeneratorTimestamp,
Accessibility accessibility) |
| Modifier and Type | Class and Description |
|---|---|
class |
MethodReference
Represents a reference to
MappingMethod. |
Copyright © 2012-2014. All Rights Reserved.