Refactoring Composite to Visitor and Inverse Transformation in Java

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.

Data and Resources

Additional Info

Field Value
Source https://hal.science/hal-00652872
Author Ajouli, Akram, Cohen, Julien
Maintainer CCSD
Last Updated May 10, 2026, 12:37 (UTC)
Created May 10, 2026, 12:37 (UTC)
Identifier hal-00652872
Language en
Rights https://about.hal.science/hal-authorisation-v1/
contributor Aspect and composition languages (ASCOLA) ; Laboratoire d'Informatique de Nantes Atlantique (LINA) ; Mines Nantes (Mines Nantes)-Université de Nantes - UFR des Sciences et des Techniques (UN UFR ST) ; Université de Nantes (UN)-Université de Nantes (UN)-Centre National de la Recherche Scientifique (CNRS)-Mines Nantes (Mines Nantes)-Université de Nantes - UFR des Sciences et des Techniques (UN UFR ST) ; Université de Nantes (UN)-Université de Nantes (UN)-Centre National de la Recherche Scientifique (CNRS)-Département informatique - EMN ; Mines Nantes (Mines Nantes)-Centre Inria de l'Université de Rennes ; Institut National de Recherche en Informatique et en Automatique (Inria)-Institut National de Recherche en Informatique et en Automatique (Inria)
creator Ajouli, Akram
date 2013-07-01T00:00:00
harvest_object_id 8da8a493-6cc3-457e-bf8d-553f78f7a1f6
harvest_source_id 3374d638-d20b-4672-ba96-a23232d55657
harvest_source_title test moissonnage SELUNE
metadata_modified 2025-04-04T00:00:00
relation info:eu-repo/semantics/altIdentifier/arxiv/1112.4271
set_spec type:REPORT