Class MappingResolverImpl.MethodConversion<T extends Method>

  • Enclosing class:
    MappingResolverImpl

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