Utilizing Design Information in Aspect-Oriented Programming

I. Nagy, Lodewijk Bergmans, W.K. Havinga, Mehmet Aksit

    Research output: Chapter in Book/Report/Conference proceedingConference contributionAcademicpeer-review

    29 Downloads (Pure)


    Traditionally in aspect-oriented languages, pointcut designators select joinpoints of a program based on lexical information such as explicit names of program elements. However, this reduces the adaptability of software, since it involves too much information that is hard-coded, and often implementationspecific. We claim that this problem can be reduced by referring to program units through their design intentions. Design intention is represented by annotated design information, which describes for example the behavior of a program element or its intended meaning. In this paper, we analyze four techniques that are regularly used in state-of-the-art object-oriented languages in associating design information with program elements. Also, the usage of design information in the weaving process of aspect-oriented languages is illustrated and their deficiencies are outlined. Accordingly, we formulate requirements for the proper application of design information in aspect-oriented programming. We discuss how to use design information for the superimposition of aspects, and how to apply superimposition to bind design information to program elements. To achieve this, we propose language abstractions that support semantic composition: the ability to compose aspects with the elements of the base program that incorporate certain design information. Based on this proposal, we show how the aspect-oriented language Compose* can be extended to support design information. We demonstrate the application of design information to improve the reusability of aspects. The paper ends with related works, a discussion, and conclusions.
    Original languageUndefined
    Title of host publicationProceedings of International Conference NetObjectDays, NODe2005
    EditorsRobert Hirschfeld, Ryszard Kowalczyk, Andreas Polze, Mathias Weske
    Place of PublicationBonn, Germany
    PublisherGesellschaft für Informatik
    Number of pages22
    ISBN (Print)3-88579-398-9
    Publication statusPublished - Sep 2005
    EventNet.ObjectDays, NODe 2005 - Erfurt, Germany, Erfurt
    Duration: 20 Sep 200522 Sep 2005

    Publication series

    NameLecture Notes in Informatics
    PublisherGesellschaft fuer Informatik (GI)
    ISSN (Print)1617-5468


    ConferenceNet.ObjectDays, NODe 2005
    OtherSeptember 20-22, 2005


    • METIS-228637
    • EWI-8911
    • IR-54441

    Cite this