OpenGrey (Institut de l'Information Scientifique et Technique) · 2001 · 35 citations · 9 references
ComputingComputer ScienceCompilersProgramming LanguagesSoftware EngineeringObject-oriented ProgrammingSoftware ConstructionSoftware Design
Many authors have proposed using byte code rewriting as a way of adapting or extending the behaviour of Java classes. There are toolkits available that simplify this process and raise the level of abstraction above byte code. However, to the best of our knowledge, none of these toolkits provide a complete model of behavioural reflection for Java. In this paper, we describe how we have used load-time byte code rewriting techniques to construct a runtime metaobject protocol for Java that can be used to adapt and customise the behaviour of Java classes in a more flexible and abstract way. Apart from providing a better semantic basis for byte code rewriting techniques, our approach also has the advantage over other reflective Java implementations that it doesn't require a modified compiler or JVM, can operate on byte code rather than source code and cannot be bypassed. In this paper we describe the implementation of Kava, our reflective implementation of Java, and discuss some of the lingu...
9
The art of the metaobject protocol
Choice Reviews Online · 1992 · 1K citations
Concepts and experiments in computational reflection
Pattie Maes · 1987 · 1K citations
Grzegorz Czajkowski, Thorsten von Eicken · 1998 · 221 citations
Automatic program transformation with JOIE
Geoff A. Cohen, Jeffrey S. Chase, David Kaminsky · 1998 · 135 citations
Load-time Structural Reflection in Java
Shigeru Chiba · 2000 · 66 citations