Package | Description |
---|---|
org.mapstruct.ap.internal.model |
Meta-model of mapper types, their methods, mappings between properties etc.
|
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 |
---|---|
static List<SelectedMethod<SourceMethod>> |
ObjectFactoryMethodResolver.getMatchingFactoryMethods(Method method,
Type alternativeTarget,
SelectionParameters selectionParameters,
MappingBuilderContext ctx) |
Modifier and Type | Method and Description |
---|---|
static LifecycleCallbackMethodReference |
LifecycleCallbackMethodReference.forMethodReference(SelectedMethod<SourceMethod> lifecycleMethod,
MapperReference mapperReference,
Method containingMethod,
Set<String> existingVariableNames) |
static LifecycleCallbackMethodReference |
LifecycleCallbackMethodReference.forParameterProvidedMethod(SelectedMethod<SourceMethod> lifecycleMethod,
Parameter providingParameter,
Method containingMethod,
Set<String> existingVariableNames) |
static MethodReference |
ObjectFactoryMethodResolver.getFactoryMethodReference(Method method,
SelectedMethod<SourceMethod> matchingFactoryMethod,
MappingBuilderContext ctx) |
Modifier and Type | Method and Description |
---|---|
<T extends Method> |
TypeSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
TargetTypeSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
FactoryParameterSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
XmlElementDeclSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
QualifierSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
MethodFamilySelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
CreateOrUpdateSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
InheritanceSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
MethodSelectors.getMatchingMethods(Method mappingMethod,
List<T> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria)
Selects those methods which match the given types and other criteria
|
Modifier and Type | Method and Description |
---|---|
<T extends Method> |
TypeSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
TargetTypeSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
FactoryParameterSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
XmlElementDeclSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
QualifierSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
MethodFamilySelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
CreateOrUpdateSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
<T extends Method> |
InheritanceSelector.getMatchingMethods(Method mappingMethod,
List<SelectedMethod<T>> methods,
List<Type> sourceTypes,
Type targetType,
SelectionCriteria criteria) |
Copyright © 2012-2021 MapStruct Authors; All rights reserved. Released under the Apache Software License 2.0.