diff options
Diffstat (limited to 'tutorial')
-rw-r--r-- | tutorial/tutorial.html | 6 | ||||
-rw-r--r-- | tutorial/tutorial2.html | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tutorial/tutorial.html b/tutorial/tutorial.html index c2d54a87..f591abe7 100644 --- a/tutorial/tutorial.html +++ b/tutorial/tutorial.html @@ -76,7 +76,9 @@ specified key. If such a <code>CtClass</code> object is not found, then returned as the resulting value of <code>get()</code>. <p>The <code>CtClass</code> object obtained from a <code>ClassPool</code> -object can be modified. +object can be modified +(<a href="tutorial2.html#intro">details of how to modify +a <code>CtClass</code></a> will be presented later). In the example above, it is modified so that the superclass of <code>test.Rectangle</code> is changed into a class <code>test.Point</code>. This change is reflected on the original @@ -101,7 +103,7 @@ Class clazz = cc.toClass(); <p><code>toClass()</code> requests the context class loader for the current thread to load the class file represented by the <code>CtClass</code>. It returns a <code>java.lang.Class</code> object representing the loaded class. -For more details, please see <a href="#toclass">the following section</a>. +For more details, please see <a href="#toclass">this section below</a>. <a name="def"> <h4>Defining a new class</h4> diff --git a/tutorial/tutorial2.html b/tutorial/tutorial2.html index 50ee8ec0..484e85ec 100644 --- a/tutorial/tutorial2.html +++ b/tutorial/tutorial2.html @@ -102,7 +102,7 @@ representing a <code>method_info</code> structure included in a class file. The low-level API uses the vocabulary from the Java Virtual machine specification. The users must have the knowledge about class files and bytecode. For more details, the users should see the -<code>javassist.bytecode</code> package. +<a href="tutorial3.html#intro"><code>javassist.bytecode</code> package</a>. <p>The class files modified by Javassist requires the <code>javassist.runtime</code> package for runtime support |