跳到主要导航 跳到搜索 跳到主要内容

Characterizing the Usage, Evolution and Impact of Java Annotations in Practice

  • Zhongxing Yu*
  • , Chenggang Bai
  • , Lionel Seinturier
  • , Martin Monperrus
  • *此作品的通讯作者
  • KTH Royal Institute of Technology
  • Institut national de recherche en informatique et en automatique
  • Université de Lille

科研成果: 期刊稿件文章同行评审

摘要

Annotations have been formally introduced into Java since Java 5. Since then, annotations have been widely used by the Java community for different purposes, such as compiler guidance and runtime processing. Despite the ever-growing use, there is still limited empirical knowledge about the actual usage of annotations in practice, the changes made to annotations during software evolution, and the potential impact of annotations on code quality. To fill this gap, we perform the first large-scale empirical study about Java annotations on 1,094 notable open-source projects hosted on GitHub. Our study systematically investigates annotation usage, annotation evolution, and annotation impact, and generates 10 novel and important findings. We also present the implications of our findings, which shed light for developers, researchers, tool builders, and language or library designers in order to improve all facets of Java annotation engineering.

源语言英语
文章编号8686056
页(从-至)969-986
页数18
期刊IEEE Transactions on Software Engineering
47
5
DOI
出版状态已出版 - 1 5月 2021

学术指纹

探究 'Characterizing the Usage, Evolution and Impact of Java Annotations in Practice' 的科研主题。它们共同构成独一无二的学术指纹。

引用此