TTC’15 Live Contest Case Study: Transformation of Java Annotations - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2015

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

Résumé

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.
Fichier principal
Vignette du fichier
case-description.pdf (131.92 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-01242942 , version 1 (14-12-2015)

Identifiants

  • HAL Id : hal-01242942 , version 1

Citer

Filip Křikava, Martin Monperrus. TTC’15 Live Contest Case Study: Transformation of Java Annotations. Transformation Tool Contest, Louis Rose; Tassilo Horn; Filip Krikava, Jul 2015, L'aquila, Italy. ⟨hal-01242942⟩
702 Consultations
50 Téléchargements

Partager

More