A tool for generating Java']Java source efficiently

被引:0
作者
Somogyi, Csongor [1 ]
Laszlo, Zoltan [1 ]
机构
[1] BME, Dept Control Engn & Informat Technol, Budapest, Hungary
来源
WMSCI 2005: 9th World Multi-Conference on Systemics, Cybernetics and Informatics, Vol 4 | 2005年
关键词
code generation; !text type='Java']Java[!/text; document object model; DOM; meta-programming;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Authors of this article were looking for a lightweight, document object model (DOM) like Java source code generator too] in their ongoing metaprogramming project called MOFCOM. After enumerating several code generator solutions currently available, it has been found that these do not fit the identified requirements: DOM based solutions are heavyweight, lightweight solutions are neither DOM like nor follow the semantic model of the Java language. The lack of a proper tool necessitated the establishment of Javagen, a small yet efficient solution. Javagen is a run-time library written in Java, which runs entirely within the application program. It provides an API that allows the application to create a formal model of a Java program by instantiating a metamodel of the Java language, to operate on this model, e. g. by adding methods, attributes to the classes, interfaces, and to generate Java source files based on the created model.
引用
收藏
页码:392 / 395
页数:4
相关论文
共 12 条
  • [1] [Anonymous], THESIS MCGILL U MONT
  • [2] Assmann U, 1999, LECT NOTES COMPUT SC, V1594, P371
  • [3] Assmann Uwe, 2003, Invasive software composition
  • [4] *BUD U TECHN EC MO, 2004, JAV CVS REP
  • [5] Budinsky F., 2004, Eclipse modeling framework: a developer's guide
  • [6] KIS G, 2003, P JOINT MOD LANG C J, P266
  • [7] Kis G., 2003, THESIS BUDAPEST U TE
  • [8] *OBJ MAN GROUP, 2003, MET OBJ FAC MOF SPEC
  • [9] OROSZ J, 2003, THESIS BUDAPEST U TE
  • [10] SULYAN T, 2004, METAGENERATOR FORRAS