Package org.mapstruct.ap.internal.processor.creation
Contains all helper classes for the MapperCreationProcessor
-
Class Summary Class Description MappingResolverImpl The one and only implementation ofMappingBuilderContext.MappingResolver.MappingResolverImpl.ConversionAssignment MappingResolverImpl.ConversionMethod<T extends Method> Suppose mapping required from A to C and: there is a conversion from A to B, conversionX there is a method from B to C, methodY then this method tries to resolve this combination and make a mapping methodY( conversionX ( parameter ) ) Instead of directly using a built in method candidate, all the return types as 'B' of all available built-in methods are used to resolve a mapping (assignment) from result type to 'B'.MappingResolverImpl.MethodConversion<T extends Method> Suppose mapping required from A to C and: there is a method from A to B, methodX there is a conversion from B to C, conversionY then this method tries to resolve this combination and make a mapping conversionY( methodX ( parameter ) ) Instead of directly using a built in method candidate, all the return types as 'B' of all available built-in methods are used to resolve a mapping (assignment) from source type to 'B'.MappingResolverImpl.MethodMethod<T1 extends Method,T2 extends Method> Suppose mapping required from A to C and: no direct referenced mapping method either built-in or referenced is available from A to C no conversion is available there is a method from A to B, methodX there is a method from B to C, methodY then this method tries to resolve this combination and make a mapping methodY( methodX ( parameter ) ) NOTE method X cannot be an update method -
Enum Summary Enum Description MappingResolverImpl.BestMatchType