From c7daae52ad26ce59e5e14b297ece8322fb4acc4d Mon Sep 17 00:00:00 2001 From: chibash Date: Tue, 6 Jan 2015 12:20:00 +0900 Subject: fixed javadoc bugs --- javassist.jar | Bin 723015 -> 723045 bytes src/main/javassist/Loader.java | 13 +++++-------- src/main/javassist/bytecode/analysis/Analyzer.java | 4 ++-- .../javassist/bytecode/analysis/MultiType.java | 12 ++++++------ .../javassist/tools/reflect/ClassMetaobject.java | 2 +- src/main/javassist/tools/reflect/Loader.java | 6 ++---- 6 files changed, 16 insertions(+), 21 deletions(-) diff --git a/javassist.jar b/javassist.jar index 254637c9..c174dcb4 100644 Binary files a/javassist.jar and b/javassist.jar differ diff --git a/src/main/javassist/Loader.java b/src/main/javassist/Loader.java index bda1432d..93f3ce34 100644 --- a/src/main/javassist/Loader.java +++ b/src/main/javassist/Loader.java @@ -245,11 +245,9 @@ public class Loader extends ClassLoader { *

This method calls run(). * * @param args command line parameters. - *

* * @see javassist.Loader#run(String[]) */ @@ -262,11 +260,10 @@ public class Loader extends ClassLoader { * Loads a class and calls main() in that class. * * @param args command line parameters. - * */ public void run(String[] args) throws Throwable { int n = args.length - 1; diff --git a/src/main/javassist/bytecode/analysis/Analyzer.java b/src/main/javassist/bytecode/analysis/Analyzer.java index 23a7cc02..656a1741 100644 --- a/src/main/javassist/bytecode/analysis/Analyzer.java +++ b/src/main/javassist/bytecode/analysis/Analyzer.java @@ -59,13 +59,13 @@ import javassist.bytecode.Opcode; * // 5: new #18; //class java/lang/Double * // 8: dup * // 9: dconst_0 - * // 10: invokespecial #44; //Method java/lang/Double."":(D)V + * // 10: invokespecial #44; //Method java/lang/Double."<init>":(D)V * // 13: astore_2 * // 14: goto 26 * // 17: new #16; //class java/lang/Long * // 20: dup * // 21: lconst_1 - * // 22: invokespecial #47; //Method java/lang/Long."":(J)V + * // 22: invokespecial #47; //Method java/lang/Long."<init>":(J)V * // 25: astore_2 * // 26: aload_2 * // 27: areturn diff --git a/src/main/javassist/bytecode/analysis/MultiType.java b/src/main/javassist/bytecode/analysis/MultiType.java index c06fa2cb..7baa661a 100644 --- a/src/main/javassist/bytecode/analysis/MultiType.java +++ b/src/main/javassist/bytecode/analysis/MultiType.java @@ -22,19 +22,19 @@ import java.util.Map; import javassist.CtClass; /** - * MultiType represents an unresolved type. Whenever two Type + * MultiType represents an unresolved type. Whenever two {@code Type} * instances are merged, if they share more than one super type (either an - * interface or a superclass), then a MultiType is used to - * represent the possible super types. The goal of a MultiType + * interface or a superclass), then a {@code MultiType} is used to + * represent the possible super types. The goal of a {@code MultiType} * is to reduce the set of possible types down to a single resolved type. This * is done by eliminating non-assignable types from the typeset when the - * MultiType is passed as an argument to + * {@code MultiType} is passed as an argument to * {@link Type#isAssignableFrom(Type)}, as well as removing non-intersecting * types during a merge. * - * Note: Currently the MultiType instance is reused as much + * Note: Currently the {@code MultiType} instance is reused as much * as possible so that updates are visible from all frames. In addition, all - * MultiType merge paths are also updated. This is somewhat + * {@code MultiType} merge paths are also updated. This is somewhat * hackish, but it appears to handle most scenarios. * * @author Jason T. Greene diff --git a/src/main/javassist/tools/reflect/ClassMetaobject.java b/src/main/javassist/tools/reflect/ClassMetaobject.java index 6b6e3cae..c958053f 100644 --- a/src/main/javassist/tools/reflect/ClassMetaobject.java +++ b/src/main/javassist/tools/reflect/ClassMetaobject.java @@ -337,7 +337,7 @@ public class ClassMetaobject implements Serializable { * original name. * *

This method is useful, in conjuction with - * {@link ClassMetaobject#getMethod()}, to obtain a quick reference + * {@link ClassMetaobject#getMethod(int)}, 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/Loader.java b/src/main/javassist/tools/reflect/Loader.java index 36de3d6e..ad4dfa55 100644 --- a/src/main/javassist/tools/reflect/Loader.java +++ b/src/main/javassist/tools/reflect/Loader.java @@ -115,11 +115,9 @@ public class Loader extends javassist.Loader { * and calls main() in that class. * * @param args command line parameters. - *

    - * args[0] is the class name to be loaded. - *
    args[1..n] are parameters passed + *
      args[0] is the class name to be loaded. + *
      args[1..n] are parameters passed * to the target main(). - *
*/ public static void main(String[] args) throws Throwable { Loader cl = new Loader(); -- cgit v1.2.3