| Package | Description |
|---|---|
| org.mapstruct.ap.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
| org.mapstruct.ap.model.source |
Intermediary representation of mapping methods as retrieved from via the annotation processing API.
|
| org.mapstruct.ap.model.source.builtin |
Contains "built-in methods" which may be added as private methods to a generated mapper.
|
| org.mapstruct.ap.model.source.selector |
Provides strategies for selecting a matching mapping or factory method when mapping from one attribute to another
or instantiating the target type of a mapping method, respectively.
|
| org.mapstruct.ap.processor.creation |
Contains all helper classes for the
MapperCreationProcessor |
| Modifier and Type | Method and Description |
|---|---|
static Assignment |
AssignmentFactory.createMethodReference(Method method,
MapperReference declaringMapper,
Type targetType) |
Assignment |
MappingBuilderContext.MappingResolver.getTargetAssignment(Method mappingMethod,
String mappedElement,
Type sourceType,
Type targetType,
String targetPropertyName,
String dateFormat,
List<TypeMirror> qualifiers,
String sourceReference)
returns a parameter assignment
|
IterableMappingMethod.Builder |
IterableMappingMethod.Builder.method(Method sourceMethod) |
MapMappingMethod.Builder |
MapMappingMethod.Builder.method(Method sourceMethod) |
NestedPropertyMappingMethod.Builder |
NestedPropertyMappingMethod.Builder.method(Method sourceMethod) |
| Constructor and Description |
|---|
DelegatingMethod(Method method) |
MappingMethod(Method method) |
MethodReference(Method method,
MapperReference declaringMapper,
Type targetType)
Creates a new reference to the given method.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ForgedMethod
This method will be generated in absence of a suitable abstract method to implement.
|
class |
SourceMethod
Represents a mapping method with source and target type and the mappings between the properties of source and target
type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BuiltInMethod
Represents a "built-in" mapping method which will be added as private method to the generated mapper.
|
class |
CalendarToXmlGregorianCalendar |
class |
CalendarToZonedDateTime
|
class |
DateToXmlGregorianCalendar |
class |
JaxbElemToValue |
class |
ListOfJaxbElemToListOfValue |
class |
StringToXmlGregorianCalendar |
class |
XmlGregorianCalendarToCalendar |
class |
XmlGregorianCalendarToDate |
class |
XmlGregorianCalendarToString |
class |
ZonedDateTimeToCalendar
|
| Modifier and Type | Method and Description |
|---|---|
<T extends Method> |
MethodSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName)
Selects those methods which match the given types and other criteria
|
<T extends Method> |
QualifierSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName) |
<T extends Method> |
MethodSelectors.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName) |
<T extends Method> |
InheritanceSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName) |
<T extends Method> |
XmlElementDeclSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName) |
<T extends Method> |
TypeSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName) |
| Modifier and Type | Method and Description |
|---|---|
<T extends Method> |
MethodSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName)
Selects those methods which match the given types and other criteria
|
<T extends Method> |
QualifierSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName) |
<T extends Method> |
MethodSelectors.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName) |
<T extends Method> |
InheritanceSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName) |
<T extends Method> |
XmlElementDeclSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName) |
<T extends Method> |
TypeSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type parameterType,
Type returnType,
List<TypeMirror> qualifiers,
String targetPropertyName) |
| Modifier and Type | Method and Description |
|---|---|
Assignment |
MappingResolverImpl.getTargetAssignment(Method mappingMethod,
String mappedElement,
Type sourceType,
Type targetType,
String targetPropertyName,
String dateFormat,
List<TypeMirror> qualifiers,
String sourceReference)
returns a parameter assignment
|
Copyright © 2012-2014. All Rights Reserved.