aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/expr
diff options
context:
space:
mode:
authorchibash <chiba@javassist.org>2018-10-05 18:04:11 +0900
committerchibash <chiba@javassist.org>2018-10-05 18:04:11 +0900
commit106b44b0e0b7d19c8af4abc03b88c6d64ec442f0 (patch)
tree6b03aabe06d9eb3c43dd371dfa2368f4414a2804 /src/main/javassist/expr
parentf95d49749dc5fe499484b156cb5e089296b4cc17 (diff)
downloadjavassist-106b44b0e0b7d19c8af4abc03b88c6d64ec442f0.tar.gz
javassist-106b44b0e0b7d19c8af4abc03b88c6d64ec442f0.zip
fixes typos in javadocs.rel_3_24_0_rc
Diffstat (limited to 'src/main/javassist/expr')
-rw-r--r--src/main/javassist/expr/ExprEditor.java8
-rw-r--r--src/main/javassist/expr/NewArray.java4
-rw-r--r--src/main/javassist/expr/NewExpr.java10
3 files changed, 11 insertions, 11 deletions
diff --git a/src/main/javassist/expr/ExprEditor.java b/src/main/javassist/expr/ExprEditor.java
index 0b3f934e..0f9bedce 100644
--- a/src/main/javassist/expr/ExprEditor.java
+++ b/src/main/javassist/expr/ExprEditor.java
@@ -35,7 +35,7 @@ import javassist.bytecode.Opcode;
* <p>If <code>instrument()</code> is called in
* <code>CtMethod</code>, the method body is scanned from the beginning
* to the end.
- * Whenever an expression, such as a method call and a <tt>new</tt>
+ * Whenever an expression, such as a method call and a <code>new</code>
* expression (object creation),
* is found, <code>edit()</code> is called in <code>ExprEdit</code>.
* <code>edit()</code> can inspect and modify the given expression.
@@ -259,10 +259,10 @@ public class ExprEditor {
}
/**
- * Edits a <tt>new</tt> expression (overridable).
+ * Edits a <code>new</code> expression (overridable).
* The default implementation performs nothing.
*
- * @param e the <tt>new</tt> expression creating an object.
+ * @param e the <code>new</code> expression creating an object.
*/
public void edit(NewExpr e) throws CannotCompileException {}
@@ -270,7 +270,7 @@ public class ExprEditor {
* Edits an expression for array creation (overridable).
* The default implementation performs nothing.
*
- * @param a the <tt>new</tt> expression for creating an array.
+ * @param a the <code>new</code> expression for creating an array.
* @throws CannotCompileException
*/
public void edit(NewArray a) throws CannotCompileException {}
diff --git a/src/main/javassist/expr/NewArray.java b/src/main/javassist/expr/NewArray.java
index 70d74afd..df30e26f 100644
--- a/src/main/javassist/expr/NewArray.java
+++ b/src/main/javassist/expr/NewArray.java
@@ -92,9 +92,9 @@ public class NewArray extends Expr {
/**
* Returns the type of array components. If the created array is
- * a two-dimensional array of <tt>int</tt>,
+ * a two-dimensional array of <code>int</code>,
* the type returned by this method is
- * not <tt>int[]</tt> but <tt>int</tt>.
+ * not <code>int[]</code> but <code>int</code>.
*/
public CtClass getComponentType() throws NotFoundException {
if (opcode == Opcode.NEWARRAY) {
diff --git a/src/main/javassist/expr/NewExpr.java b/src/main/javassist/expr/NewExpr.java
index 6b28475b..3171fc3f 100644
--- a/src/main/javassist/expr/NewExpr.java
+++ b/src/main/javassist/expr/NewExpr.java
@@ -38,7 +38,7 @@ import javassist.compiler.ProceedHandler;
import javassist.compiler.ast.ASTList;
/**
- * Object creation (<tt>new</tt> expression).
+ * Object creation (<code>new</code> expression).
*/
public class NewExpr extends Expr {
String newTypeName;
@@ -69,7 +69,7 @@ public class NewExpr extends Expr {
} */
/**
- * Returns the method or constructor containing the <tt>new</tt>
+ * Returns the method or constructor containing the <code>new</code>
* expression represented by this object.
*/
@Override
@@ -77,7 +77,7 @@ public class NewExpr extends Expr {
/**
* Returns the line number of the source line containing the
- * <tt>new</tt> expression.
+ * <code>new</code> expression.
*
* @return -1 if this information is not available.
*/
@@ -87,7 +87,7 @@ public class NewExpr extends Expr {
}
/**
- * Returns the source file containing the <tt>new</tt> expression.
+ * Returns the source file containing the <code>new</code> expression.
*
* @return null if this information is not available.
*/
@@ -173,7 +173,7 @@ public class NewExpr extends Expr {
}
/**
- * Replaces the <tt>new</tt> expression with the bytecode derived from
+ * Replaces the <code>new</code> expression with the bytecode derived from
* the given source text.
*
* <p>$0 is available but the value is null.