【24h】

A Tool for Generating Java Source Efficiently

机译:一种用于有效生成Java源的工具

获取原文

摘要

Authors of this article were looking for a lightweight, document object model (DOM) like Java source code generator tool 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.
机译:本文的作者正在寻找一个轻量级的文档对象模型(DOM),如Java源代码生成器工具,在他们正在进行的Mofcoming项目中称为Mofcom。枚举当前可用的多个代码生成器解决方案后,已发现这些不适合所识别的要求:DOM基于Solutional的重量级,轻量级解决方案既不是DOM,也不遵循Java语言的语义模型。缺乏适当的工具需要建立javagen,一个小而有效的解决方案。 javagen是一个用Java编写的运行时库,它完全在应用程序中运行。它提供了一个API,允许应用程序通过实例化Java语言的元模型来创建Java程序的正式模型,以在此模型上运行,例如,操作。 G。通过将方法添加到类,接口和基于创建的模型生成Java源文件。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号