|
|
@@ -39,7 +39,7 @@ Shigeru Chiba |
|
|
|
Java bytecode is stored in a binary file called a class file. |
|
|
|
Each class file contains one Java class or interface. |
|
|
|
|
|
|
|
<p>The class <code>Javassist.CtClass</code> is an absatract |
|
|
|
<p>The class <code>Javassist.CtClass</code> is an abstract |
|
|
|
representation of a class file. A <code>CtClass</code> (compile-time |
|
|
|
class) object is a handle for dealing with a class file. The |
|
|
|
following program is a very simple example: |
|
|
@@ -67,7 +67,7 @@ In the case of the program shown above, the |
|
|
|
<code>test.Rectangle</code> is obtained from the |
|
|
|
<code>ClassPool</code> object and it is assigned to a variable |
|
|
|
<code>cc</code>. |
|
|
|
The <code>ClassPool</code> object returned by <code>getDfault()</code> |
|
|
|
The <code>ClassPool</code> object returned by <code>getDefault()</code> |
|
|
|
searches the default system search path. |
|
|
|
|
|
|
|
<p>From the implementation viewpoint, <code>ClassPool</code> is a hash |