Class MappingResolverImpl.ConversionMethod<T extends Method>

  • Enclosing class:
    MappingResolverImpl

    private static class MappingResolverImpl.ConversionMethod<T extends Method>
    extends java.lang.Object
    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'. If a match is found, an attempt is done to find a matching type conversion.