AbstractDynamic classification feature of an object-oriented programming language allows an object to change its class membership without changing its identity at runtime. The new membership of the object can be signified with a role, which is taken on by the object and which can be implemented as an object of the target class. Here, we propose an approach to extend the Java language with a dynamic classification mechanism, which can be implemented by extending the Java language, compiler, and standard library. We present a prototypical implementation of the mechanism to show the feasibility of the approach to dynamic classification. Note: Due to the typographical sophistication of this article, no HTML version is available. Please use the PDF version.
About the author
|
![]() |
![]() |
Dr. Liwu Li is a faculty member in
School of Computer Science at University of Windsor, Canada. His
research interests include object-oriented language design and
implementation, object-oriented software analysis and design, and
software process design and execution. He can be reached at liwu@uwindsor.ca. |
Cite this article as follows: Liwu Li: “Extending the Java Language with Dynamic Classification”, in Journal of Object Technology, vol. 3, no. 7, July-August 2004, pp. 101-120. http://www.jot.fm/issues/issue_2004_07/article2