License: Creative Commons Attribution 3.0 Germany license (CC BY 3.0 DE)
When quoting this document, please refer to the following
DOI: 10.4230/DARTS.5.2.10
URN: urn:nbn:de:0030-drops-107875
Go back to Dagstuhl Artifacts Series

Kang, Hong Jin ; Thung, Ferdian ; Lawall, Julia ; Muller, Gilles ; Jiang, Lingxiao ; Lo, David

Semantic Patches for Java Program Transformation (Artifact)

DARTS-5-2-10.pdf (0.3 MB)


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.

BibTeX - Entry

  author =	{Hong Jin Kang and Ferdian Thung and Julia Lawall and Gilles Muller and Lingxiao Jiang and David Lo},
  title =	{{Semantic Patches for Java Program Transformation (Artifact)}},
  pages =	{10:1--10:3},
  journal =	{Dagstuhl Artifacts Series},
  ISSN =	{2509-8195},
  year =	{2019},
  volume =	{5},
  number =	{2},
  publisher =	{Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{},
  doi =		{10.4230/DARTS.5.2.10},
  annote =	{Keywords: Java, semantic patches, automatic program transformation}

Keywords: Java, semantic patches, automatic program transformation
Collection: Special Issue of the 33rd European Conference on Object-Oriented Programming (ECOOP 2019)
Related Scholarly Article:
Issue Date: 2019
Date of publication: 12.07.2019

DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI