diff options
author | chibash <chiba@javassist.org> | 2015-06-25 00:28:31 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2015-06-25 00:28:31 +0900 |
commit | 4448bdae02290a7e34420f932df2facf4599acf1 (patch) | |
tree | 7433950aa93eb31fa565a2ea460bb513483d240c /src | |
parent | d9653a3483fbdfd0e883ee5bdeec4f4adab279c5 (diff) | |
download | javassist-4448bdae02290a7e34420f932df2facf4599acf1.tar.gz javassist-4448bdae02290a7e34420f932df2facf4599acf1.zip |
final updates for 3.20.0-GA releaserel_3_20_0_ga
Diffstat (limited to 'src')
-rw-r--r-- | src/main/META-INF/MANIFEST.MF | 2 | ||||
-rw-r--r-- | src/main/javassist/bytecode/ClassFile.java | 5 | ||||
-rw-r--r-- | src/main/javassist/tools/Callback.java | 14 |
3 files changed, 9 insertions, 12 deletions
diff --git a/src/main/META-INF/MANIFEST.MF b/src/main/META-INF/MANIFEST.MF index c7bad8e9..28b3763b 100644 --- a/src/main/META-INF/MANIFEST.MF +++ b/src/main/META-INF/MANIFEST.MF @@ -1,4 +1,4 @@ Specification-Title: Javassist Specification-Vendor: Shigeru Chiba, www.javassist.org -Specification-Version: 3.19.0-GA +Specification-Version: 3.20.0-GA Main-Class: javassist.CtClass diff --git a/src/main/javassist/bytecode/ClassFile.java b/src/main/javassist/bytecode/ClassFile.java index f27ff4d8..9e12c08d 100644 --- a/src/main/javassist/bytecode/ClassFile.java +++ b/src/main/javassist/bytecode/ClassFile.java @@ -30,7 +30,7 @@ import javassist.CannotCompileException; * <code>ClassFile</code> represents a Java <code>.class</code> file, which * consists of a constant pool, methods, fields, and attributes. * - * <p>For example, + * <p>For example,</p> * <blockquote><pre> * ClassFile cf = new ClassFile(false, "test.Foo", null); * cf.setInterfaces(new String[] { "java.lang.Cloneable" }); @@ -41,14 +41,13 @@ import javassist.CannotCompileException; * * cf.write(new DataOutputStream(new FileOutputStream("Foo.class"))); * </pre></blockquote> - * This code generates a class file <code>Foo.class</code> for the following class: + * <p>This code generates a class file <code>Foo.class</code> for the following class:</p> * <blockquote><pre> * package test; * class Foo implements Cloneable { * public int width; * } * </pre></blockquote> - * </p> * * @see FieldInfo * @see MethodInfo diff --git a/src/main/javassist/tools/Callback.java b/src/main/javassist/tools/Callback.java index 26a4200e..56c87414 100644 --- a/src/main/javassist/tools/Callback.java +++ b/src/main/javassist/tools/Callback.java @@ -25,26 +25,24 @@ import java.util.UUID; /** * Creates bytecode that when executed calls back to the instance's result method. * - * Example of how to create and insert a callback: - * <pre>{@code + * <p>Example of how to create and insert a callback:</p> + * <pre> * ctMethod.insertAfter(new Callback("Thread.currentThread()") { - * @literal@Override * public void result(Object... objects) { * Thread thread = (Thread) objects[0]; * // do something with thread... * } * }.sourceCode()); - * }</pre> - * Contains utility methods for inserts callbacks in <code>CtBehaviour</code>, example: - * <pre>{@code + * </pre> + * <p>Contains utility methods for inserts callbacks in <code>CtBehaviour</code>, example:</p> + * <pre> * insertAfter(ctBehaviour, new Callback("Thread.currentThread(), dummyString") { - * @literal@Override * public void result(Object... objects) { * Thread thread = (Thread) objects[0]; * // do something with thread... * } * }); - * }</pre> + * </pre> * * @author Marten Hedborg */ |