发明名称 Structural Identification of Dynamically Generated, Pattern-Instantiation, Generated Classes
摘要 Structural identification of dynamically generated, pattern-instantiation classes may be utilized using structural descriptions. Instead of describing classes only by name, and using that name to locate that class, a class may be referred to by a generator function and arguments to the generator function. A structural description may specify the generator function and the parameters. In addition, a structural description of a class may be used as a parameter to a generator function specified by another structural description. A structural description may be used similarly to a class name for virtually any situation in which a class name may be used. Classes may be compared using their structural descriptions. For example, two structural descriptions may be considered to be the same class if they specify the same generator function and parameters.
申请公布号 US2015301837(A1) 申请公布日期 2015.10.22
申请号 US201514660177 申请日期 2015.03.17
申请人 Oracle International Corporation 发明人 Goetz Brian;Rose John R.
分类号 G06F9/44;G06F9/45 主分类号 G06F9/44
代理机构 代理人
主权项 1. A non-transitory, computer-readable storage medium storing program instructions that when executed on a computing device cause the computing device to perform: identifying, in a class file, a class name comprising a structural description, wherein the structural description comprises information identifying a generator function and one or more parameters for the generator function; executing the generator function, wherein said executing comprises providing the one or more parameters as input to the generator function; and generating a class corresponding to the class name, wherein said generating is based, at least in part, on results from said executing.
地址 Redwood City CA US