首页> 外文学位 >XML unique renaming of Java source.
【24h】

XML unique renaming of Java source.

机译:Java源的XML唯一重命名。

获取原文
获取原文并翻译 | 示例

摘要

In order to assist in accurate Java software maintenance and further development, we present a flexible way in which a data design model extracted from Java programs can remain unified with the source code. Each entity declaration and reference in the Java program is assigned a global UID (unique identifier) based on its name and declaration context. The UID serves as a key by which its original declaration and other references can be found, and more importantly, by which facts about the entity can be stored and retrieved from the design model. While it is possible to generate the unique names in an ad hoc manner, we show how to generate them using a combination of source transformations and design model inferences.; UIDs are attached to each declaration and reference in the source code using XML markup, so that both the UIDs and the original source text are available in the renamed source program. The resulting uniquely renamed source code makes it convenient and efficient to do further business logic and technical analysis that crosses the boundary between the source code and its design model. Analysis and transformation of source and analysis and transformation of the design model can each be carried out independently without losing the connection to the other. We demonstrate this with an example application to Java library migration.
机译:为了帮助准确进行Java软件维护和进一步开发,我们提出了一种灵活的方法,使从Java程序提取的数据设计模型可以与源代码保持统一。根据Java程序中的每个实体声明和引用,其名称和声明上下文为其分配了全局UID(唯一标识符)。 UID用作密钥,通过它可以找到其原始声明和其他引用,更重要的是,可以使用该ID来存储有关实体的事实并从设计模型中检索该事实。虽然可以以临时方式生成唯一名称,但我们展示了如何使用源转换和设计模型推断的组合来生成唯一名称。使用XML标记将UID附加到源代码中的每个声明和引用,以便在重命名的源程序中都可以使用UID和原始源文本。产生的唯一重命名的源代码使跨越该源代码及其设计模型之间的界限的进一步业务逻辑和技术分析变得方便而高效。源代码的分析和转换以及设计模型的分析和转换可以独立进行,而不会失去彼此的联系。我们将通过一个示例应用程序向Java库迁移进行演示。

著录项

  • 作者

    Guo, Xinping.;

  • 作者单位

    Queen's University at Kingston (Canada).;

  • 授予单位 Queen's University at Kingston (Canada).;
  • 学科 Computer Science.
  • 学位 M.Sc.
  • 年度 2004
  • 页码 137 p.
  • 总页数 137
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号