Refactoring Composite to Visitor and Inverse Transformation in Java
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.
- Publication:
-
arXiv e-prints
- Pub Date:
- December 2011
- DOI:
- 10.48550/arXiv.1112.4271
- arXiv:
- arXiv:1112.4271
- Bibcode:
- 2011arXiv1112.4271A
- Keywords:
-
- Computer Science - Software Engineering