diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2005-10-31 16:48:44 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2005-10-31 16:48:44 +0000 |
commit | bfdfdff690cdf56edb25ef28740da13dc2c86785 (patch) | |
tree | 835c3b9dae546c7e74e820670ba76569d62d165b /tutorial | |
parent | 361e1587797db769c1688f40e9f1cd4a9156701c (diff) | |
download | javassist-bfdfdff690cdf56edb25ef28740da13dc2c86785.tar.gz javassist-bfdfdff690cdf56edb25ef28740da13dc2c86785.zip |
added makeUniqueName() in CtClass.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@215 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
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 |