Invention Grant
US09274755B2 Infrastructure for generating code using annotation and template generators 有权
使用注释和模板生成器生成代码的基础结构

Infrastructure for generating code using annotation and template generators
Abstract:
A method for generating boilerplate code is provided. The method may include scanning an initial source code file for an annotation identifying metadata of an element, scanning a generator module for instructions for processing the metadata of the element, and scanning the generator module for a template module that includes an indication of a location for inserting the processed metadata of the element in an output file. The method may further include processing the metadata of the element of the generator module according to the instructions, and inserting the processed metadata of the element at the indicated location in the output file.
Information query
Patent Agency Ranking
0/0