/Users/lyon/j4p/src/javassist/reflect/package.html
|
1 <html>
2 <body>
3 Runtime Reflection.
4
5 <p>This package enables a metaobject to trap method calls and field
6 accesses on a regular Java object. It provides a class
7 <code>Reflection</code>, which is a main module for implementing
8 runtime reflection.
9 It also provides
10 a class <code>Loader</code> and <code>Compiler</code>
11 as utilities for dynamically or statically
12 translating a regular class into a reflective class.
13
14 <p>An instance of the reflective class is associated with
15 a runtime metaobject and a runtime class metaobject, which control
16 the behavior of that instance.
17 The runtime
18 metaobject is created for every (base-level) instance but the
19 runtime class metaobject is created for every (base-level) class.
20 <code>Metaobject</code> is the root class of the runtime
21 metaobject and <code>ClassMetaobject</code> is the root class
22 of the runtime class metaobject.
23
24 <p>This package is provided as a sample implementation of the
25 reflection mechanism with Javassist. All the programs in this package
26 uses only the regular Javassist API; they never call any hidden
27 methods.
28
29 <p>The most significant class in this package is <code>Reflection</code>.
30 See the description of this class first.
31
32 </body>
33 </html>
34