Abstract

In this paper, we propose role-oriented programming, which is realized in the language Object Teams/Java, as an alternative approach toward modularizing context-dependent concerns. We aim to integrate the benefits of quantification without introducing issues related to encapsulation and robustness. A language extension to Object Teams is presented by combining quantification with role-playing. It is achieved by querying the static program structure and transforming the code by using logic meta programming in Prolog. We discuss the query mechanism in detail in the text.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call