Publication Type

Conference Proceeding Article

Version

publishedVersion

Publication Date

7-2019

Abstract

The program transformation tool Coccinelle is designed for making changes that is required in many locations within a software project. It has been shown to be useful for C code and has been been adopted for use in the Linux kernel by many developers. Over 6000 commits mentioning the use of Coccinelle have been made in the Linux kernel. Our artifact, Coccinelle4J, is an extension to Coccinelle in order for it to apply program transformations to Java source code. This artifact accompanies our experience report “Semantic Patches for Java Program Transformation”, in which we show a case study of applying code transformations to upgrade usage of deprecated Android API methods to replacement API methods.

Keywords

Program transformation, Java, semantic patches, automatic program transformation

Discipline

Programming Languages and Compilers | Software Engineering

Research Areas

Software and Cyber-Physical Systems

Publication

33rd European Conference on Object-Oriented Programming (ECOOP 2019): London, July 15-19: Proceedings

Volume

5

First Page

10:1

Last Page

3

ISBN

9783959771115

Identifier

10.4230/DARTS.3.2.1

Publisher

Dagstuhl Publishing

City or Country

Dagstuhl

Copyright Owner and License

Authors

Creative Commons License

Creative Commons Attribution-Share Alike 4.0 International License
This work is licensed under a Creative Commons Attribution-Share Alike 4.0 International License.

Additional URL

https://doi.org/10.4230/DARTS.3.2.1

Share

COinS