Reifying generic types while maintaining migration compatibility
Abstract
In accordance with one embodiment of the present invention, there is provided a technique for reifying generic types while maintaining migration compatibility. According to this technique, the actual type parameters that should be associated with a raw type, but which are not expressed in a binary file, are dynamically inferred at run time. The actual type parameters are inferred based on the run time usage of an object that is an instance of the raw type.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 20.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for generic type reification, the method comprising: determining, based on the usage of a first object at run time, a first actual type argument of a generic type of which the first object is an instance, wherein determining the first actual type argument comprises: initially establishing the first actual type argument to be an uncertain type that is constrained by a first upper bound type and a first lower bound type, updating the first upper bound type to a second upper bound type based on usage of the first object at runtime, and updating the first lower bound type to a second lowe
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 20 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- Bracha, Gilad, "Generics in the Java Programming Language," [online], Jul. 5, 2004, [retrieved on Jun. 14, 2005]. Retrieved from the Internet: , pp. 1-23.
- Bracha, Gilad, "Generics in the Java Programming Language," [online], Jul. 5, 2004, [retrieved on Jun. 14, 2005]. Retrieved from the Internet: <http://java.sun.com/j2se/1.5/pdf/generics-tutorial.pdf>, pp. 1-23.
- Claims, App. No. 06252016.8, 7 pages. [attached].
- Claims, Foreign Application No. EP 06 25 3209, 7 pages.
- European Patent Office, "European Search Report", Foreign Application No. EP 06 25 3209, Received Jan. 16, 2008, 5 pages.