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.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 |
---|---|
List<ParameterBinding> |
MethodReference.getParameterBindings() |
Modifier and Type | Method and Description |
---|---|
static MethodReference |
MethodReference.forConstructorInvocation(Type type,
List<ParameterBinding> parameterBindings) |
static MethodReference |
MethodReference.forForgedMethod(Method method,
List<ParameterBinding> parameterBindings) |
static MethodReference |
MethodReference.forMapperReference(Method method,
MapperReference declaringMapper,
List<ParameterBinding> parameterBindings) |
static MethodReference |
MethodReference.forParameterProvidedMethod(Method method,
Parameter providingParameter,
List<ParameterBinding> parameterBindings) |
Constructor and Description |
---|
MethodReference(Method method,
MapperReference declaringMapper,
Parameter providingParameter,
List<ParameterBinding> parameterBindings)
Creates a new reference to the given method.
|
Modifier and Type | Method and Description |
---|---|
static ParameterBinding |
ParameterBinding.forMappingTargetBinding(Type resultType) |
static ParameterBinding |
ParameterBinding.forSourceTypeBinding(Type sourceType) |
static ParameterBinding |
ParameterBinding.forTargetTypeBinding(Type classTypeOf) |
static ParameterBinding |
ParameterBinding.fromParameter(Parameter parameter) |
static ParameterBinding |
ParameterBinding.fromSourceRHS(SourceRHS sourceRHS) |
static ParameterBinding |
ParameterBinding.fromTypeAndName(Type parameterType,
String parameterName) |
Modifier and Type | Method and Description |
---|---|
static List<ParameterBinding> |
ParameterBinding.fromParameters(List<Parameter> parameters) |
Modifier and Type | Method and Description |
---|---|
List<ParameterBinding> |
SelectedMethod.getParameterBindings() |
Modifier and Type | Method and Description |
---|---|
void |
SelectedMethod.setParameterBindings(List<ParameterBinding> parameterBindings) |
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.