| Package | Description |
|---|---|
| org.mapstruct.ap.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
| org.mapstruct.ap.model.common |
Contains types which are shared between the intermediary mapping method model ("source model") and the mapper model.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
Parameter |
IterableMappingMethod.getSourceParameter() |
Parameter |
MapMappingMethod.getSourceParameter() |
Parameter |
EnumMappingMethod.getSourceParameter() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Parameter> |
MappingMethod.getParameters() |
java.util.List<Parameter> |
MappingMethod.getSourceParameters() |
| Modifier and Type | Method and Description |
|---|---|
Parameter |
TypeFactory.getSingleParameter(javax.lang.model.element.ExecutableElement method) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Parameter> |
TypeFactory.getParameters(javax.lang.model.element.ExecutableElement method) |
| Modifier and Type | Method and Description |
|---|---|
Parameter |
SourceMethod.getSourceParameter(java.lang.String sourceParameterName) |
Parameter |
SourceMethod.getTargetParameter()
Returns the parameter designated as target parameter (if present)
Method.getSourceParameters() |
Parameter |
Method.getTargetParameter()
Returns the parameter designated as target parameter (if present)
Method.getSourceParameters() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Parameter> |
SourceMethod.getParameters()
In contrast to
Method.getSourceParameters() this method returns all parameters |
java.util.List<Parameter> |
Method.getParameters()
In contrast to
Method.getSourceParameters() this method returns all parameters |
java.util.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.getTargetParameter(). |
java.util.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.getTargetParameter(). |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
SourceMethod.containsTargetTypeParameter(java.util.List<Parameter> parameters) |
static SourceMethod |
SourceMethod.forMethodRequiringImplementation(javax.lang.model.element.ExecutableElement executable,
java.util.List<Parameter> parameters,
Type returnType,
java.util.List<Type> exceptionTypes,
java.util.Map<java.lang.String,java.util.List<Mapping>> mappings,
IterableMapping iterableMapping,
MapMapping mapMapping,
javax.lang.model.util.Types typeUtils) |
static SourceMethod |
SourceMethod.forReferencedMethod(Type declaringMapper,
javax.lang.model.element.ExecutableElement executable,
java.util.List<Parameter> parameters,
Type returnType,
java.util.List<Type> exceptionTypes,
javax.lang.model.util.Types typeUtils) |
| Modifier and Type | Method and Description |
|---|---|
Parameter |
XmlGregorianCalendarToCalendar.getParameter() |
abstract Parameter |
BuiltInMethod.getParameter()
There's currently only one parameter foreseen instead of a list of parameter
|
Parameter |
CalendarToXmlGregorianCalendar.getParameter() |
Parameter |
XmlGregorianCalendarToDate.getParameter() |
Parameter |
XmlGregorianCalendarToString.getParameter() |
Parameter |
JaxbElemToValue.getParameter() |
Parameter |
ListOfJaxbElemToListOfValue.getParameter() |
Parameter |
DateToXmlGregorianCalendar.getParameter() |
Parameter |
StringToXmlGregorianCalendar.getParameter() |
Parameter |
BuiltInMethod.getTargetParameter()
target parameter mechanism not supported for built-in methods
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Parameter> |
BuiltInMethod.getParameters() |
java.util.List<Parameter> |
BuiltInMethod.getSourceParameters() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<Type> |
MethodSelectors.getParameterTypes(TypeFactory typeFactory,
java.util.List<Parameter> parameters,
Type sourceType,
Type returnType) |
Copyright © 2012-2014. All Rights Reserved.