Rejuvenate Pointcut: A Tool for Pointcut Expression Recovery in Evolving Aspect-Oriented Software

Raffi T. Khatchadourian, Awais Rashid
2008 2008 Eighth IEEE International Working Conference on Source Code Analysis and Manipulation  
Aspect-Oriented Programming (AOP) strives to localize the scattered and tangled implementations of crosscutting concerns (CCCs) by allowing developers to declare that certain actions (advice) should be taken at specific points (join points) during the execution of software where a CCC (an aspect) is applicable. However, it is non-trivial to construct optimal pointcut expressions (a collection of join points) that capture the true intentions of the programmer and, upon evolution, maintain these
more » ... on, maintain these intentions. We demonstrate an AspectJ source-level inferencing tool called REJU-VENATE POINTCUT which helps developers maintain pointcut expressions over the lifetime of a software product. A key insight into the tool's construction is that the problem of maintaining pointcut expressions bears strong similarity to the requirements traceability problem in software engineering; hence, the underlying algorithm was devised by adapting existing approaches for requirements traceability to pointcut maintenance. The Eclipse IDE-based tool identifies intention graph patterns pertaining to a pointcut and, based on these patterns, uncovers other potential join points that may fall within the scope of the pointcut with a given confidence. This work represents a significant step towards providing tool-supported maintainability for evolving aspect-oriented software. Eighth IEEE International Working Conference on Source Code Analysis and Manipulation 978-0-7695-3353-7/08 $25.00
doi:10.1109/scam.2008.32 dblp:conf/scam/KhatchadourianR08 fatcat:md6rk5yw6bcx7muju3c372fvxa