摘要 |
A method and apparatus for resolving method overloading at runtime that includes accessing an application programming interface file to retrieve methods that belong to the same class as a target method to select an exact method, which is a method where a data type of each of the parameters of the exact method is the same data type of a corresponding parameter of the target method, and if there is no exact method, to find a best method, which is a best method that most closely matches the target method.
|