arrow
返回

XTRAITJ: Traits for the Java platform

delete2017-09-01
delete4
delete
OA
AI
L
Lorenzo Bettini *
F
Ferruccio Damiani
DOI:10.1016/j.jss.2016.07.035delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Traits were proposed as a mechanism for fine-grained code reuse to overcome many limitations of class based inheritance. A trait is a set of methods that is independent from any class hierarchy and can be flexibly used to build other traits or classes by means of a suite of composition operations. In this paper we present the new version of XTRAITJ, a trait-based programming language that features complete compatibility and interoperability with the JAVA platform. XTRAITJ is implemented in XTEXT and XBASE, and it provides a full Eclipse IDE that supports an incremental adoption of traits in existing JAVA projects. The new version of XTRAITJ allows traits to be accessed from any JAVA project or library, even if the original XTRAITJ source code is not available, since traits can be accessed in their byte-code format. This allows developers to create XTRAITJ libraries that can be provided in their binary only format. We detail the technique we used to achieve such an implementation; this technique can be reused in other languages implemented in XTEXT for the JAVA platform. We formalize our traits by means of flattening semantics and we provide some performance benchmarks that show that the runtime overhead introduced by our traits is acceptable. (C) 2016 Elsevier Inc. All rights reserved.
Keyword:
Java
Trait
IDE
Implementation
Eclipse
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Journal of Systems and Software 封面图
Journal of Systems and Software
IF:
4.1
论文数:
5.5K
被引数:
8.4K

机构

U
university of florence
学者数:
4.2W
论文数: 3.1W
被引数: 42
U
University of Turin
学者数:
3.7W
论文数: 2.8W
被引数: 3.2W
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏
Reaction of Mass-Selected, Thermalized VnOm+ Clusters with CCl4
err2019-05-16
err0
PREAI
errBrendan C. Sweeny; Shaun G. Ard; Albert A. Viggiano; Nicholas S. Shuman
err分享
err收藏
Specific RNA Interference in Caenorhabditis elegans by Ingested dsRNA Expressed in Bacillus subtilis
err2015-04-30
err0
errOAAI
errMarco Lezzerini; Koen van de Ven; Martijn Veerman; Stanley Brul; Yelena V. Budovskaya
err分享
err收藏
Structure and Emerging Functions of LRCH Proteins in Leukocyte Biology
err2020-09-22
err0
errOAAI
errThibaud Rivière; Almke Bader; Kristin Pogoda; Barbara Walzog; Daniela Maier-Begandt
err分享
err收藏
Selection and ranking of ground motion models for seismic hazard analysis in the Pyrenees
err2007-01-27
err0
errOAAI
errStéphane Drouet; Frank Scherbaum; Fabrice Cotton; Annie Souriau
err分享
err收藏
没有更多内容