Automated Software Engineering · 2009 · 23 citations · 25 references
ComputingComputer ScienceProgramming LanguagesSoftware EngineeringSystems ProgrammingObject-oriented DesignObject-oriented ProgrammingSoftware DesignSoftware RefactoringAspect-oriented ProgrammingAutomated RefactoringExploratory Case StudyObject-oriented RefactoringRefactoringRefactoring DocumentationRefactoring MiningRefactoring Strategy
In this paper we propose a systematic strategy for migrating crosscutting concerns in existing object-oriented systems to aspect-oriented programming solutions. The proposed strategy consists of four steps: mining, exploration, documentation and refactoring of crosscutting concerns. We discuss in detail a new approach to refactoring to aspect-oriented programming that is fully integrated with our strategy, and apply the whole strategy to an object-oriented system, namely the JHotDraw framework. Moreover, we present a method to semi-automatically perform the aspect-introducing refactorings based on identified crosscutting concern sorts which is supported by a prototype tool called sair . We perform an exploratory case study in which we apply this tool on the same object-oriented system and compare its results with the results of manual migration in order to assess the feasibility of automated aspect refactoring. Both the refactoring tool sair and the results of the manual migration are made available as open-source, the latter providing the largest aspect-introducing refactoring available to date. We report on our experiences with conducting both case studies and reflect on the success and challenges of the migration process.
25
Design pattern implementation in Java and aspectJ
Jan Hannemann, Gregor Kiczales · 2002 · 575 citations
Computing, Computer Science, Design +16
Martin P. Robillard, Gail C. Murphy · 2002 · 289 citations
Navigating and querying code without getting lost
Doug Janzen, Kris De Volder · 2003 · 235 citations