Skip to Main content Skip to Navigation
New interface
Conference papers

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 - 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.
Document type :
Conference papers
Complete list of metadata
Contributor : Krikava Filip Connect in order to contact the contributor
Submitted on : Monday, December 14, 2015 - 12:41:23 PM
Last modification on : Tuesday, December 6, 2022 - 12:42:13 PM
Long-term archiving on: : Saturday, April 29, 2017 - 12:53:47 PM


Files produced by the author(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, Louis Rose; Tassilo Horn; Filip Krikava, Jul 2015, L'aquila, Italy. ⟨hal-01242942⟩



Record views


Files downloads