• DocumentCode
    3727317
  • Title

    Composite annotations with inter-type declarations in aspect-oriented programming

  • Author

    Matej Palfi;Milan Nos?l´;Em?lia Pietrikov?

  • Author_Institution
    Profifox, Garbiarska 2, 040 71 Ko?ice, Slovakia
  • fYear
    2015
  • Firstpage
    195
  • Lastpage
    200
  • Abstract
    This paper discusses problem of repeating annotations´ clones in the code that is considered bad smell in annotations´ usage. Composite annotations compose a repeating group of annotations into a single one so that can be used instead of the repeating group. We propose a new approach to composite annotations implementation using aspect-oriented programming. We discuss the options for composite annotations available in the AspectJ language, explain the benefits of using our approach over the existing solutions, and identify AspectJ shortcomings that hamper full potential of AOP for composite annotations. The approach is presented on examples and includes guidelines for implementing composite annotations in AspectJ.
  • Keywords
    "Cloning","Programming","Informatics","XML","Conferences","Guidelines","Software"
  • Publisher
    ieee
  • Conference_Titel
    Scientific Conference on Informatics, 2015 IEEE 13th International
  • Print_ISBN
    978-1-4673-9867-1
  • Type

    conf

  • DOI
    10.1109/Informatics.2015.7377832
  • Filename
    7377832