×

Dependency-driven co-specialization of specialized classes

  • US 9,678,729 B2
  • Filed: 04/21/2015
  • Issued: 06/13/2017
  • Est. Priority Date: 04/22/2014
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory, computer-readable storage medium storing program instructions that when executed on a computing device cause the computing device to perform:

  • specializing, within a platform independent, object oriented runtime environment, a first generic class defined using an object oriented programming language, wherein the first generic class comprises one or more specializable type variables, wherein each of the specializable type variables is specializable over one or more type parameterizations, and wherein the first generic class is specialized for a particular one of the one or more type parameterizations, wherein after being specialized, instances of the one or more specializable type variables are replaced with instances of the particular type parameterization;

    determining a dependency relationship between the first generic class and a second generic class; and

    specializing, in response to said specializing the first generic class and said determining the dependency relationship, the second generic class for the particular one of the one or more type parameterizations based on the determined dependency relationship, wherein specializing the second generic class comprises specializing, based on the determined dependency relationship, one or more specializable type variables of the second generic class for the particular type parameterization for which the first generic class is specialized.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×