CPC G06F 8/447 (2013.01) [G06F 8/437 (2013.01); G06F 8/71 (2013.01); G06F 9/449 (2018.02); G06F 9/45504 (2013.01)] | 20 Claims |
1. One or more non-transitory machine-readable media storing instructions that, when executed by one or more processors, cause performance of operations comprising:
identifying a first request to invoke a method defined by a particular type;
identifying, in the particular type:
an older version of the method that is (a) associated with a particular method name and (b) configured to return values of a first return type;
a current version of the method that is (a) associated with the particular method name and (b) configured to return values of a second return type that is different from the first return type;
determining that the first request specifies the first return type;
responsive to determining that the first request specifies the first return type:
executing the current version of the method to obtain a first value of the second return type;
applying a first set of one or more conversion functions to convert the first value of the second return type to a first value of the first return type;
returning the first value of the first return type responsive to the first request.
|