diff options
author | chibash <chiba@javassist.org> | 2015-01-07 11:58:16 +0900 |
---|---|---|
committer | chibash <chiba@javassist.org> | 2015-01-07 11:58:16 +0900 |
commit | e8c023af06f04877ccc83911c6f6900574486a6c (patch) | |
tree | 12dc96add6d4da23d6e21b93a478dbb093259651 /src | |
parent | 70a1d2a8a163f1591af289f9cbe73cf271856e64 (diff) | |
download | javassist-e8c023af06f04877ccc83911c6f6900574486a6c.tar.gz javassist-e8c023af06f04877ccc83911c6f6900574486a6c.zip |
fixed javadoc bugs
Diffstat (limited to 'src')
-rw-r--r-- | src/main/javassist/ClassPool.java | 3 | ||||
-rw-r--r-- | src/main/javassist/bytecode/stackmap/Tracer.java | 2 | ||||
-rw-r--r-- | src/main/javassist/bytecode/stackmap/TypedBlock.java | 2 | ||||
-rw-r--r-- | src/main/javassist/compiler/AccessorMaker.java | 2 | ||||
-rw-r--r-- | src/main/javassist/compiler/Javac.java | 6 | ||||
-rw-r--r-- | src/main/javassist/compiler/MemberResolver.java | 4 | ||||
-rw-r--r-- | src/main/javassist/compiler/ProceedHandler.java | 1 | ||||
-rw-r--r-- | src/main/javassist/compiler/ast/Visitor.java | 2 |
8 files changed, 10 insertions, 12 deletions
diff --git a/src/main/javassist/ClassPool.java b/src/main/javassist/ClassPool.java index f0bba3c5..a1e46e2e 100644 --- a/src/main/javassist/ClassPool.java +++ b/src/main/javassist/ClassPool.java @@ -250,7 +250,7 @@ public class ClassPool { * caching of classes. * * @see #getCached(String) - * @see #removeCached(String,CtClass) + * @see #removeCached(String) */ protected void cacheCtClass(String classname, CtClass c, boolean dynamic) { classes.put(classname, c); @@ -517,7 +517,6 @@ public class ClassPool { /** * @param useCache false if the cached CtClass must be ignored. - * @param searchParent false if the parent class pool is not searched. * @return null if the class could not be found. */ protected synchronized CtClass get0(String classname, boolean useCache) diff --git a/src/main/javassist/bytecode/stackmap/Tracer.java b/src/main/javassist/bytecode/stackmap/Tracer.java index 4111d589..182935e6 100644 --- a/src/main/javassist/bytecode/stackmap/Tracer.java +++ b/src/main/javassist/bytecode/stackmap/Tracer.java @@ -104,7 +104,7 @@ public abstract class Tracer implements TypeTag { * @param pos the position of LOOKUPSWITCH * @param code bytecode * @param n the number of case labels - * @param offsetPos the position of the table of pairs of a value and a branch target. + * @param pairsPos the position of the table of pairs of a value and a branch target. * @param defaultOffset the offset to the default branch target. */ protected void visitLookupSwitch(int pos, byte[] code, int n, diff --git a/src/main/javassist/bytecode/stackmap/TypedBlock.java b/src/main/javassist/bytecode/stackmap/TypedBlock.java index 5ecada13..719ad67f 100644 --- a/src/main/javassist/bytecode/stackmap/TypedBlock.java +++ b/src/main/javassist/bytecode/stackmap/TypedBlock.java @@ -29,7 +29,7 @@ public class TypedBlock extends BasicBlock { * Divides the method body into basic blocks. * The type information of the first block is initialized. * - * @param optmize if it is true and the method does not include + * @param optimize if it is true and the method does not include * branches, this method returns null. */ public static TypedBlock[] makeBlocks(MethodInfo minfo, CodeAttribute ca, diff --git a/src/main/javassist/compiler/AccessorMaker.java b/src/main/javassist/compiler/AccessorMaker.java index 2dfc5337..05d19ed1 100644 --- a/src/main/javassist/compiler/AccessorMaker.java +++ b/src/main/javassist/compiler/AccessorMaker.java @@ -90,7 +90,7 @@ public class AccessorMaker { * @param accDesc the descriptor of the accessor method. The first * parameter type is <code>clazz</code>. * If the private method is static, - * <code>accDesc<code> must be identical to <code>desc</code>. + * <code>accDesc</code> must be identical to <code>desc</code>. * * @param orig the method info of the private method. * @return diff --git a/src/main/javassist/compiler/Javac.java b/src/main/javassist/compiler/Javac.java index a96c265a..f98d1d23 100644 --- a/src/main/javassist/compiler/Javac.java +++ b/src/main/javassist/compiler/Javac.java @@ -185,8 +185,8 @@ public class Javac { /** * Compiles a method (or constructor) body. * - * @src a single statement or a block. - * If null, this method produces a body returning zero or null. + * @param src a single statement or a block. + * If null, this method produces a body returning zero or null. */ public Bytecode compileBody(CtBehavior method, String src) throws CompileError @@ -346,7 +346,7 @@ public class Javac { * <code>isStatic</code> must be recorded before compilation. * <code>maxLocals</code> is updated to include $0,... * - * @paaram use0 true if $0 is used. + * @param use0 true if $0 is used. * @param varNo the register number of $0 (use0 is true) * or $1 (otherwise). * @param target the type of $0 (it can be null if use0 is false). diff --git a/src/main/javassist/compiler/MemberResolver.java b/src/main/javassist/compiler/MemberResolver.java index 8f7591cf..c232ccda 100644 --- a/src/main/javassist/compiler/MemberResolver.java +++ b/src/main/javassist/compiler/MemberResolver.java @@ -299,7 +299,7 @@ public class MemberResolver implements TokenId { } /** - * @param name a qualified class name. e.g. java.lang.String + * @param className a qualified class name. e.g. java.lang.String */ public CtField lookupField(String className, Symbol fieldName) throws CompileError @@ -326,7 +326,7 @@ public class MemberResolver implements TokenId { } /** - * @parma classname jvm class name. + * @param classname jvm class name. */ public CtClass lookupClass(int type, int dim, String classname) throws CompileError diff --git a/src/main/javassist/compiler/ProceedHandler.java b/src/main/javassist/compiler/ProceedHandler.java index 82d014f5..1c3cd47a 100644 --- a/src/main/javassist/compiler/ProceedHandler.java +++ b/src/main/javassist/compiler/ProceedHandler.java @@ -23,7 +23,6 @@ import javassist.compiler.ast.ASTList; * An interface to an object for implementing $proceed(). * * @see javassist.compiler.JvstCodeGen#setProceedHandler(ProceedHandler, String) - * @see javassist.compiler.JvstCodeGen#atMethodCall(Expr) */ public interface ProceedHandler { void doit(JvstCodeGen gen, Bytecode b, ASTList args) throws CompileError; diff --git a/src/main/javassist/compiler/ast/Visitor.java b/src/main/javassist/compiler/ast/Visitor.java index fbc31ce5..b08df1b3 100644 --- a/src/main/javassist/compiler/ast/Visitor.java +++ b/src/main/javassist/compiler/ast/Visitor.java @@ -21,7 +21,7 @@ import javassist.compiler.CompileError; /** * The visitor pattern. * - * @see ast.ASTree#accept(Visitor) + * @see ASTree#accept(Visitor) */ public class Visitor { public void atASTList(ASTList n) throws CompileError {} |