• DocumentCode
    3197346
  • Title

    Non-invasive and non-scattered annotations for more robust pointcuts

  • Author

    Silva, Leonardo ; Domingues, Samuel ; Valente, Marco Tulio

  • Author_Institution
    Inst. of Inf., Pontificia Univ. Catolica de Minas Gerais, Belo Horizonte
  • fYear
    2008
  • fDate
    Sept. 28 2008-Oct. 4 2008
  • Firstpage
    67
  • Lastpage
    76
  • Abstract
    Annotations are often mentioned as a potential alternative to tackle the fragile nature of AspectJ pointcuts. However, annotations themselves can be considered crosscutting elements because they are normally pervasive and tangled with business-specific functionality. In this paper, we propose a solution to the fragile pointcut problem in aspect-oriented programming that relies on non-invasive and non-scattered annotations. The central components of the proposed solution are so-called annotator aspects, that superimpose annotations to the base code in a non-invasive way. Moreover, annotator aspects are generated semiautomatically, from a declarative annotation definition language. The paper presents examples of using the proposed solution in pointcut descriptors of two real-world aspect-oriented systems. We also describe a case study that evaluates the robustness of the proposed solution in face of possible changes to the classical Figure Editor system.
  • Keywords
    object-oriented languages; object-oriented programming; aspect-oriented programming; business-specific functionality; crosscutting element; declarative annotation definition language; fragile pointcut problem; non invasive annotation; non scattered annotation; robust AspectJ pointcuts; Contracts; Informatics; Java; Power generation; Program processors; Programming profession; Robustness;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Maintenance, 2008. ICSM 2008. IEEE International Conference on
  • Conference_Location
    Beijing
  • ISSN
    1063-6773
  • Print_ISBN
    978-1-4244-2613-3
  • Electronic_ISBN
    1063-6773
  • Type

    conf

  • DOI
    10.1109/ICSM.2008.4658055
  • Filename
    4658055