Package | Description |
---|---|
org.mapstruct.ap.internal.conversion |
Provides built-in conversions between primitive and wrapper types, strings, dates etc.
|
org.mapstruct.ap.internal.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
org.mapstruct.ap.internal.model.source |
Intermediary representation of mapping methods as retrieved from via the annotation processing API.
|
org.mapstruct.ap.internal.model.source.builtin |
Contains "built-in methods" which may be added as private methods to a generated mapper.
|
org.mapstruct.ap.internal.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.internal.processor.creation |
Contains all helper classes for the
MapperCreationProcessor
|
Modifier and Type | Class and Description |
---|---|
class |
CreateDecimalFormat
HelperMethod that creates a
DecimalFormat
DecimalFormat df = new DecimalFormat( numberFormat )
with setParseBigDecimal set to true. |
Modifier and Type | Class and Description |
---|---|
class |
HelperMethod
A non mapping method to be generated.
|
Modifier and Type | Method and Description |
---|---|
static List<LifecycleCallbackMethodReference> |
LifecycleCallbackFactory.afterMappingMethods(Method method,
SelectionParameters selectionParameters,
MappingBuilderContext ctx) |
static List<LifecycleCallbackMethodReference> |
LifecycleCallbackFactory.beforeMappingMethods(Method method,
SelectionParameters selectionParameters,
MappingBuilderContext ctx) |
MethodReference |
MappingBuilderContext.MappingResolver.getFactoryMethod(Method mappingMethod,
Type target,
SelectionParameters selectionParameters)
returns a no arg factory method
|
Assignment |
MappingBuilderContext.MappingResolver.getTargetAssignment(Method mappingMethod,
String mappedElement,
Type sourceType,
Type targetType,
String targetPropertyName,
FormattingParameters formattingParameters,
SelectionParameters selectionParameters,
SourceRHS sourceRHS,
boolean preferUpdateMethods)
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) |
MappingMethod(Method method,
Collection<String> existingVariableNames,
List<LifecycleCallbackMethodReference> beforeMappingReferences,
List<LifecycleCallbackMethodReference> afterMappingReferences)
constructor to be overloaded when local variable names are required prior to calling this constructor.
|
MappingMethod(Method method,
List<LifecycleCallbackMethodReference> beforeMappingReferences,
List<LifecycleCallbackMethodReference> afterMappingReferences) |
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 |
JodaDateTimeToXmlGregorianCalendar |
class |
JodaLocalDateTimeToXmlGregorianCalendar |
class |
JodaLocalDateToXmlGregorianCalendar |
class |
JodaLocalTimeToXmlGregorianCalendar |
class |
LocalDateToXmlGregorianCalendar |
class |
StringToXmlGregorianCalendar |
class |
XmlGregorianCalendarToCalendar |
class |
XmlGregorianCalendarToDate |
class |
XmlGregorianCalendarToJodaDateTime |
class |
XmlGregorianCalendarToJodaLocalDate |
class |
XmlGregorianCalendarToJodaLocalDateTime |
class |
XmlGregorianCalendarToJodaLocalTime |
class |
XmlGregorianCalendarToLocalDate |
class |
XmlGregorianCalendarToString |
class |
ZonedDateTimeToCalendar
|
Modifier and Type | Method and Description |
---|---|
<T extends Method> |
CreateOrUpdateSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
InheritanceSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
MethodSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria)
Selects those methods which match the given types and other criteria
|
<T extends Method> |
MethodSelectors.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
QualifierSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
TargetTypeSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
TypeSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
XmlElementDeclSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
Modifier and Type | Method and Description |
---|---|
<T extends Method> |
CreateOrUpdateSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
InheritanceSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
MethodSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria)
Selects those methods which match the given types and other criteria
|
<T extends Method> |
MethodSelectors.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
QualifierSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
TargetTypeSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
TypeSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
XmlElementDeclSelector.getMatchingMethods(Method mappingMethod,
List<T> methods,
Type sourceType,
Type targetType,
SelectionCriteria criteria) |
Modifier and Type | Method and Description |
---|---|
MethodReference |
MappingResolverImpl.getFactoryMethod(Method mappingMethod,
Type targetType,
SelectionParameters selectionParameters) |
Assignment |
MappingResolverImpl.getTargetAssignment(Method mappingMethod,
String mappedElement,
Type sourceType,
Type targetType,
String targetPropertyName,
FormattingParameters formattingParameters,
SelectionParameters selectionParameters,
SourceRHS sourceRHS,
boolean preferUpdateMapping) |
Copyright © 2012-2016 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.