首页> 外文会议>Programming Languages and Systems; Lecture Notes in Computer Science; 4279 >Using Metadata Transformations to Integrate Class Extensions in an Existing Class Hierarchy
【24h】

Using Metadata Transformations to Integrate Class Extensions in an Existing Class Hierarchy

机译:使用元数据转换将类扩展集成到现有的类层次结构中

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

摘要

Class extensions provide a fine-grained mechanism to define incremental modifications to class-based systems when standard subclassing mechanisms are inappropriate. To control the impact of class extensions, the concept of classboxes has emerged that defines a new module system to restrict the visibility of class extensions to selected clients. However, the existing implementations of the classbox concept rely either on a "classbox-aware" virtual machine, an expensive runtime introspection of the method call stack to build the structure of a classbox, or both. In this paper we present an implementation technique that allows for the structure of a classbox to be constructed at compile-time by means of metadata transformations to rewire the inheritance graph of refined classes. These metadata transformations are language-neutral and more importantly preserve both the semantics of the classbox concept and the integrity of the underlying deployment units. As a result, metadata transformation provides a feasible approach to incorporate the classbox concept into programming environments that use a virtual execution system.
机译:当标准子类化机制不合适时,类扩展提供了一种细粒度的机制来定义对基于类的系统的增量修改。为了控制类扩展的影响,出现了类框的概念,它定义了一个新的模块系统,以限制类扩展对选定客户端的可见性。但是,类框概念的现有实现依赖于“可识别类框”的虚拟机,对方法调用堆栈进行昂贵的运行时自省以构建类框的结构,或两者都依赖。在本文中,我们提出了一种实现技术,该技术允许在编译时通过元数据转换的方式构造一个类框的结构,以重新连接精炼类的继承图。这些元数据转换与语言无关,并且更重要的是保留了类框概念的语义和底层部署单元的完整性。结果,元数据转换提供了一种可行的方法,可以将类框概念整合到使用虚拟执行系统的编程环境中。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号