aboutsummaryrefslogtreecommitdiffstats
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
parentf95d49749dc5fe499484b156cb5e089296b4cc17 (diff)
downloadjavassist-106b44b0e0b7d19c8af4abc03b88c6d64ec442f0.tar.gz
javassist-106b44b0e0b7d19c8af4abc03b88c6d64ec442f0.zip
fixes typos in javadocs.rel_3_24_0_rc
-rw-r--r--src/main/META-INF/MANIFEST.MF2
-rw-r--r--src/main/javassist/ClassPool.java4
-rw-r--r--src/main/javassist/CtClass.java8
-rw-r--r--src/main/javassist/Modifier.java32
-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
-rw-r--r--src/main/javassist/util/proxy/DefineClassHelper.java2
-rw-r--r--src/main/javassist/util/proxy/ProxyFactory.java2
9 files changed, 36 insertions, 36 deletions
diff --git a/src/main/META-INF/MANIFEST.MF b/src/main/META-INF/MANIFEST.MF
index 1d89a56a..d54cb4ba 100644
--- a/src/main/META-INF/MANIFEST.MF
+++ b/src/main/META-INF/MANIFEST.MF
@@ -1,5 +1,5 @@
Specification-Title: Javassist
Specification-Vendor: Shigeru Chiba, www.javassist.org
-Specification-Version: 3.24-GA
+Specification-Version: 3.24.0-RC
Main-Class: javassist.CtClass
Automatic-Module-Name: org.javassist
diff --git a/src/main/javassist/ClassPool.java b/src/main/javassist/ClassPool.java
index 100afbe5..37f2acbd 100644
--- a/src/main/javassist/ClassPool.java
+++ b/src/main/javassist/ClassPool.java
@@ -1038,7 +1038,7 @@ public class ClassPool {
* work with a security manager or a signed jar file because a
* protection domain is not specified.</p>
*
- * @see #toCalss(CtClass,Class)
+ * @see #toClass(CtClass,Class)
* @see #toClass(CtClass,Class,java.lang.ClassLoader,ProtectionDomain)
* @see #getClassLoader()
*/
@@ -1206,7 +1206,7 @@ public class ClassPool {
*
* <p>If your program is for only Java 9 or later, don't use this method.
* Use {@link #toClass(CtClass,Class)} or
- * {@link #toClass(CtClass)CtClass,java.lang.invoke.MethodHandles.Lookup)}.
+ * {@link #toClass(CtClass,java.lang.invoke.MethodHandles.Lookup)}.
* </p>
*
* @param ct the class converted into {@code java.lang.Class}.
diff --git a/src/main/javassist/CtClass.java b/src/main/javassist/CtClass.java
index bb5bab6e..8fe598d2 100644
--- a/src/main/javassist/CtClass.java
+++ b/src/main/javassist/CtClass.java
@@ -69,7 +69,7 @@ public abstract class CtClass {
/**
* The version number of this release.
*/
- public static final String version = "3.24-GA";
+ public static final String version = "3.24.0-RC";
/**
* Prints the version number and the copyright notice.
@@ -1262,7 +1262,7 @@ public abstract class CtClass {
* class.
*
* <p><b>Warning:</b> In Java 11 or later, the call to this method will
- * print a warning message:
+ * print a warning message:</p>
* <blockquote><pre>
* WARNING: An illegal reflective access operation has occurred
* WARNING: Illegal reflective access by javassist.util.proxy.SecurityActions$3 ...
@@ -1270,7 +1270,7 @@ public abstract class CtClass {
* WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
* WARNING: All illegal access operations will be denied in a future release
* </pre></blockquote>
- * To avoid this message, use {@link #toClass(Class)}
+ * <p>To avoid this message, use {@link #toClass(Class)}
* or {@link #toClass(java.lang.invoke.MethodHandles.Lookup)}.
* {@link #toClass()} will be unavailable in a future release.
* </p>
@@ -1309,7 +1309,7 @@ public abstract class CtClass {
* @param neighbor A class belonging to the same package that this
* class belongs to. It is used to load the class.
* @see ClassPool#toClass(CtClass,Class)
- * @see #CtClass(java.lang.invoke.MethodHandles.Lookup)
+ * @see #toClass(java.lang.invoke.MethodHandles.Lookup)
* @since 3.24
*/
public Class<?> toClass(Class<?> neighbor) throws CannotCompileException
diff --git a/src/main/javassist/Modifier.java b/src/main/javassist/Modifier.java
index fd73c3b3..733cc67b 100644
--- a/src/main/javassist/Modifier.java
+++ b/src/main/javassist/Modifier.java
@@ -46,7 +46,7 @@ public class Modifier {
public static final int ENUM = AccessFlag.ENUM;
/**
- * Returns true if the modifiers include the <tt>public</tt>
+ * Returns true if the modifiers include the <code>public</code>
* modifier.
*/
public static boolean isPublic(int mod) {
@@ -54,7 +54,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>private</tt>
+ * Returns true if the modifiers include the <code>private</code>
* modifier.
*/
public static boolean isPrivate(int mod) {
@@ -62,7 +62,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>protected</tt>
+ * Returns true if the modifiers include the <code>protected</code>
* modifier.
*/
public static boolean isProtected(int mod) {
@@ -71,14 +71,14 @@ public class Modifier {
/**
* Returns true if the modifiers do not include either
- * <tt>public</tt>, <tt>protected</tt>, or <tt>private</tt>.
+ * <code>public</code>, <code>protected</code>, or <code>private</code>.
*/
public static boolean isPackage(int mod) {
return (mod & (PUBLIC | PRIVATE | PROTECTED)) == 0;
}
/**
- * Returns true if the modifiers include the <tt>static</tt>
+ * Returns true if the modifiers include the <code>static</code>
* modifier.
*/
public static boolean isStatic(int mod) {
@@ -86,7 +86,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>final</tt>
+ * Returns true if the modifiers include the <code>final</code>
* modifier.
*/
public static boolean isFinal(int mod) {
@@ -94,7 +94,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>synchronized</tt>
+ * Returns true if the modifiers include the <code>synchronized</code>
* modifier.
*/
public static boolean isSynchronized(int mod) {
@@ -102,7 +102,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>volatile</tt>
+ * Returns true if the modifiers include the <code>volatile</code>
* modifier.
*/
public static boolean isVolatile(int mod) {
@@ -110,7 +110,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>transient</tt>
+ * Returns true if the modifiers include the <code>transient</code>
* modifier.
*/
public static boolean isTransient(int mod) {
@@ -118,7 +118,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>native</tt>
+ * Returns true if the modifiers include the <code>native</code>
* modifier.
*/
public static boolean isNative(int mod) {
@@ -126,7 +126,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>interface</tt>
+ * Returns true if the modifiers include the <code>interface</code>
* modifier.
*/
public static boolean isInterface(int mod) {
@@ -134,7 +134,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>annotation</tt>
+ * Returns true if the modifiers include the <code>annotation</code>
* modifier.
*
* @since 3.2
@@ -144,7 +144,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>enum</tt>
+ * Returns true if the modifiers include the <code>enum</code>
* modifier.
*
* @since 3.2
@@ -154,7 +154,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>abstract</tt>
+ * Returns true if the modifiers include the <code>abstract</code>
* modifier.
*/
public static boolean isAbstract(int mod) {
@@ -162,7 +162,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>strictfp</tt>
+ * Returns true if the modifiers include the <code>strictfp</code>
* modifier.
*/
public static boolean isStrict(int mod) {
@@ -170,7 +170,7 @@ public class Modifier {
}
/**
- * Returns true if the modifiers include the <tt>varargs</tt>
+ * Returns true if the modifiers include the <code>varargs</code>
* (variable number of arguments) modifier.
*/
public static boolean isVarArgs(int mod) {
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.
diff --git a/src/main/javassist/util/proxy/DefineClassHelper.java b/src/main/javassist/util/proxy/DefineClassHelper.java
index 401fed69..96ade4aa 100644
--- a/src/main/javassist/util/proxy/DefineClassHelper.java
+++ b/src/main/javassist/util/proxy/DefineClassHelper.java
@@ -252,7 +252,7 @@ public class DefineClassHelper {
* @param loader the class loader. It can be null if {@code neighbor} is not null
* and the JVM is Java 11 or later.
* @param domain if it is null, a default domain is used.
- * @parma bcode the bytecode for the loaded class.
+ * @param bcode the bytecode for the loaded class.
* @since 3.22
*/
public static Class<?> toClass(String className, Class<?> neighbor, ClassLoader loader,
diff --git a/src/main/javassist/util/proxy/ProxyFactory.java b/src/main/javassist/util/proxy/ProxyFactory.java
index bc2c024f..0c39a508 100644
--- a/src/main/javassist/util/proxy/ProxyFactory.java
+++ b/src/main/javassist/util/proxy/ProxyFactory.java
@@ -214,7 +214,7 @@ public class ProxyFactory {
*
* <p>The default value is {@code false}.</p>
*
- * @see DefineClassHelper#toClass(String, Class<?>, ClassLoader, ProtectionDomain, byte[])
+ * @see DefineClassHelper#toClass(String, Class, ClassLoader, ProtectionDomain, byte[])
* @since 3.22
*/
public static boolean onlyPublicMethods = false;