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.beanmapping |
helper classes used in
BeanMappingMethod
|
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.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.
|
Modifier and Type | Method and Description |
---|---|
Parameter |
CreateDecimalFormat.getParameter() |
Modifier and Type | Method and Description |
---|---|
Parameter |
HelperMethod.getMappingTargetParameter()
mapping target parameter mechanism not supported for built-in methods
|
Parameter |
ForgedMethod.getMappingTargetParameter() |
abstract Parameter |
HelperMethod.getParameter()
There's currently only one parameter foreseen instead of a list of parameter
|
Parameter |
MethodReference.getProvidingParameter() |
Parameter |
ContainerMappingMethod.getSourceParameter() |
Parameter |
IterableCreation.getSourceParameter() |
Parameter |
MapMappingMethod.getSourceParameter() |
Parameter |
ValueMappingMethod.getSourceParameter() |
Parameter |
NestedPropertyMappingMethod.getSourceParameter() |
Parameter |
HelperMethod.getTargetTypeParameter()
target type parameter mechanism not supported for built-in methods
|
Parameter |
ForgedMethod.getTargetTypeParameter() |
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
HelperMethod.getContextParameters() |
List<Parameter> |
ForgedMethod.getContextParameters() |
List<Parameter> |
MappingMethod.getParameters() |
List<Parameter> |
HelperMethod.getParameters() |
List<Parameter> |
ForgedMethod.getParameters() |
List<Parameter> |
NestedTargetPropertyMappingHolder.getProcessedSourceParameters() |
List<Parameter> |
MappingMethod.getSourceParameters() |
List<Parameter> |
MethodReference.getSourceParameters() |
List<Parameter> |
HelperMethod.getSourceParameters() |
List<Parameter> |
ForgedMethod.getSourceParameters() |
List<Parameter> |
BeanMappingMethod.getSourceParametersExcludingPrimitives() |
List<Parameter> |
BeanMappingMethod.getSourcePrimitiveParameters() |
Modifier and Type | Method and Description |
---|---|
List<PropertyMapping> |
BeanMappingMethod.constructorPropertyMappingsByParameter(Parameter parameter) |
static IterableCreation |
IterableCreation.create(NormalTypeMappingMethod mappingMethod,
Parameter sourceParameter) |
static MethodReference |
MethodReference.forParameterProvidedMethod(Method method,
Parameter providingParameter,
List<ParameterBinding> parameterBindings) |
static LifecycleCallbackMethodReference |
LifecycleCallbackMethodReference.forParameterProvidedMethod(SelectedMethod<SourceMethod> lifecycleMethod,
Parameter providingParameter,
Method containingMethod,
Set<String> existingVariableNames) |
List<PropertyMapping> |
BeanMappingMethod.propertyMappingsByParameter(Parameter parameter) |
Modifier and Type | Method and Description |
---|---|
static ForgedMethod |
ForgedMethod.forPropertyMapping(String name,
Type sourceType,
Type returnType,
List<Parameter> parameters,
Method basedOn,
ForgedMethodHistory history,
MappingReferences mappingReferences,
boolean forgedNameBased)
Creates a new forged method for mapping a bean property to a property
|
Constructor and Description |
---|
MethodReference(Method method,
MapperReference declaringMapper,
Parameter providingParameter,
List<ParameterBinding> parameterBindings)
Creates a new reference to the given method.
|
Constructor and Description |
---|
MappingMethod(Method method,
List<Parameter> parameters) |
MappingMethod(Method method,
List<Parameter> parameters,
Collection<String> existingVariableNames,
List<LifecycleCallbackMethodReference> beforeMappingReferences,
List<LifecycleCallbackMethodReference> afterMappingReferences) |
NestedTargetPropertyMappingHolder(List<Parameter> processedSourceParameters,
Set<String> handledTargets,
List<PropertyMapping> propertyMappings,
Map<String,Set<MappingReference>> unprocessedDefinedTarget,
boolean errorOccurred) |
Modifier and Type | Method and Description |
---|---|
Parameter |
AbstractReference.getParameter() |
Modifier and Type | Method and Description |
---|---|
SourceReference.BuilderFromProperty |
SourceReference.BuilderFromProperty.sourceParameter(Parameter sourceParameter) |
SourceReference.BuilderFromSourceReference |
SourceReference.BuilderFromSourceReference.sourceParameter(Parameter sourceParameter) |
Constructor and Description |
---|
AbstractReference(Parameter sourceParameter,
List<PropertyEntry> sourcePropertyEntries,
boolean isValid) |
TargetReference(Parameter parameter,
List<String> propertyEntries) |
TargetReference(Parameter parameter,
List<String> propertyEntries,
List<String> pathProperties) |
Modifier and Type | Method and Description |
---|---|
static Parameter |
Parameter.forElementAndType(VariableElement element,
Type parameterType,
boolean isVarArgs) |
static Parameter |
Parameter.forForgedMappingTarget(Type parameterType) |
static Parameter |
Parameter.getMappingTargetParameter(List<Parameter> parameters) |
Parameter |
TypeFactory.getSingleParameter(DeclaredType includingType,
Accessor method) |
static Parameter |
Parameter.getSourceParameter(List<Parameter> parameters,
String sourceParameterName) |
static Parameter |
Parameter.getTargetTypeParameter(List<Parameter> parameters) |
Modifier and Type | Method and Description |
---|---|
static List<Parameter> |
Parameter.getContextParameters(List<Parameter> parameters) |
List<Parameter> |
TypeFactory.getParameters(DeclaredType includingType,
Accessor accessor) |
List<Parameter> |
TypeFactory.getParameters(DeclaredType includingType,
ExecutableElement method) |
List<Parameter> |
TypeFactory.getParameters(ExecutableType methodType,
ExecutableElement method) |
static List<Parameter> |
Parameter.getSourceParameters(List<Parameter> parameters) |
Modifier and Type | Method and Description |
---|---|
static ParameterBinding |
ParameterBinding.fromParameter(Parameter parameter) |
Modifier and Type | Method and Description |
---|---|
static List<ParameterBinding> |
ParameterBinding.fromParameters(List<Parameter> parameters) |
static List<Parameter> |
Parameter.getContextParameters(List<Parameter> parameters) |
static Parameter |
Parameter.getMappingTargetParameter(List<Parameter> parameters) |
static Parameter |
Parameter.getSourceParameter(List<Parameter> parameters,
String sourceParameterName) |
static List<Parameter> |
Parameter.getSourceParameters(List<Parameter> parameters) |
static Parameter |
Parameter.getTargetTypeParameter(List<Parameter> parameters) |
Modifier and Type | Method and Description |
---|---|
Parameter |
SourceMethod.getMappingTargetParameter() |
Parameter |
Method.getMappingTargetParameter()
Returns the parameter designated as mapping target (if present)
MappingTarget |
Parameter |
ParameterProvidedMethods.getParameterForProvidedMethod(Method method) |
Parameter |
SourceMethod.getTargetTypeParameter() |
Parameter |
Method.getTargetTypeParameter()
Returns the parameter designated as target type (if present)
TargetType |
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
SourceMethod.getContextParameters() |
List<Parameter> |
Method.getContextParameters()
returns the list of mapping context parameters, i.e. those parameters that are annotated with
Context . |
List<Parameter> |
SourceMethod.getParameters() |
List<Parameter> |
Method.getParameters()
In contrast to
Method.getSourceParameters() this method returns all parameters |
List<Parameter> |
SourceMethod.getSourceParameters() |
List<Parameter> |
Method.getSourceParameters()
returns the list of 'true' source parameters excluding the parameter(s) that are designated as target, target
type or context parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
ParameterProvidedMethods.Builder.addMethodsForParameter(Parameter param,
List<SourceMethod> methods) |
Modifier and Type | Method and Description |
---|---|
static boolean |
SourceMethod.containsTargetTypeParameter(List<Parameter> parameters) |
List<SourceMethod> |
ParameterProvidedMethods.getAllProvidedMethodsInParameterOrder(List<Parameter> orderedParameters) |
SourceMethod.Builder |
SourceMethod.Builder.setParameters(List<Parameter> parameters) |
Modifier and Type | Method and Description |
---|---|
Parameter |
BuiltInMethod.getMappingTargetParameter()
mapping target parameter mechanism not supported for built-in methods
|
Parameter |
XmlGregorianCalendarToJodaLocalTime.getParameter() |
Parameter |
JodaLocalDateTimeToXmlGregorianCalendar.getParameter() |
Parameter |
ZonedDateTimeToCalendar.getParameter() |
Parameter |
LocalDateTimeToXmlGregorianCalendar.getParameter() |
Parameter |
StringToXmlGregorianCalendar.getParameter() |
Parameter |
XmlGregorianCalendarToCalendar.getParameter() |
abstract Parameter |
BuiltInMethod.getParameter()
There's currently only one parameter foreseen instead of a list of parameter
|
Parameter |
CalendarToXmlGregorianCalendar.getParameter() |
Parameter |
XmlGregorianCalendarToJodaDateTime.getParameter() |
Parameter |
JaxbElemToValue.getParameter() |
Parameter |
XmlGregorianCalendarToString.getParameter() |
Parameter |
JodaDateTimeToXmlGregorianCalendar.getParameter() |
Parameter |
DateToXmlGregorianCalendar.getParameter() |
Parameter |
XmlGregorianCalendarToJodaLocalDateTime.getParameter() |
Parameter |
XmlGregorianCalendarToDate.getParameter() |
Parameter |
JodaLocalDateToXmlGregorianCalendar.getParameter() |
Parameter |
CalendarToZonedDateTime.getParameter() |
Parameter |
ZonedDateTimeToXmlGregorianCalendar.getParameter() |
Parameter |
JodaLocalTimeToXmlGregorianCalendar.getParameter() |
Parameter |
XmlGregorianCalendarToLocalDateTime.getParameter() |
Parameter |
XmlGregorianCalendarToJodaLocalDate.getParameter() |
Parameter |
LocalDateToXmlGregorianCalendar.getParameter() |
Parameter |
XmlGregorianCalendarToLocalDate.getParameter() |
Parameter |
BuiltInMethod.getTargetTypeParameter()
target type parameter mechanism not supported for built-in methods
|
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
BuiltInMethod.getContextParameters() |
List<Parameter> |
BuiltInMethod.getParameters() |
List<Parameter> |
BuiltInMethod.getSourceParameters() |
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.