How do annotations affect Java code readability?

Eduardo Guerra,Everaldo Gomes,Jeferson Ferreira,Igor Wiese,Phyllipe Lima,Marco Gerosa,Paulo Meirelles
DOI: https://doi.org/10.1007/s10664-024-10460-w
IF: 3.762
2024-05-08
Empirical Software Engineering
Abstract:Code annotations have gained widespread popularity in programming languages, offering developers the ability to attach metadata to code elements to define custom behaviors. Many modern frameworks and APIs use annotations to keep integration less verbose and located nearer to the corresponding code element. Despite these advantages, practitioners' anecdotal evidence suggests that annotations might negatively affect code readability.
computer science, software engineering
What problem does this paper attempt to address?