Patents
US 9,891,900 B2#27268424 Most CitedActiveUnited States (USPTO)Utility

Generation of specialized methods based on generic methods and type parameterizations

4Forward Citations (#27268424 Global)
0.5/yrCitation Velocity (#16415220 Global)
1.06Citation PageRank (#38573256 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Generic method specialization represents the ability to specialize generic methods over various types. When implementing generic method specialization an annotated class file may include a generic method declaration that is annotated with specialization metadata indicating elements of the generic method to be adjusted during specialization. The annotated method may be usable directly as an erased method implementation (e.g., to load the method when instantiated with reference types) and may also be usable as a template for specialization. When a generic method is being prepared for execution, such as when it is first invoked during runtime, a specialization method generator function may be used to specialize the generic method based on the specialization metadata in the generic method declaration. The specialization method generator function may use the annotated generic method declaration as a template for specialization.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 4.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A non-transitory, computer-readable storage medium storing program instructions that when executed on a computing device cause the computing device to perform: passing a generic method and specialization metadata to a specialized method generator, wherein the specialization metadata comprises information identifying one or more program elements of the generic method to be adjusted when specializing the generic method for a particular type parameterization; generating, by the specialized method generator in response to said passing, a specialized method based, at least in part, on the generic m

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 5,628,016 ASystems and methods and implementing exception handling using exception registration records stored in stack memory1997260
US 5,677,312 AMethod and compositions for maintaining glomerular filtration rate while inhibiting extracellular matrix accumulation19974
US 5,923,878 ASystem, method and apparatus of directly executing an architecture-independent binary program1999113
US 6,279,008 B1Integrated graphical user interface method and apparatus for mapping between objects and databases2001165
US 2002032900 A1Methods and systems for generating source code for object oriented elements—55
US 6,360,360 B1Object-oriented compiler mechanism for automatically selecting among multiple implementations of objects200243
US 6,484,313 B1Compiling and persisting of intermediate language code200249
US 2003018958 A1Optional attribute generator for customized Java programming environments—13
US 6,513,152 B1Object oriented framework mechanism for customization of object oriented frameworks2003104
US 2003079201 A1Type checking in java computing environments—15
US 2003079049 A1Representation of java data types in virtual machines—15
US 6,560,774 B1Verifier to check intermediate language2003213
US 2004006762 A1System and method for creation of software components—53
US 6,757,890 B1Methods and apparatus for enabling local Java object allocation and collection200422
US 2004221228 A1Method and apparatus for domain specialization in a document type definition—23
WO 2004/102303 A2Compiling intermediate language bytecodes into java bytecodes—9
US 2005055682 A1Authoring and using generic classes in JAVA language code—37
US 2005193269 A1System, method, and article of manufacture for synchronization in an automated scripting framework—262
US 7,000,219 B2Software development process200690
US 2006048024 A1Pattern types as constraints on generic type parameters—25
US 2006143597 A1Method and a software product for adapting a .NET framework compliant reflection mechanism to a java environment—46
US 7,127,709 B2System and method for jointly managing dynamically generated code and data200636
US 2006251125 A1System and method for producing notification based web services—28
US 7,162,716 B2Software emulator for optimizing application-programmable vertex processing200739
US 7,240,327 B2Cross-platform development for devices with heterogeneous capabilities200761
US 7,243,346 B1Customized library management system200766

Non-Patent Literature (5)

  • "Common Language Infrastructure (CLI) Partitions I to VI," 6th Edition / Jun. 2012, ECMA International, Standard ECMA-335, pp. 1-574.
  • "Design Pattern Instantiation Directed by Concretization and Specialization"-Peter Kajsa-ComSIS vol. 8, No. 1, Jan. 2011 (DOI:10.2298/CSIS091212032K), pp. 1-32.
  • "Templates, C++ FAQ", Jan. 15, 2014, Retrieved from the Internet: URL:http://web.archive.org/web/20140115082944/http://isoccp.org.wiki/faq/templates, pp. 2-27.
  • “Design Pattern Instantiation Directed by Concretization and Specialization”—Peter Kajsa—ComSIS vol. 8, No. 1, Jan. 2011 (DOI:10.2298/CSIS091212032K), pp. 1-32.
  • Alessandra Warth, et al., "Statically Scoped Object Adaptation with Expanders", ACM OOPSLA'06, Oct. 22-26, 2006, pp. 1-19.