An important challenge with respect to aspect-oriented programming is to make this technology easier to use, so that it becomes accessible to a larger number of developers. We address this challenge with a new pointcut language based on the concept of code query by example. Our framework can be used to denote code patterns, which are difficult to express using traditional join point languages. A further benefit of our approach is that it can be used to denote join points at almost arbitrary locations inside method bodies - without sacrificing obliviousness. Finally, a particularity of our pointcut language is that it is embedded in a general purpose language.We outline the benefits, and limitations of our framework, and we summarize the implementation of a prototype
Aspect Oriented Programming Made Easy: An Embedded Pointcut Language
CISTERNINO, ANTONIO;
2009-01-01
Abstract
An important challenge with respect to aspect-oriented programming is to make this technology easier to use, so that it becomes accessible to a larger number of developers. We address this challenge with a new pointcut language based on the concept of code query by example. Our framework can be used to denote code patterns, which are difficult to express using traditional join point languages. A further benefit of our approach is that it can be used to denote join points at almost arbitrary locations inside method bodies - without sacrificing obliviousness. Finally, a particularity of our pointcut language is that it is embedded in a general purpose language.We outline the benefits, and limitations of our framework, and we summarize the implementation of a prototypeI documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.