Uses of Class
org.mapstruct.ap.internal.model.source.SourceMethod
-
Packages that use SourceMethod Package Description 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 inBeanMappingMethod
org.mapstruct.ap.internal.model.source Intermediary representation of mapping methods as retrieved from via the annotation processing API.org.mapstruct.ap.internal.processor Contains model processors which perform tasks such as retrieving mapping methods, creating a model representation and writing the model into Java source files. -
-
Uses of SourceMethod in org.mapstruct.ap.internal.model
Methods in org.mapstruct.ap.internal.model that return types with arguments of type SourceMethod Modifier and Type Method Description static List<SelectedMethod<SourceMethod>>
ObjectFactoryMethodResolver. getMatchingFactoryMethods(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx)
List<SourceMethod>
MappingBuilderContext. getSourceModel()
Methods in org.mapstruct.ap.internal.model with parameters of type SourceMethod Modifier and Type Method Description static MapperReference
MapperReference. findMapperReference(List<MapperReference> mapperReferences, SourceMethod method)
BeanMappingMethod.Builder
BeanMappingMethod.Builder. sourceMethod(SourceMethod sourceMethod)
Method parameters in org.mapstruct.ap.internal.model with type arguments of type SourceMethod Modifier and Type Method 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)
Constructor parameters in org.mapstruct.ap.internal.model with type arguments of type SourceMethod Constructor Description MappingBuilderContext(TypeFactory typeFactory, ElementUtils elementUtils, TypeUtils typeUtils, FormattingMessager messager, AccessorNamingUtils accessorNaming, EnumMappingStrategy enumMappingStrategy, Map<String,EnumTransformationStrategy> enumTransformationStrategies, Options options, MappingBuilderContext.MappingResolver mappingResolver, TypeElement mapper, List<SourceMethod> sourceModel, List<MapperReference> mapperReferences)
-
Uses of SourceMethod in org.mapstruct.ap.internal.model.beanmapping
Methods in org.mapstruct.ap.internal.model.beanmapping with parameters of type SourceMethod Modifier and Type Method Description static MappingReferences
MappingReferences. forSourceMethod(SourceMethod sourceMethod, Type targetType, Set<String> targetProperties, FormattingMessager messager, TypeFactory typeFactory)
-
Uses of SourceMethod in org.mapstruct.ap.internal.model.source
Methods in org.mapstruct.ap.internal.model.source that return SourceMethod Modifier and Type Method Description SourceMethod
SourceMethod.Builder. build()
Methods in org.mapstruct.ap.internal.model.source that return types with arguments of type SourceMethod Modifier and Type Method Description List<SourceMethod>
ParameterProvidedMethods. getAllProvidedMethodsInParameterOrder(List<Parameter> orderedParameters)
List<SourceMethod>
SourceMethod. getApplicablePrototypeMethods()
List<SourceMethod>
SourceMethod. getApplicableReversePrototypeMethods()
Methods in org.mapstruct.ap.internal.model.source with parameters of type SourceMethod Modifier and Type Method Description void
MappingMethodOptions. applyIgnoreAll(SourceMethod method, TypeFactory typeFactory, FormattingMessager messager)
void
MappingMethodOptions. applyInheritedOptions(SourceMethod sourceMethod, SourceMethod templateMethod, boolean isInverse, AnnotationMirror annotationMirror)
Merges in all the mapping options configured, giving the already defined options precedence.boolean
SourceMethod. canInheritFrom(SourceMethod method)
MappingOptions
MappingOptions. copyForForwardInheritance(SourceMethod templateMethod, BeanMappingOptions beanMappingOptions)
Creates a copy of this mappingMappingOptions
MappingOptions. copyForInverseInheritance(SourceMethod templateMethod, BeanMappingOptions beanMappingOptions)
boolean
SourceMethod. inverses(SourceMethod method)
Method parameters in org.mapstruct.ap.internal.model.source with type arguments of type SourceMethod Modifier and Type Method Description void
ParameterProvidedMethods.Builder. addMethodsForParameter(Parameter param, List<SourceMethod> methods)
SourceMethod.Builder
SourceMethod.Builder. setPrototypeMethods(List<SourceMethod> prototypeMethods)
-
Uses of SourceMethod in org.mapstruct.ap.internal.processor
Methods in org.mapstruct.ap.internal.processor that return types with arguments of type SourceMethod Modifier and Type Method Description List<SourceMethod>
MethodRetrievalProcessor. process(ModelElementProcessor.ProcessorContext context, TypeElement mapperTypeElement, Void sourceModel)
Method parameters in org.mapstruct.ap.internal.processor with type arguments of type SourceMethod Modifier and Type Method Description Mapper
MapperCreationProcessor. process(ModelElementProcessor.ProcessorContext context, TypeElement mapperTypeElement, List<SourceMethod> sourceModel)
-