• DocumentCode
    3686798
  • Title

    Unified compile-time and runtime java annotation processing

  • Author

    Peter Pigula;Milan Nosál´

  • Author_Institution
    Technical University of Koš
  • fYear
    2015
  • Firstpage
    965
  • Lastpage
    975
  • Abstract
    Java provides two different options for processing source code annotations. One of them is the annotation processing API used in compile time, and the other is the Reflection API used in runtime. Both options provide different API for accessing program metamodel. In this paper, we examine the differences between those representations and we discuss options on how to unify these models along with advantages and disadvantages of this approach. Based on this proposal, we design a unified Java language model and present a prototype tool which can populate a unified model during both compilation and runtime. The paper includes the designed API of this unified language model. To verify our approach, we have performed experiments to show the usability of the unified metamodel.
  • Keywords
    "Metadata","Runtime","Object oriented modeling","Adaptation models","Java","Production facilities"
  • Publisher
    ieee
  • Conference_Titel
    Computer Science and Information Systems (FedCSIS), 2015 Federated Conference on
  • Type

    conf

  • DOI
    10.15439/2015F179
  • Filename
    7321547