TTC’15 Live Contest Case Study: Transformation of Java Annotations

Filip Křikava 1 Martin Monperrus 2
2 SPIRALS - Self-adaptation for distributed services and large software systems
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille (CRIStAL) - UMR 9189
Abstract : Java 5 introduced annotations as a systematic mean to attach syntactic meta-data to various elements of Java source code. Since then, annotations have been extensively used by a number of libraries, frameworks and tools to conveniently extend behaviour of Java programs that would otherwise have to be done manually or synthesised from external resources. The annotations are usually processed through reflection and the extended behaviour is injected into Java classes using aspect-oriented techniques or a direct byte code modification. However, in some cases, class-level instrumentation might not always be available neither desirable and therefore the transformation is done at the source code level. In this case study we focus on such source-level transformation. Concretely, the task is to inject behaviour specified by an annotation library that encapsulates common programming concerns such as logging, caching and a failure retry. The objective is to explore how are the contemporary transformation tools suitable for programming language transformations.
Type de document :
Communication dans un congrès
Transformation Tool Contest, Jul 2015, L'aquila, Italy. 2015
Liste complète des métadonnées
Contributeur : Krikava Filip <>
Soumis le : lundi 14 décembre 2015 - 12:41:23
Dernière modification le : vendredi 22 mars 2019 - 01:35:58
Document(s) archivé(s) le : samedi 29 avril 2017 - 12:53:47


Fichiers produits par l'(les) auteur(s)


  • HAL Id : hal-01242942, version 1


Filip Křikava, Martin Monperrus. TTC’15 Live Contest Case Study: Transformation of Java Annotations. Transformation Tool Contest, Jul 2015, L'aquila, Italy. 2015. 〈hal-01242942〉



Consultations de la notice


Téléchargements de fichiers