首页> 外文期刊>Software >Linguistic Reflection in Java
【24h】

Linguistic Reflection in Java

机译:Java语言反思

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

摘要

Reflective systems allow their own structures to be altered from within. Here we are concerned with a style of reflection, called linguistic reflection, which is the ability of a running program to generate new program fragments and to integrate these into its own execution. In particular, we describe how this kind of reflection may be provided in the compiler-based, strongly typed object- oriented programming language Java. The advantages of the programming technique include attaining high levels of genericity and accommodating system evolution. These advantages are illustrated by an example taken from persistent programming, which shows how linguistic reflection allows functionality (program code) to be generate on demand (Just-In-Time) from a generic specification and integrated into the evolving running program. The technique is evaluated against alternative implementation approaches with respect of efficiency, safety and ease of use.
机译:反射系统允许从内部更改其自身的结构。在这里,我们关注一种称为语言反射的反射样式,该反射样式是正在运行的程序生成新程序片段并将其集成到自己的执行中的能力。特别是,我们描述了如何在基于编译器的强类型面向对象编程语言Java中提供这种反映。编程技术的优点包括获得高水平的通用性并适应系统的发展。通过从持久编程中获取一个示例来说明这些优势,该示例显示了语言反射如何允许从通用规范按需生成功能(程序代码)(按时)并将其集成到不断发展的运行程序中。针对效率,安全性和易用性,对照替代实施方法对技术进行了评估。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号