aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/compiler
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2015-01-07 11:58:16 +0900
committerchibash <chiba@javassist.org>2015-01-07 11:58:16 +0900
commite8c023af06f04877ccc83911c6f6900574486a6c (patch)
tree12dc96add6d4da23d6e21b93a478dbb093259651 /src/main/javassist/compiler
parent70a1d2a8a163f1591af289f9cbe73cf271856e64 (diff)
downloadjavassist-e8c023af06f04877ccc83911c6f6900574486a6c.tar.gz
javassist-e8c023af06f04877ccc83911c6f6900574486a6c.zip
fixed javadoc bugs
Diffstat (limited to 'src/main/javassist/compiler')
-rw-r--r--src/main/javassist/compiler/AccessorMaker.java2
-rw-r--r--src/main/javassist/compiler/Javac.java6
-rw-r--r--src/main/javassist/compiler/MemberResolver.java4
-rw-r--r--src/main/javassist/compiler/ProceedHandler.java1
-rw-r--r--src/main/javassist/compiler/ast/Visitor.java2
5 files changed, 7 insertions, 8 deletions
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 {}