Package | Description |
---|---|
org.mapstruct.ap.internal.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
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 |
EnumMappingMethod.getSourceParameter() |
Parameter |
NestedPropertyMappingMethod.getSourceParameter() |
Parameter |
MapMappingMethod.getSourceParameter() |
Parameter |
IterableMappingMethod.getSourceParameter() |
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
LifecycleCallbackMethodReference.getParameterAssignments() |
List<Parameter> |
MappingMethod.getParameters() |
List<Parameter> |
MappingMethod.getSourceParameters() |
List<Parameter> |
BeanMappingMethod.getSourceParametersExcludingPrimitives() |
List<Parameter> |
BeanMappingMethod.getSourcePrimitiveParameters() |
Constructor and Description |
---|
LifecycleCallbackMethodReference(SourceMethod method,
List<Parameter> parameterAssignments) |
Modifier and Type | Method and Description |
---|---|
Parameter |
TypeFactory.getSingleParameter(TypeElement includingType,
ExecutableElement method) |
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
TypeFactory.getParameters(ExecutableType methodType,
ExecutableElement method) |
List<Parameter> |
TypeFactory.getParameters(TypeElement includingType,
ExecutableElement method) |
Modifier and Type | Method and Description |
---|---|
Parameter |
Method.getMappingTargetParameter()
Returns the parameter designated as mapping target (if present)
MappingTarget |
Parameter |
ForgedMethod.getMappingTargetParameter() |
Parameter |
SourceMethod.getMappingTargetParameter() |
Parameter |
SourceReference.getParameter() |
Parameter |
SourceMethod.getSourceParameter(String sourceParameterName) |
Parameter |
Method.getTargetTypeParameter()
Returns the parameter designated as target type (if present)
TargetType |
Parameter |
ForgedMethod.getTargetTypeParameter() |
Parameter |
SourceMethod.getTargetTypeParameter() |
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
Method.getParameters()
In contrast to
Method.getSourceParameters() this method returns all parameters |
List<Parameter> |
ForgedMethod.getParameters() |
List<Parameter> |
SourceMethod.getParameters()
In contrast to
Method.getSourceParameters() this method returns all parameters |
List<Parameter> |
Method.getSourceParameters()
returns the list of 'true' source parameters excluding the parameter(s) that is designated as
target by means of the target annotation
Method.getMappingTargetParameter() . |
List<Parameter> |
ForgedMethod.getSourceParameters() |
List<Parameter> |
SourceMethod.getSourceParameters()
returns the list of 'true' source parameters excluding the parameter(s) that is designated as
target by means of the target annotation
Method.getMappingTargetParameter() . |
Modifier and Type | Method and Description |
---|---|
SourceReference.BuilderFromProperty |
SourceReference.BuilderFromProperty.sourceParameter(Parameter sourceParameter) |
Modifier and Type | Method and Description |
---|---|
static boolean |
SourceMethod.containsTargetTypeParameter(List<Parameter> parameters) |
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 |
CalendarToZonedDateTime.getParameter() |
Parameter |
CalendarToXmlGregorianCalendar.getParameter() |
Parameter |
DateToXmlGregorianCalendar.getParameter() |
Parameter |
XmlGregorianCalendarToCalendar.getParameter() |
Parameter |
XmlGregorianCalendarToDate.getParameter() |
Parameter |
StringToXmlGregorianCalendar.getParameter() |
Parameter |
ZonedDateTimeToCalendar.getParameter() |
Parameter |
XmlGregorianCalendarToString.getParameter() |
Parameter |
JaxbElemToValue.getParameter() |
abstract Parameter |
BuiltInMethod.getParameter()
There's currently only one parameter foreseen instead of a list of parameter
|
Parameter |
BuiltInMethod.getTargetTypeParameter()
target type parameter mechanism not supported for built-in methods
|
Modifier and Type | Method and Description |
---|---|
List<Parameter> |
BuiltInMethod.getParameters() |
List<Parameter> |
BuiltInMethod.getSourceParameters() |
Copyright © 2012-2015 Gunnar Morling; All rights reserved. Released under the Apache Software License 2.0.