Uses of Class
org.mapstruct.ap.internal.model.source.selector.SelectedMethod
-
Packages that use SelectedMethod 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.org.mapstruct.ap.internal.processor.creation Contains all helper classes for theMapperCreationProcessor -
-
Uses of SelectedMethod in org.mapstruct.ap.internal.model
Methods in org.mapstruct.ap.internal.model that return SelectedMethod Modifier and Type Method Description private static SelectedMethod<SourceMethod>PresenceCheckMethodResolver. findMatchingPresenceCheckMethod(Method method, SelectionParameters selectionParameters, MappingBuilderContext ctx)Methods in org.mapstruct.ap.internal.model that return types with arguments of type SelectedMethod Modifier and Type Method Description static java.util.List<SelectedMethod<SourceMethod>>ObjectFactoryMethodResolver. getMatchingFactoryMethods(Method method, Type alternativeTarget, SelectionParameters selectionParameters, MappingBuilderContext ctx)Methods in org.mapstruct.ap.internal.model with parameters of type SelectedMethod Modifier and Type Method Description static LifecycleCallbackMethodReferenceLifecycleCallbackMethodReference. forMethodReference(SelectedMethod<SourceMethod> lifecycleMethod, MapperReference mapperReference, Method containingMethod, java.util.Set<java.lang.String> existingVariableNames)static LifecycleCallbackMethodReferenceLifecycleCallbackMethodReference. forParameterProvidedMethod(SelectedMethod<SourceMethod> lifecycleMethod, Parameter providingParameter, Method containingMethod, java.util.Set<java.lang.String> existingVariableNames)static MethodReferenceObjectFactoryMethodResolver. getFactoryMethodReference(Method method, SelectedMethod<SourceMethod> matchingFactoryMethod, MappingBuilderContext ctx)private static MethodReferencePresenceCheckMethodResolver. getPresenceCheckMethodReference(Method method, SelectedMethod<SourceMethod> matchingMethod, MappingBuilderContext ctx)Method parameters in org.mapstruct.ap.internal.model with type arguments of type SelectedMethod Modifier and Type Method Description private static java.util.List<LifecycleCallbackMethodReference>LifecycleMethodResolver. toLifecycleCallbackMethodRefs(Method method, java.util.List<SelectedMethod<SourceMethod>> candidates, MappingBuilderContext ctx, java.util.Set<java.lang.String> existingVariableNames)Constructors in org.mapstruct.ap.internal.model with parameters of type SelectedMethod Constructor Description LifecycleCallbackMethodReference(SelectedMethod<SourceMethod> lifecycleMethod, MapperReference mapperReference, Parameter providingParameter, Method containingMethod, java.util.Set<java.lang.String> existingVariableNames) -
Uses of SelectedMethod in org.mapstruct.ap.internal.model.source.selector
Methods in org.mapstruct.ap.internal.model.source.selector that return SelectedMethod Modifier and Type Method Description private <T extends Method>
SelectedMethod<T>TypeSelector. getMatchingParameterBinding(Type returnType, Method mappingMethod, SelectedMethod<T> selectedMethodInfo, java.util.List<java.util.List<ParameterBinding>> parameterAssignmentVariants)Methods in org.mapstruct.ap.internal.model.source.selector that return types with arguments of type SelectedMethod Modifier and Type Method Description <T extends Method>
java.util.List<SelectedMethod<T>>CreateOrUpdateSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>FactoryParameterSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>InheritanceSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>MethodFamilySelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>MethodSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> candidates, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)Selects those methods which match the given types and other criteria<T extends Method>
java.util.List<SelectedMethod<T>>MethodSelectors. getMatchingMethods(Method mappingMethod, java.util.List<T> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)Selects those methods which match the given types and other criteria<T extends Method>
java.util.List<SelectedMethod<T>>QualifierSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>SourceRhsSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> candidates, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>TargetTypeSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>TypeSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>XmlElementDeclSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)Methods in org.mapstruct.ap.internal.model.source.selector with parameters of type SelectedMethod Modifier and Type Method Description private <T extends Method>
intInheritanceSelector. addToCandidateListIfMinimal(java.util.List<SelectedMethod<T>> candidatesWithBestMathingType, int bestMatchingTypeDistance, SelectedMethod<T> method, int currentTypeDistance)private <T extends Method>
SelectedMethod<T>TypeSelector. getMatchingParameterBinding(Type returnType, Method mappingMethod, SelectedMethod<T> selectedMethodInfo, java.util.List<java.util.List<ParameterBinding>> parameterAssignmentVariants)Method parameters in org.mapstruct.ap.internal.model.source.selector with type arguments of type SelectedMethod Modifier and Type Method Description private <T extends Method>
intInheritanceSelector. addToCandidateListIfMinimal(java.util.List<SelectedMethod<T>> candidatesWithBestMathingType, int bestMatchingTypeDistance, SelectedMethod<T> method, int currentTypeDistance)<T extends Method>
java.util.List<SelectedMethod<T>>CreateOrUpdateSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>FactoryParameterSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>InheritanceSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>MethodFamilySelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>MethodSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> candidates, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)Selects those methods which match the given types and other criteria<T extends Method>
java.util.List<SelectedMethod<T>>QualifierSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>SourceRhsSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> candidates, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>TargetTypeSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>TypeSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria)<T extends Method>
java.util.List<SelectedMethod<T>>XmlElementDeclSelector. getMatchingMethods(Method mappingMethod, java.util.List<SelectedMethod<T>> methods, java.util.List<Type> sourceTypes, Type mappingTargetType, Type returnType, SelectionCriteria criteria) -
Uses of SelectedMethod in org.mapstruct.ap.internal.processor.creation
Fields in org.mapstruct.ap.internal.processor.creation with type parameters of type SelectedMethod Modifier and Type Field Description private java.util.function.Function<SelectedMethod<T>,Assignment>MappingResolverImpl.ConversionMethod. createprivate java.util.function.Function<SelectedMethod<T>,Assignment>MappingResolverImpl.MethodConversion. createprivate java.util.function.Function<SelectedMethod<T1>,Assignment>MappingResolverImpl.MethodMethod. xCreateprivate java.util.function.Function<SelectedMethod<T2>,Assignment>MappingResolverImpl.MethodMethod. yCreateMethods in org.mapstruct.ap.internal.processor.creation that return types with arguments of type SelectedMethod Modifier and Type Method Description private <T extends Method>
java.util.List<SelectedMethod<T>>MappingResolverImpl.ResolvingAttempt. getBestMatch(java.util.List<T> methods, Type source, Type target)Methods in org.mapstruct.ap.internal.processor.creation with parameters of type SelectedMethod Modifier and Type Method Description private AssignmentMappingResolverImpl.ResolvingAttempt. toBuildInRef(SelectedMethod<BuiltInMethod> selectedMethod)private AssignmentMappingResolverImpl.ResolvingAttempt. toMethodRef(SelectedMethod<Method> selectedMethod)Method parameters in org.mapstruct.ap.internal.processor.creation with type arguments of type SelectedMethod Modifier and Type Method Description private <T extends Method>
java.lang.StringMappingResolverImpl.ResolvingAttempt. join(java.util.List<SelectedMethod<T>> candidates)(package private) voidMappingResolverImpl.ConversionMethod. reportAmbiguousError(java.util.Map<MappingResolverImpl.ConversionAssignment,java.util.List<SelectedMethod<T>>> xRefCandidates, Type target)(package private) voidMappingResolverImpl.MethodConversion. reportAmbiguousError(java.util.Map<MappingResolverImpl.ConversionAssignment,java.util.List<SelectedMethod<T>>> yRefCandidates, Type target)(package private) voidMappingResolverImpl.MethodMethod. reportAmbiguousError(java.util.Map<SelectedMethod<T1>,java.util.List<SelectedMethod<T2>>> xCandidates, Type target)(package private) voidMappingResolverImpl.MethodMethod. reportAmbiguousError(java.util.Map<SelectedMethod<T1>,java.util.List<SelectedMethod<T2>>> xCandidates, Type target)private <T extends Method>
voidMappingResolverImpl.ResolvingAttempt. reportErrorWhenAmbiguous(java.util.List<SelectedMethod<T>> candidates, Type target)Constructor parameters in org.mapstruct.ap.internal.processor.creation with type arguments of type SelectedMethod Constructor Description ConversionMethod(MappingResolverImpl.ResolvingAttempt attempt, java.util.List<T> methods, java.util.function.Function<SelectedMethod<T>,Assignment> create)MethodConversion(MappingResolverImpl.ResolvingAttempt attempt, java.util.List<T> methods, java.util.function.Function<SelectedMethod<T>,Assignment> create)MethodMethod(MappingResolverImpl.ResolvingAttempt attempt, java.util.List<T1> xMethods, java.util.List<T2> yMethods, java.util.function.Function<SelectedMethod<T1>,Assignment> xCreate, java.util.function.Function<SelectedMethod<T2>,Assignment> yCreate)
-