an extension of Java with incomplete objects. This extension is based on the definition of specific annotations (thus the Java grammar is not extended). It provides a preprocessor that, given a program that uses our special annotations (for incomplete classes) and generates standard Java classes. Incomplete Objects The programmer, besides standard classes, can define incomplete classes whose instances are incomplete objects that can be composed in an object-based fashion. Hence, in our language it is possible: 1. to instantiate standard classes, obtaining fully-fledged objects ready to be used; 2. to instantiate incomplete classes, obtaining incomplete objects that can be composed (by object composition) with complete objects, thus yielding new complete objects at run-time; 3. in turn, to use a complete object obtained by composition for composing with other incomplete objects. .

Object composition

BETTINI, LORENZO;BONO, Viviana;
2010-01-01

Abstract

an extension of Java with incomplete objects. This extension is based on the definition of specific annotations (thus the Java grammar is not extended). It provides a preprocessor that, given a program that uses our special annotations (for incomplete classes) and generates standard Java classes. Incomplete Objects The programmer, besides standard classes, can define incomplete classes whose instances are incomplete objects that can be composed in an object-based fashion. Hence, in our language it is possible: 1. to instantiate standard classes, obtaining fully-fledged objects ready to be used; 2. to instantiate incomplete classes, obtaining incomplete objects that can be composed (by object composition) with complete objects, thus yielding new complete objects at run-time; 3. in turn, to use a complete object obtained by composition for composing with other incomplete objects. .
2010
0.2
Universita' di Torino.
https://sourceforge.net/projects/objcomposition
Object Composition; Compiler; Java.
Lorenzo Bettini; Viviana Bono; Emanuale Prestifilippo
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/84318
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact