CPC G06F 9/547 (2013.01) [G06F 8/41 (2013.01); G06F 8/437 (2013.01); G06F 9/30076 (2013.01); G06F 9/4488 (2018.02); G06F 9/4494 (2018.02); G06F 9/4498 (2018.02); G06F 9/44521 (2013.01); G06F 9/44536 (2013.01); G06F 9/451 (2018.02); G06F 9/45516 (2013.01); G06F 9/541 (2013.01); G06F 9/542 (2013.01); G06F 9/548 (2013.01); G06F 12/023 (2013.01); G06F 16/2272 (2019.01); G06F 16/2291 (2019.01); G06F 16/289 (2019.01)] | 20 Claims |
1. One or more non-transitory computer readable storage media storing instructions which, when executed by one or more hardware processors, cause:
identifying, by a compiler, a first source code instruction to call an application programming interface (API) point associated with a generic type;
determining, by the compiler, whether the first source code instruction indicates any parameterized type for the generic type;
responsive to determining that the first source code instruction indicates a first parameterized type for the generic type:
compiling, by the compiler, the first source code instruction to generate a first compiled source code instruction to call the API point, wherein the first compiled source code instruction indicates the first parameterized type for the generic type;
identifying, by the compiler, a second source code instruction to call the API point associated with the generic type;
determining, by the compiler, whether the second source code instruction indicates any parameterized type for the generic type; and
responsive to determining that the second source code instruction does not indicate any parameterized type for the generic type:
compiling, by the compiler, the second source code instruction to generate a second compiled source code instruction to call the API point, wherein the second compiled source code instruction does not indicate any parameterized type for the generic type.
|