English

Refactoring Composite to Visitor and Inverse Transformation in Java

Software Engineering 2013-07-02 v3

Abstract

We describe how to use refactoring tools to transform a Java program conforming to the Composite design pattern into a program conforming to the Visitor design pattern with the same external behavior. We also describe the inverse transformation. We use the refactoring tool provided by IntelliJ IDEA.

Cite

@article{arxiv.1112.4271,
  title  = {Refactoring Composite to Visitor and Inverse Transformation in Java},
  author = {Akram Ajouli and Julien Cohen},
  journal= {arXiv preprint arXiv:1112.4271},
  year   = {2013}
}
R2 v1 2026-06-21T19:53:35.940Z