ABSTRACT
This ongoing work presents a methodology to extend the pointcut language of AspectJ based on macro definitions. The main features of the proposed approach are: syntax extension in a very exible way; arguments for new pointcuts are defined by other pointcuts; the semantics of new point-cuts is given by a translation to pure AspectJ, defining precisely the code to be executed at weave time and at runtime. One of the main goals of this methodology is to provide an efficient implementation of the extension mechanism
- T. Aotani and H. Masuhara. Scope: an aspectj compiler for supporting user-defined analysis-based pointcuts. In AOSD '07: Proceedings of the 6th international conference on Aspect-oriented software development, pages 161--172, New York, NY, USA, 2007. ACM. Google ScholarDigital Library
- P. Avgustinov, A. S. Christensen, L. Hendren, S. Kuzins, J. Lhoták, O. Lhoták, O. de Moor, D. Sereni, G. Sittampalam, and J. Tibble. abc: an extensible aspectj compiler. In AOSD '05: Proceedings of the 4th international conference on Aspect-oriented software development, pages 87--98, New York, NY, USA, 2005. ACM. Google ScholarDigital Library
- C. Breuel and F. Reverbel. User-defined join point selectors -- an extension mechanism for pointcut languages. Journal of Object Technology, 7(9):5--24, 2008.Google ScholarCross Ref
- S. Chiba and K. Nakagawa. Josh: an open aspectj-like language. In AOSD '04: Proceedings of the 3rd international conference on Aspect-oriented software development, pages 102--111, New York, NY, USA, 2004. ACM. Google ScholarDigital Library
- V. O. Di Iorio, L. V. d. S. Reis, R. d. S. Bigonha, and M. A. d. S. Bigonha. A proposal for extensible AspectJ. In DSAL '09: Proceedings of the 4th Workshop on Domain-Specific Aspect Languages, pages 21--24, New York, NY, USA, 2009. ACM. Google ScholarDigital Library
- V. O. Di Iorio, L. V. d. S. Reis, C. Trevenzoli, and L. E. d. S. Amorim. Implementation of user-defined pointcuts in the XAJ language. In Proceedings of the IV Latin American Workshop on Aspect-Oriented Software Development, volume 9, pages 43--48, 2010.Google Scholar
- M. Eichberg, M. Mezini, and K. Ostermann. Pointcuts as functional queries. In APLAS, pages 366--381, 2004.Google ScholarCross Ref
- K. Ostermann, M. Mezini, and C. Bockisch. Expressive pointcuts for increased modularity. In S. LNCS 3586, editor, 19th European Conference on Object-Oriented Programming (ECOOP), 2005. Google ScholarDigital Library
Index Terms
- Weave time macros
Recommendations
Implementing aspect-oriented programming constructs as modular language extensions
Extensible programming languages and their compilers are experimental systems that use highly modular specifications of languages and language extensions in order to allow a variety of language features to be easily imported, by the programmer, into his ...
A proposal for extensible AspectJ
DSAL '09: Proceedings of the 4th workshop on Domain-specific aspect languagesThis article presents the preliminary results achieved while working with a language to define extensions to the concrete syntax of AspectJ. The language uses the concept of syntax classes, units that extend classes with syntax definitions, building ...
Interaction awareness for aspect refactoring
AOAsia '13: Proceedings of the 8th international workshop on Advanced modularization techniquesAspect Refactoring includes two phases: aspect mining and aspect extraction. Aspect mining is used to identify crosscutting concerns from the OO program. Aspect extraction extracts the identified crosscutting concerns from the OO program and refactors ...
Comments