aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/tools
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/tools')
-rw-r--r--src/main/javassist/tools/Dump.java2
-rw-r--r--src/main/javassist/tools/framedump.java2
-rw-r--r--src/main/javassist/tools/reflect/ClassMetaobject.java8
-rw-r--r--src/main/javassist/tools/reflect/Compiler.java4
-rw-r--r--src/main/javassist/tools/reflect/Loader.java16
-rw-r--r--src/main/javassist/tools/reflect/Metaobject.java10
-rw-r--r--src/main/javassist/tools/reflect/Reflection.java8
-rw-r--r--src/main/javassist/tools/rmi/ObjectImporter.java4
-rw-r--r--src/main/javassist/tools/rmi/StubGenerator.java4
-rw-r--r--src/main/javassist/tools/web/Viewer.java6
10 files changed, 33 insertions, 31 deletions
diff --git a/src/main/javassist/tools/Dump.java b/src/main/javassist/tools/Dump.java
index 672d1d09..b22825e0 100644
--- a/src/main/javassist/tools/Dump.java
+++ b/src/main/javassist/tools/Dump.java
@@ -26,7 +26,7 @@ import javassist.bytecode.ClassFilePrinter;
* the class file is broken.
*
* <p>For example,
- * <ul><pre>% java javassist.tools.Dump foo.class</pre></ul>
+ * <pre>% java javassist.tools.Dump foo.class</pre>
*
* <p>prints the contents of the constant pool and the list of methods
* and fields.
diff --git a/src/main/javassist/tools/framedump.java b/src/main/javassist/tools/framedump.java
index 43a2beb6..57c21c8b 100644
--- a/src/main/javassist/tools/framedump.java
+++ b/src/main/javassist/tools/framedump.java
@@ -24,7 +24,7 @@ import javassist.bytecode.analysis.FramePrinter;
* of all methods in a class.
*
* <p>For example,
- * <ul><pre>% java javassist.tools.framedump foo.class</pre></ul>
+ * <pre>% java javassist.tools.framedump foo.class</pre>
*/
public class framedump {
private framedump() {}
diff --git a/src/main/javassist/tools/reflect/ClassMetaobject.java b/src/main/javassist/tools/reflect/ClassMetaobject.java
index e6a933cd..6b6e3cae 100644
--- a/src/main/javassist/tools/reflect/ClassMetaobject.java
+++ b/src/main/javassist/tools/reflect/ClassMetaobject.java
@@ -33,8 +33,8 @@ import java.io.ObjectOutputStream;
* <p>To obtain a class metaobject, calls <code>_getClass()</code>
* on a reflective object. For example,
*
- * <ul><pre>ClassMetaobject cm = ((Metalevel)reflectiveObject)._getClass();
- * </pre></ul>
+ * <pre>ClassMetaobject cm = ((Metalevel)reflectiveObject)._getClass();
+ * </pre>
*
* @see javassist.tools.reflect.Metaobject
* @see javassist.tools.reflect.Metalevel
@@ -56,7 +56,7 @@ public class ClassMetaobject implements Serializable {
* Specifies how a <code>java.lang.Class</code> object is loaded.
*
* <p>If true, it is loaded by:
- * <ul><pre>Thread.currentThread().getContextClassLoader().loadClass()</pre></ul>
+ * <pre>Thread.currentThread().getContextClassLoader().loadClass()</pre>
* <p>If false, it is loaded by <code>Class.forName()</code>.
* The default value is false.
*/
@@ -337,7 +337,7 @@ public class ClassMetaobject implements Serializable {
* original name.
*
* <p>This method is useful, in conjuction with
- * <link>ClassMetaobject#getMethod()</link>, to obtain a quick reference
+ * {@link ClassMetaobject#getMethod()}, to obtain a quick reference
* to the original method in the reflected class (i.e. not the proxy
* method), using the original name of the method.
*
diff --git a/src/main/javassist/tools/reflect/Compiler.java b/src/main/javassist/tools/reflect/Compiler.java
index ce925ea7..3114fd89 100644
--- a/src/main/javassist/tools/reflect/Compiler.java
+++ b/src/main/javassist/tools/reflect/Compiler.java
@@ -50,8 +50,8 @@ class CompiledClass {
* by that class name is not reflective.
*
* <p>For example,
- * <ul><pre>% java Compiler Dog -m MetaDog -c CMetaDog Cat -m MetaCat Cow
- * </pre></ul>
+ * <pre>% java Compiler Dog -m MetaDog -c CMetaDog Cat -m MetaCat Cow
+ * </pre>
*
* <p>modifies class files <code>Dog.class</code>, <code>Cat.class</code>,
* and <code>Cow.class</code>.
diff --git a/src/main/javassist/tools/reflect/Loader.java b/src/main/javassist/tools/reflect/Loader.java
index 3a4a3f62..36de3d6e 100644
--- a/src/main/javassist/tools/reflect/Loader.java
+++ b/src/main/javassist/tools/reflect/Loader.java
@@ -27,7 +27,7 @@ import javassist.ClassPool;
* including a reflective class,
* you must write a start-up program as follows:
*
- * <ul><pre>
+ * <pre>
* public class Main {
* public static void main(String[] args) throws Throwable {
* javassist.tools.reflect.Loader cl
@@ -37,11 +37,11 @@ import javassist.ClassPool;
* cl.run("MyApp", args);
* }
* }
- * </pre></ul>
+ * </pre>
*
* <p>Then run this program as follows:
*
- * <ul><pre>% java javassist.tools.reflect.Loader Main arg1, ...</pre></ul>
+ * <pre>% java javassist.tools.reflect.Loader Main arg1, ...</pre>
*
* <p>This command runs <code>Main.main()</code> with <code>arg1</code>, ...
* and <code>Main.main()</code> runs <code>MyApp.main()</code> with
@@ -52,7 +52,7 @@ import javassist.ClassPool;
*
* <p>Also, you can run <code>MyApp</code> in a slightly different way:
*
- * <ul><pre>
+ * <pre>
* public class Main2 {
* public static void main(String[] args) throws Throwable {
* javassist.tools.reflect.Loader cl = new javassist.tools.reflect.Loader();
@@ -61,11 +61,11 @@ import javassist.ClassPool;
* cl.run("MyApp", args);
* }
* }
- * </pre></ul>
+ * </pre>
*
* <p>This program is run as follows:
*
- * <ul><pre>% java Main2 arg1, ...</pre></ul>
+ * <pre>% java Main2 arg1, ...</pre>
*
* <p>The difference from the former one is that the class <code>Main</code>
* is loaded by <code>javassist.tools.reflect.Loader</code> whereas the class
@@ -78,7 +78,7 @@ import javassist.ClassPool;
*
* <p>The class <code>Main2</code> is equivalent to this class:
*
- * <ul><pre>
+ * <pre>
* public class Main3 {
* public static void main(String[] args) throws Throwable {
* Reflection reflection = new Reflection();
@@ -89,7 +89,7 @@ import javassist.ClassPool;
* cl.run("MyApp", args);
* }
* }
- * </pre></ul>
+ * </pre>
*
* <p><b>Note:</b>
*
diff --git a/src/main/javassist/tools/reflect/Metaobject.java b/src/main/javassist/tools/reflect/Metaobject.java
index 181517a6..91a6126e 100644
--- a/src/main/javassist/tools/reflect/Metaobject.java
+++ b/src/main/javassist/tools/reflect/Metaobject.java
@@ -37,8 +37,9 @@ import java.io.ObjectOutputStream;
* <p>To obtain a metaobject, calls <code>_getMetaobject()</code>
* on a reflective object. For example,
*
- * <ul><pre>Metaobject m = ((Metalevel)reflectiveObject)._getMetaobject();
- * </pre></ul>
+ * <pre>
+ * Metaobject m = ((Metalevel)reflectiveObject)._getMetaobject();
+ * </pre>
*
* @see javassist.tools.reflect.ClassMetaobject
* @see javassist.tools.reflect.Metalevel
@@ -199,7 +200,8 @@ public class Metaobject implements Serializable {
* <p>Note: this method is not invoked if the base-level method
* is invoked by a constructor in the super class. For example,
*
- * <ul><pre>abstract class A {
+ * <pre>
+ * abstract class A {
* abstract void initialize();
* A() {
* initialize(); // not intercepted
@@ -212,7 +214,7 @@ public class Metaobject implements Serializable {
* super();
* initialize(); // intercepted
* }
- * }</pre></ul>
+ * }</pre>
*
* <p>if an instance of B is created,
* the invocation of initialize() in B is intercepted only once.
diff --git a/src/main/javassist/tools/reflect/Reflection.java b/src/main/javassist/tools/reflect/Reflection.java
index 30f8bb79..406ce3d5 100644
--- a/src/main/javassist/tools/reflect/Reflection.java
+++ b/src/main/javassist/tools/reflect/Reflection.java
@@ -35,16 +35,16 @@ import javassist.bytecode.MethodInfo;
*
* <p>To do this, the original class file representing a reflective class:
*
- * <ul><pre>
+ * <pre>
* class Person {
* public int f(int i) { return i + 1; }
* public int value;
* }
- * </pre></ul>
+ * </pre>
*
* <p>is modified so that it represents a class:
*
- * <ul><pre>
+ * <pre>
* class Person implements Metalevel {
* public int _original_f(int i) { return i + 1; }
* public int f(int i) { <i>delegate to the metaobject</i> }
@@ -57,7 +57,7 @@ import javassist.bytecode.MethodInfo;
* public Metaobject _getMetaobject() { <i>return a metaobject</i> }
* public void _setMetaobject(Metaobject m) { <i>change a metaobject</i> }
* }
- * </pre></ul>
+ * </pre>
*
* @see javassist.tools.reflect.ClassMetaobject
* @see javassist.tools.reflect.Metaobject
diff --git a/src/main/javassist/tools/rmi/ObjectImporter.java b/src/main/javassist/tools/rmi/ObjectImporter.java
index d909dae5..476ec3c8 100644
--- a/src/main/javassist/tools/rmi/ObjectImporter.java
+++ b/src/main/javassist/tools/rmi/ObjectImporter.java
@@ -100,10 +100,10 @@ public class ObjectImporter implements java.io.Serializable {
* <p>If you run a program with <code>javassist.tools.web.Viewer</code>,
* you can construct an object importer as follows:
*
- * <ul><pre>
+ * <pre>
* Viewer v = (Viewer)this.getClass().getClassLoader();
* ObjectImporter oi = new ObjectImporter(v.getServer(), v.getPort());
- * </pre></ul>
+ * </pre>
*
* @see javassist.tools.web.Viewer
*/
diff --git a/src/main/javassist/tools/rmi/StubGenerator.java b/src/main/javassist/tools/rmi/StubGenerator.java
index e42e6d65..6fc8dbcf 100644
--- a/src/main/javassist/tools/rmi/StubGenerator.java
+++ b/src/main/javassist/tools/rmi/StubGenerator.java
@@ -26,7 +26,7 @@ import javassist.CtMethod.ConstParameter;
*
* <p>The proxy class for class A is as follows:
*
- * <ul><pre>public class A implements Proxy, Serializable {
+ * <pre>public class A implements Proxy, Serializable {
* private ObjectImporter importer;
* private int objectId;
* public int _getObjectId() { return objectId; }
@@ -35,7 +35,7 @@ import javassist.CtMethod.ConstParameter;
* }
*
* ... the same methods that the original class A declares ...
- * }</pre></ul>
+ * }</pre>
*
* <p>Instances of the proxy class is created by an
* <code>ObjectImporter</code> object.
diff --git a/src/main/javassist/tools/web/Viewer.java b/src/main/javassist/tools/web/Viewer.java
index ec7addd3..69fe3536 100644
--- a/src/main/javassist/tools/web/Viewer.java
+++ b/src/main/javassist/tools/web/Viewer.java
@@ -28,7 +28,7 @@ import java.net.*;
*
* <p>To run, you should type:
*
- * <ul><code>% java javassist.tools.web.Viewer <i>host port</i> Main arg1, ...</code></ul>
+ * <pre>% java javassist.tools.web.Viewer <i>host port</i> Main arg1, ...</pre>
*
* <p>This command calls <code>Main.main()</code> with <code>arg1,...</code>
* All classes including <code>Main</code> are fetched from
@@ -42,10 +42,10 @@ import java.net.*;
* a program loaded by this object can call a method in <code>Viewer</code>.
* For example, you can write something like this:
*
- * <ul><pre>
+ * <pre>
* Viewer v = (Viewer)this.getClass().getClassLoader();
* String port = v.getPort();
- * </pre></ul>
+ * </pre>
*
*/
public class Viewer extends ClassLoader {