In this paper, we contribute to the characterisation of a programming style specific to aspect-oriented programming. For this purpose, we present a collection of refactorings for aspect-oriented source code, comprising refactorings to enable extraction to aspects of crosscutting concerns from object-oriented legacy code, the subsequent tidying up of the extracted aspects and factoring out of common code from similar aspects to superaspects. The second group of refactorings is documented in detail. In addition, we propose some new aspect-oriented code smells, including one smell that is specific to aspect modules. We also propose a reinterpretation of some of the traditional object-oriented code smells in the light of aspect-orientation, to detect the presence of crosscutting concerns. © Springer-Verlag Berlin Heidelberg 2006.
CITATION STYLE
Monteiro, M. P., & Fernandes, J. M. (2006). Towards a catalogue of refactorings and code smells for AspectJ. Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 3880 LNCS, 214–258. https://doi.org/10.1007/11687061_7
Mendeley helps you to discover research relevant for your work.