Invention Grant
US09274755B2 Infrastructure for generating code using annotation and template generators
有权
使用注释和模板生成器生成代码的基础结构
- Patent Title: Infrastructure for generating code using annotation and template generators
- Patent Title (中): 使用注释和模板生成器生成代码的基础结构
-
Application No.: US13604132Application Date: 2012-09-05
-
Publication No.: US09274755B2Publication Date: 2016-03-01
- Inventor: Vojtech Szocs
- Applicant: Vojtech Szocs
- Applicant Address: IL Raanana
- Assignee: Red Hat Israel, Ltd.
- Current Assignee: Red Hat Israel, Ltd.
- Current Assignee Address: IL Raanana
- Agency: Lowenstein Sandler LLP
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45 ; G06F9/445

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.
Public/Granted literature
- US20140068552A1 INFRASTRUCTURE FOR AUTOMATICALLY GENERATING BOILERPLATE CODE USING ANNOTATIONS AND CODE-GENERATORS Public/Granted day:2014-03-06
Information query