Declarative Dynamic Object Reclassification

Publikation: Konference artikel i Proceeding eller bog/rapport kapitelKonferencebidrag i proceedingsForskningpeer review

Abstract

In object-oriented languages, dynamic object reclassification is a technique to change the class binding of an object at runtime. Current approaches express when and how to reclassify inside the program’s business code, while maintaining internal consistency. These approaches are less suited for programs that need to be consistent with an external context, such as autonomous systems interacting with a knowledge base. This paper proposes declarative dynamic object reclassification, a novel technique that provides a separation of concerns between a program’s business code and its adaptation logic for reclassification, expressed via a knowledge base. We present Featherweight Semantically Reflected Java, a minimal calculus for declarative dynamic object reclassification that enables the programmer to define consistency both internally (using a type system) and externally (using declarative classification queries). We use this calculus to study how internal and external consistency interact for declarative dynamic object reclassification. We further implement the technique by extending SMOL, a language for reflective programming via external knowledge bases.
OriginalsprogEngelsk
Titel39th European Conference on Object-Oriented Programming (ECOOP 2025) : Leibniz International Proceedings in Informatics
RedaktørerJonathan Aldrich, Alexandra Silva
ForlagSchloss Dagstuhl - Leibniz-Zentrum fuer Informatik GmbH
Publikationsdato25 jun. 2025
Sider29:1-29:31
ISBN (Elektronisk)978-3-95977-373-7
DOI
StatusUdgivet - 25 jun. 2025

Emneord

  • Dynamic Object Reclassification
  • Dynamic Software Updates
  • Featherweight Java
  • Knowledge Bases
  • Semantic Reflection
  • Type Soundness

Fingeraftryk

Dyk ned i forskningsemnerne om 'Declarative Dynamic Object Reclassification'. Sammen danner de et unikt fingeraftryk.

Citationsformater