The separation of crosscutting concerns offered by Aspect Oriented Programming (AOP) is attractive and its usefulness is easily recognized by programmers. However, it might be difficult to devise a way to migrate an existing system to the new paradigm. Moreover, lack of experience in Aspect oriented Design could lead to a poor organization of the program. Methods, techniques, and tools are therefore needed to support migration to and evolution of aspect oriented code. In this paper, a catalog of refactorings is presented, aimed at helping programmers migrato to AOP or improve the design of existing systems developed in the AOP paradigm. The proposed refactorins consist of simple, atomic operations, such a s moving a method from a class to an aspect, which can be combined to obtain major changes. This gives programmers control over the migration/evolution process. If combined with automated regression testing, they allow a smooth, incremental update of the system with no undesired ripple effect
A Catalog of Aspect Oriented Refactorings
Tonella, Paolo
2003-01-01
Abstract
The separation of crosscutting concerns offered by Aspect Oriented Programming (AOP) is attractive and its usefulness is easily recognized by programmers. However, it might be difficult to devise a way to migrate an existing system to the new paradigm. Moreover, lack of experience in Aspect oriented Design could lead to a poor organization of the program. Methods, techniques, and tools are therefore needed to support migration to and evolution of aspect oriented code. In this paper, a catalog of refactorings is presented, aimed at helping programmers migrato to AOP or improve the design of existing systems developed in the AOP paradigm. The proposed refactorins consist of simple, atomic operations, such a s moving a method from a class to an aspect, which can be combined to obtain major changes. This gives programmers control over the migration/evolution process. If combined with automated regression testing, they allow a smooth, incremental update of the system with no undesired ripple effectI documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.