An approach for code annotation validation with metadata location transparency

An approach for code annotation validation with metadata location transparency

Author de Siqueira, Jose Lazaro, Jr. Autor UNIFESP Google Scholar
Silveira, Fabio Fagundes Autor UNIFESP Google Scholar
Guerra, Eduardo Martins Google Scholar
Abstract The use of metadata in software development, specially by code annotations, has emerged to complement some limitations of object-oriented programming. A recent study revealed that a lack of validation on the configured metadata can lead to bugs hard to identify and correct. There are approaches to optimize metadata configuration that add the annotation out of the target code element, such as its definition on the enclosing code element or indirectly inside other annotations. Annotation validation rules that rely on the presence of other annotations are specially hard to perform when it is possible to configure it out of the target element. Available approaches for annotation validation in the literature consider their presence only in the target element. This paper presents a validation of code annotations approach in object-oriented software with location transparency, whereas definitions can occur in different parts of source code related to the target element. An evaluation with a meta-framework supports our hypothesis that the approach is capable of decoupling the annotation location from the validation rules.
Keywords Java
Code Annotation
Metadata
Validation
Framework
Language English
Date 2016
Published in Computational Science And Its Applications - Iccsa 2016, Pt Iv. Cham, v. 9789, p. 422-438, 2016.
ISSN 0302-9743 (Sherpa/Romeo, impact factor)
Publisher Elsevier Ireland Ltd
Extent 422-438
Origin https://doi.org/10.1007/978-3-319-42089-9_30
Access rights Closed access
Type Conference paper
Web of Science ID WOS:000381935500030
URI http://repositorio.unifesp.br/handle/11600/49435

Show full item record




File

File Size Format View

There are no files associated with this item.

This item appears in the following Collection(s)

Search


Browse

Statistics

My Account