I-Java: An Extension of Java with Incomplete Objects and Object Composition [chapter]

Lorenzo Bettini, Viviana Bono, Erica Turin
2009 Lecture Notes in Computer Science  
Object composition is often advocated as a more flexible alternative to standard class inheritance since it takes place at run-time, thus permitting the behavior of objects to be specialized dynamically. In this paper we present I-Java, an extension of the Java language with a form of incomplete objects, i.e., objects with some missing methods which can be provided at run-time by composition with another (complete) object. Therefore, we can exploit object composition as a linguistic construct,
more » ... nstead of resorting to a manual implementation. This work builds on our theoretical model of incomplete objects, which was proved typesafe.
doi:10.1007/978-3-642-02655-3_4 fatcat:sm36ivshkbag5ifrmeabejv2gu