diff --git a/src/org/redkale/asm/AnnotationVisitor.java b/src/org/redkale/asm/AnnotationVisitor.java
index 90f57e135..1a9238ad2 100644
--- a/src/org/redkale/asm/AnnotationVisitor.java
+++ b/src/org/redkale/asm/AnnotationVisitor.java
@@ -60,8 +60,8 @@ package org.redkale.asm;
/**
* A visitor to visit a Java annotation. The methods of this class must be
- * called in the following order: ( visit | visitEnum |
- * visitAnnotation | visitArray )* visitEnd.
+ * called in the following order: ( visit | visitEnum |
+ * visitAnnotation | visitArray )* visitEnd.
*
* @author Eric Bruneton
* @author Eugene Kuleshov
@@ -151,7 +151,7 @@ public abstract class AnnotationVisitor {
* @param desc
* the class descriptor of the nested annotation class.
* @return a visitor to visit the actual nested annotation value, or
- * null if this visitor is not interested in visiting this
+ * null if this visitor is not interested in visiting this
* nested annotation. The nested annotation value must be fully
* visited before calling other methods on this annotation
* visitor.
@@ -172,7 +172,7 @@ public abstract class AnnotationVisitor {
* @param name
* the value name.
* @return a visitor to visit the actual array value elements, or
- * null if this visitor is not interested in visiting these
+ * null if this visitor is not interested in visiting these
* values. The 'name' parameters passed to the methods of this
* visitor are ignored. All the array values must be visited
* before calling other methods on this annotation visitor.
diff --git a/src/org/redkale/asm/AnnotationWriter.java b/src/org/redkale/asm/AnnotationWriter.java
index 676fc445c..437aeb59e 100644
--- a/src/org/redkale/asm/AnnotationWriter.java
+++ b/src/org/redkale/asm/AnnotationWriter.java
@@ -77,7 +77,7 @@ final class AnnotationWriter extends AnnotationVisitor {
private int size;
/**
- * true if values are named, false otherwise. Annotation
+ * true if values are named, false otherwise. Annotation
* writers used for annotation default and annotation arrays use unnamed
* values.
*/
@@ -122,13 +122,13 @@ final class AnnotationWriter extends AnnotationVisitor {
* @param cw
* the class writer to which this annotation must be added.
* @param named
- * true if values are named, false otherwise.
+ * true if values are named, false otherwise.
* @param bv
* where the annotation values must be stored.
* @param parent
* where the number of annotation values must be stored.
* @param offset
- * where in parent the number of annotation values must
+ * where in parent the number of annotation values must
* be stored.
*/
AnnotationWriter(final ClassWriter cw, final boolean named,
@@ -354,7 +354,7 @@ final class AnnotationWriter extends AnnotationVisitor {
* @param typePath
* the path to the annotated type argument, wildcard bound, array
* element type, or static inner type within 'typeRef'. May be
- * null if the annotation targets 'typeRef' as a whole.
+ * null if the annotation targets 'typeRef' as a whole.
* @param out
* where the type reference and type path must be put.
*/
diff --git a/src/org/redkale/asm/Attribute.java b/src/org/redkale/asm/Attribute.java
index 07e9923e5..ac959f499 100644
--- a/src/org/redkale/asm/Attribute.java
+++ b/src/org/redkale/asm/Attribute.java
@@ -77,7 +77,7 @@ class Attribute {
byte[] value;
/**
- * The next attribute in this attribute list. May be null.
+ * The next attribute in this attribute list. May be null.
*/
Attribute next;
@@ -92,19 +92,19 @@ class Attribute {
}
/**
- * Returns true if this type of attribute is unknown. The default
- * implementation of this method always returns true.
+ * Returns true if this type of attribute is unknown. The default
+ * implementation of this method always returns true.
*
- * @return true if this type of attribute is unknown.
+ * @return true if this type of attribute is unknown.
*/
public boolean isUnknown() {
return true;
}
/**
- * Returns true if this type of attribute is a code attribute.
+ * Returns true if this type of attribute is a code attribute.
*
- * @return true if this type of attribute is a code attribute.
+ * @return true if this type of attribute is a code attribute.
*/
public boolean isCodeAttribute() {
return false;
@@ -113,7 +113,7 @@ class Attribute {
/**
* Returns the labels corresponding to this attribute.
*
- * @return the labels corresponding to this attribute, or null if
+ * @return the labels corresponding to this attribute, or null if
* this attribute is not a code attribute that contains labels.
*/
protected Label[] getLabels() {
@@ -123,7 +123,7 @@ class Attribute {
/**
* Reads a {@link #type type} attribute. This method must return a
* new {@link Attribute} object, of type {@link #type type},
- * corresponding to the len bytes starting at the given offset, in
+ * corresponding to the len bytes starting at the given offset, in
* the given class reader.
*
* @param cr
@@ -146,7 +146,7 @@ class Attribute {
* containing the type and the length of the attribute, are not
* taken into account here.
* @param labels
- * the labels of the method's code, or null if the
+ * the labels of the method's code, or null if the
* attribute to be read is not a code attribute.
* @return a new {@link Attribute} object corresponding to the given
* bytes.
@@ -169,11 +169,11 @@ class Attribute {
* class the items that corresponds to this attribute.
* @param code
* the bytecode of the method corresponding to this code
- * attribute, or null if this attribute is not a code
+ * attribute, or null if this attribute is not a code
* attributes.
* @param len
* the length of the bytecode of the method corresponding to this
- * code attribute, or null if this attribute is not a
+ * code attribute, or null if this attribute is not a
* code attribute.
* @param maxStack
* the maximum stack size of the method corresponding to this
@@ -216,11 +216,11 @@ class Attribute {
* byte arrays, with the {@link #write write} method.
* @param code
* the bytecode of the method corresponding to these code
- * attributes, or null if these attributes are not code
+ * attributes, or null if these attributes are not code
* attributes.
* @param len
* the length of the bytecode of the method corresponding to
- * these code attributes, or null if these attributes
+ * these code attributes, or null if these attributes
* are not code attributes.
* @param maxStack
* the maximum stack size of the method corresponding to these
@@ -254,11 +254,11 @@ class Attribute {
* byte arrays, with the {@link #write write} method.
* @param code
* the bytecode of the method corresponding to these code
- * attributes, or null if these attributes are not code
+ * attributes, or null if these attributes are not code
* attributes.
* @param len
* the length of the bytecode of the method corresponding to
- * these code attributes, or null if these attributes
+ * these code attributes, or null if these attributes
* are not code attributes.
* @param maxStack
* the maximum stack size of the method corresponding to these
diff --git a/src/org/redkale/asm/ByteVector.java b/src/org/redkale/asm/ByteVector.java
index a375ed497..779707f54 100644
--- a/src/org/redkale/asm/ByteVector.java
+++ b/src/org/redkale/asm/ByteVector.java
@@ -332,7 +332,7 @@ public class ByteVector {
* automatically enlarged if necessary.
*
* @param b
- * an array of bytes. May be null to put len
+ * an array of bytes. May be null to put len
* null bytes into this byte vector.
* @param off
* index of the fist byte of b that must be copied.
diff --git a/src/org/redkale/asm/ClassReader.java b/src/org/redkale/asm/ClassReader.java
index e1db9ddf7..0300a466f 100644
--- a/src/org/redkale/asm/ClassReader.java
+++ b/src/org/redkale/asm/ClassReader.java
@@ -267,7 +267,7 @@ public class ClassReader {
* {@link Type#getInternalName() getInternalName}). For interfaces, the
* super class is {@link Object}.
*
- * @return the internal name of super class, or null for
+ * @return the internal name of super class, or null for
* {@link Object} class.
*
* @see ClassVisitor#visit(int, int, String, String, String, String[])
@@ -281,7 +281,7 @@ public class ClassReader {
* {@link Type#getInternalName() getInternalName}).
*
* @return the array of internal names for all implemented interfaces or
- * null.
+ * null.
*
* @see ClassVisitor#visit(int, int, String, String, String, String[])
*/
@@ -1932,7 +1932,7 @@ public class ClassReader {
* @param v
* start offset in {@link #b b} of the annotations to be read.
* @param visible
- * true if the annotations to be read are visible at
+ * true if the annotations to be read are visible at
* runtime.
*/
private void readParameterAnnotations(final MethodVisitor mv,
@@ -2474,9 +2474,9 @@ public class ClassReader {
* and the length of the attribute, are not taken into account
* here.
* @param labels
- * the labels of the method's code, or null if the
+ * the labels of the method's code, or null if the
* attribute to be read is not a code attribute.
- * @return the attribute that has been read, or null to skip this
+ * @return the attribute that has been read, or null to skip this
* attribute.
*/
private Attribute readAttribute(final Attribute[] attrs, final String type,
diff --git a/src/org/redkale/asm/ClassVisitor.java b/src/org/redkale/asm/ClassVisitor.java
index 5958e2b91..929415e7f 100644
--- a/src/org/redkale/asm/ClassVisitor.java
+++ b/src/org/redkale/asm/ClassVisitor.java
@@ -60,11 +60,11 @@ package org.redkale.asm;
/**
* A visitor to visit a Java class. The methods of this class must be called in
- * the following order: visit [ visitSource ] [
- * visitModule ][ visitOuterClass ] ( visitAnnotation |
- * visitTypeAnnotation | visitAttribute )* (
- * visitInnerClass | visitField | visitMethod )*
- * visitEnd.
+ * the following order: visit [ visitSource ] [
+ * visitModule ][ visitOuterClass ] ( visitAnnotation |
+ * visitTypeAnnotation | visitAttribute )* (
+ * visitInnerClass | visitField | visitMethod )*
+ * visitEnd.
*
* @author Eric Bruneton
*/
@@ -120,18 +120,18 @@ public abstract class ClassVisitor {
* the internal name of the class (see
* {@link Type#getInternalName() getInternalName}).
* @param signature
- * the signature of this class. May be null if the class
+ * the signature of this class. May be null if the class
* is not a generic one, and does not extend or implement generic
* classes or interfaces.
* @param superName
* the internal of name of the super class (see
* {@link Type#getInternalName() getInternalName}). For
* interfaces, the super class is {@link Object}. May be
- * null, but only for the {@link Object} class.
+ * null, but only for the {@link Object} class.
* @param interfaces
* the internal names of the class's interfaces (see
* {@link Type#getInternalName() getInternalName}). May be
- * null.
+ * null.
*/
public void visit(int version, int access, String name, String signature,
String superName, String[] interfaces) {
@@ -145,11 +145,11 @@ public abstract class ClassVisitor {
*
* @param source
* the name of the source file from which the class was compiled.
- * May be null.
+ * May be null.
* @param debug
* additional debug information to compute the correspondance
* between source and compiled elements of the class. May be
- * null.
+ * null.
*/
public void visitSource(String source, String debug) {
if (cv != null) {
@@ -166,7 +166,7 @@ public abstract class ClassVisitor {
* and {@code ACC_MANDATED}.
* @param version
* module version or null.
- * @return a visitor to visit the module values, or null if
+ * @return a visitor to visit the module values, or null if
* this visitor is not interested in visiting this module.
*/
public ModuleVisitor visitModule(String name, int access, String version) {
@@ -187,11 +187,11 @@ public abstract class ClassVisitor {
* internal name of the enclosing class of the class.
* @param name
* the name of the method that contains the class, or
- * null if the class is not enclosed in a method of its
+ * null if the class is not enclosed in a method of its
* enclosing class.
* @param desc
* the descriptor of the method that contains the class, or
- * null if the class is not enclosed in a method of its
+ * null if the class is not enclosed in a method of its
* enclosing class.
*/
public void visitOuterClass(String owner, String name, String desc) {
@@ -206,8 +206,8 @@ public abstract class ClassVisitor {
* @param desc
* the class descriptor of the annotation class.
* @param visible
- * true if the annotation is visible at runtime.
- * @return a visitor to visit the annotation values, or null if
+ * true if the annotation is visible at runtime.
+ * @return a visitor to visit the annotation values, or null if
* this visitor is not interested in visiting this annotation.
*/
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
@@ -231,12 +231,12 @@ public abstract class ClassVisitor {
* @param typePath
* the path to the annotated type argument, wildcard bound, array
* element type, or static inner type within 'typeRef'. May be
- * null if the annotation targets 'typeRef' as a whole.
+ * null if the annotation targets 'typeRef' as a whole.
* @param desc
* the class descriptor of the annotation class.
* @param visible
- * true if the annotation is visible at runtime.
- * @return a visitor to visit the annotation values, or null if
+ * true if the annotation is visible at runtime.
+ * @return a visitor to visit the annotation values, or null if
* this visitor is not interested in visiting this annotation.
*/
public AnnotationVisitor visitTypeAnnotation(int typeRef,
@@ -269,10 +269,10 @@ public abstract class ClassVisitor {
* @param outerName
* the internal name of the class to which the inner class
* belongs (see {@link Type#getInternalName() getInternalName}).
- * May be null for not member classes.
+ * May be null for not member classes.
* @param innerName
* the (simple) name of the inner class inside its enclosing
- * class. May be null for anonymous inner classes.
+ * class. May be null for anonymous inner classes.
* @param access
* the access flags of the inner class as originally declared in
* the enclosing class.
@@ -295,20 +295,20 @@ public abstract class ClassVisitor {
* @param desc
* the field's descriptor (see {@link Type Type}).
* @param signature
- * the field's signature. May be null if the field's
+ * the field's signature. May be null if the field's
* type does not use generic types.
* @param value
* the field's initial value. This parameter, which may be
- * null if the field does not have an initial value,
+ * null if the field does not have an initial value,
* must be an {@link Integer}, a {@link Float}, a {@link Long}, a
- * {@link Double} or a {@link String} (for int,
- * float, long or String fields
+ * {@link Double} or a {@link String} (for int,
+ * float, long or String fields
* respectively). This parameter is only used for static
* fields. Its value is ignored for non static fields, which
* must be initialized through bytecode instructions in
* constructors or methods.
* @return a visitor to visit field annotations and attributes, or
- * null if this class visitor is not interested in visiting
+ * null if this class visitor is not interested in visiting
* these annotations and attributes.
*/
public FieldVisitor visitField(int access, String name, String desc,
@@ -321,7 +321,7 @@ public abstract class ClassVisitor {
/**
* Visits a method of the class. This method must return a new
- * {@link MethodVisitor} instance (or null) each time it is called,
+ * {@link MethodVisitor} instance (or null) each time it is called,
* i.e., it should not return a previously returned visitor.
*
* @param access
@@ -333,14 +333,14 @@ public abstract class ClassVisitor {
* @param desc
* the method's descriptor (see {@link Type Type}).
* @param signature
- * the method's signature. May be null if the method
+ * the method's signature. May be null if the method
* parameters, return type and exceptions do not use generic
* types.
* @param exceptions
* the internal names of the method's exception classes (see
* {@link Type#getInternalName() getInternalName}). May be
- * null.
- * @return an object to visit the byte code of the method, or null
+ * null.
+ * @return an object to visit the byte code of the method, or null
* if this class visitor is not interested in visiting the code of
* this method.
*/
diff --git a/src/org/redkale/asm/ClassWriter.java b/src/org/redkale/asm/ClassWriter.java
index 9ab5ecc97..8455aa270 100644
--- a/src/org/redkale/asm/ClassWriter.java
+++ b/src/org/redkale/asm/ClassWriter.java
@@ -391,8 +391,8 @@ public class ClassWriter extends ClassVisitor {
* A type table used to temporarily store internal names that will not
* necessarily be stored in the constant pool. This type table is used by
* the control flow and data flow analysis algorithm used to compute stack
- * map frames from scratch. This array associates to each index i
- * the Item whose index is i. All Item objects stored in this array
+ * map frames from scratch. This array associates to each index i
+ * the Item whose index is i. All Item objects stored in this array
* are also stored in the {@link #items} hash table. These two arrays allow
* to retrieve an Item from its index or, conversely, to get the index of an
* Item from its value. Each Item stores an internal name in its
@@ -556,7 +556,7 @@ public class ClassWriter extends ClassVisitor {
private int compute;
/**
- * true if some methods have wide forward jumps using ASM pseudo
+ * true if some methods have wide forward jumps using ASM pseudo
* instructions, which need to be expanded into sequences of standard
* bytecode instructions. In this case the class is re-read and re-written
* with a ClassReader -> ClassWriter chain to perform this transformation.
@@ -1486,7 +1486,7 @@ public class ClassWriter extends ClassVisitor {
* @param desc
* the method's descriptor.
* @param itf
- * true if owner is an interface.
+ * true if owner is an interface.
* @return a new or already existing method reference item.
*/
Item newMethodItem(final String owner, final String name,
@@ -1515,7 +1515,7 @@ public class ClassWriter extends ClassVisitor {
* @param desc
* the method's descriptor.
* @param itf
- * true if owner is an interface.
+ * true if owner is an interface.
* @return the index of a new or already existing method reference item.
*/
public int newMethod(final String owner, final String name,
@@ -1778,7 +1778,7 @@ public class ClassWriter extends ClassVisitor {
* @param key
* a constant pool item.
* @return the constant pool's hash table item which is equal to the given
- * item, or null if there is no such item.
+ * item, or null if there is no such item.
*/
private Item get(final Item key) {
Item i = items[key.hashCode % items.length];
diff --git a/src/org/redkale/asm/FieldVisitor.java b/src/org/redkale/asm/FieldVisitor.java
index 5bc0ead7b..7b6029d7a 100644
--- a/src/org/redkale/asm/FieldVisitor.java
+++ b/src/org/redkale/asm/FieldVisitor.java
@@ -60,8 +60,8 @@ package org.redkale.asm;
/**
* A visitor to visit a Java field. The methods of this class must be called in
- * the following order: ( visitAnnotation |
- * visitTypeAnnotation | visitAttribute )* visitEnd.
+ * the following order: ( visitAnnotation |
+ * visitTypeAnnotation | visitAttribute )* visitEnd.
*
* @author Eric Bruneton
*/
@@ -111,8 +111,8 @@ public abstract class FieldVisitor {
* @param desc
* the class descriptor of the annotation class.
* @param visible
- * true if the annotation is visible at runtime.
- * @return a visitor to visit the annotation values, or null if
+ * true if the annotation is visible at runtime.
+ * @return a visitor to visit the annotation values, or null if
* this visitor is not interested in visiting this annotation.
*/
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
@@ -132,12 +132,12 @@ public abstract class FieldVisitor {
* @param typePath
* the path to the annotated type argument, wildcard bound, array
* element type, or static inner type within 'typeRef'. May be
- * null if the annotation targets 'typeRef' as a whole.
+ * null if the annotation targets 'typeRef' as a whole.
* @param desc
* the class descriptor of the annotation class.
* @param visible
- * true if the annotation is visible at runtime.
- * @return a visitor to visit the annotation values, or null if
+ * true if the annotation is visible at runtime.
+ * @return a visitor to visit the annotation values, or null if
* this visitor is not interested in visiting this annotation.
*/
public AnnotationVisitor visitTypeAnnotation(int typeRef,
diff --git a/src/org/redkale/asm/FieldWriter.java b/src/org/redkale/asm/FieldWriter.java
index a4ecb06fe..17be5542a 100644
--- a/src/org/redkale/asm/FieldWriter.java
+++ b/src/org/redkale/asm/FieldWriter.java
@@ -100,28 +100,28 @@ final class FieldWriter extends FieldVisitor {
private int value;
/**
- * The runtime visible annotations of this field. May be null.
+ * The runtime visible annotations of this field. May be null.
*/
private AnnotationWriter anns;
/**
- * The runtime invisible annotations of this field. May be null.
+ * The runtime invisible annotations of this field. May be null.
*/
private AnnotationWriter ianns;
/**
- * The runtime visible type annotations of this field. May be null.
+ * The runtime visible type annotations of this field. May be null.
*/
private AnnotationWriter tanns;
/**
* The runtime invisible type annotations of this field. May be
- * null.
+ * null.
*/
private AnnotationWriter itanns;
/**
- * The non standard attributes of this field. May be null.
+ * The non standard attributes of this field. May be null.
*/
private Attribute attrs;
@@ -141,9 +141,9 @@ final class FieldWriter extends FieldVisitor {
* @param desc
* the field's descriptor (see {@link Type}).
* @param signature
- * the field's signature. May be null.
+ * the field's signature. May be null.
* @param value
- * the field's constant value. May be null.
+ * the field's constant value. May be null.
*/
FieldWriter(final ClassWriter cw, final int access, final String name,
final String desc, final String signature, final Object value) {
diff --git a/src/org/redkale/asm/Frame.java b/src/org/redkale/asm/Frame.java
index 530c2a8a7..d843dca72 100644
--- a/src/org/redkale/asm/Frame.java
+++ b/src/org/redkale/asm/Frame.java
@@ -1403,7 +1403,7 @@ class Frame {
/**
* Merges the input frame of the given basic block with the input and output
- * frames of this basic block. Returns true if the input frame of
+ * frames of this basic block. Returns true if the input frame of
* the given label has been changed by this operation.
*
* @param cw
@@ -1413,7 +1413,7 @@ class Frame {
* @param edge
* the kind of the {@link Edge} between this label and 'label'.
* See {@link Edge#info}.
- * @return true if the input frame of the given label has been
+ * @return true if the input frame of the given label has been
* changed by this operation.
*/
final boolean merge(final ClassWriter cw, final Frame frame, final int edge) {
@@ -1511,7 +1511,7 @@ class Frame {
/**
* Merges the type at the given index in the given type array with the given
- * type. Returns true if the type array has been modified by this
+ * type. Returns true if the type array has been modified by this
* operation.
*
* @param cw
@@ -1522,7 +1522,7 @@ class Frame {
* an array of types.
* @param index
* the index of the type that must be merged in 'types'.
- * @return true if the type array has been modified by this
+ * @return true if the type array has been modified by this
* operation.
*/
private static boolean merge(final ClassWriter cw, int t,
diff --git a/src/org/redkale/asm/Handler.java b/src/org/redkale/asm/Handler.java
index c3a8fc769..3448caded 100644
--- a/src/org/redkale/asm/Handler.java
+++ b/src/org/redkale/asm/Handler.java
@@ -82,7 +82,7 @@ class Handler {
/**
* Internal name of the type of exceptions handled by this handler, or
- * null to catch any exceptions.
+ * null to catch any exceptions.
*/
String desc;
diff --git a/src/org/redkale/asm/Item.java b/src/org/redkale/asm/Item.java
index a289647fb..5cca74c3a 100644
--- a/src/org/redkale/asm/Item.java
+++ b/src/org/redkale/asm/Item.java
@@ -306,8 +306,8 @@ final class Item {
* @param i
* the item to be compared to this one. Both items must have the
* same {@link #type}.
- * @return true if the given item if equal to this one,
- * false otherwise.
+ * @return true if the given item if equal to this one,
+ * false otherwise.
*/
boolean isEqualTo(final Item i) {
switch (type) {
diff --git a/src/org/redkale/asm/Label.java b/src/org/redkale/asm/Label.java
index c134a3920..bbd4b98b0 100644
--- a/src/org/redkale/asm/Label.java
+++ b/src/org/redkale/asm/Label.java
@@ -325,8 +325,8 @@ public class Label {
* the position of first byte of the bytecode instruction that
* contains this label.
* @param wideOffset
- * true if the reference must be stored in 4 bytes, or
- * false if it must be stored with 2 bytes.
+ * true if the reference must be stored in 4 bytes, or
+ * false if it must be stored with 2 bytes.
* @throws IllegalArgumentException
* if this label has not been created by the given code writer.
*/
@@ -389,7 +389,7 @@ public class Label {
* the position of this label in the bytecode.
* @param data
* the bytecode of the method.
- * @return true if a blank that was left for this label was too
+ * @return true if a blank that was left for this label was too
* small to store the offset. In such a case the corresponding jump
* instruction is replaced with a pseudo instruction (using unused
* opcodes) using an unsigned two bytes offset. These pseudo
diff --git a/src/org/redkale/asm/MethodVisitor.java b/src/org/redkale/asm/MethodVisitor.java
index 71303fe67..b35595a54 100644
--- a/src/org/redkale/asm/MethodVisitor.java
+++ b/src/org/redkale/asm/MethodVisitor.java
@@ -60,24 +60,24 @@ package org.redkale.asm;
/**
* A visitor to visit a Java method. The methods of this class must be called in
- * the following order: ( visitParameter )* [
- * visitAnnotationDefault ] ( visitAnnotation |
- * visitParameterAnnotation visitTypeAnnotation |
- * visitAttribute )* [ visitCode ( visitFrame |
- * visitXInsn | visitLabel |
- * visitInsnAnnotation | visitTryCatchBlock |
- * visitTryCatchAnnotation | visitLocalVariable |
- * visitLocalVariableAnnotation | visitLineNumber )*
- * visitMaxs ] visitEnd. In addition, the
- * visitXInsn and visitLabel methods must be called in
+ * the following order: ( visitParameter )* [
+ * visitAnnotationDefault ] ( visitAnnotation |
+ * visitParameterAnnotation visitTypeAnnotation |
+ * visitAttribute )* [ visitCode ( visitFrame |
+ * visitXInsn | visitLabel |
+ * visitInsnAnnotation | visitTryCatchBlock |
+ * visitTryCatchAnnotation | visitLocalVariable |
+ * visitLocalVariableAnnotation | visitLineNumber )*
+ * visitMaxs ] visitEnd. In addition, the
+ * visitXInsn and visitLabel methods must be called in
* the sequential order of the bytecode instructions of the visited code,
- * visitInsnAnnotation must be called after the annotated
- * instruction, visitTryCatchBlock must be called before the
+ * visitInsnAnnotation must be called after the annotated
+ * instruction, visitTryCatchBlock must be called before the
* labels passed as arguments have been visited,
- * visitTryCatchBlockAnnotation must be called after the
+ * visitTryCatchBlockAnnotation must be called after the
* corresponding try catch block has been visited, and the
- * visitLocalVariable, visitLocalVariableAnnotation and
- * visitLineNumber methods must be called after the labels
+ * visitLocalVariable, visitLocalVariableAnnotation and
+ * visitLineNumber methods must be called after the labels
* passed as arguments have been visited.
*
* @author Eric Bruneton
@@ -132,8 +132,8 @@ public abstract class MethodVisitor {
* @param name
* parameter name or null if none is provided.
* @param access
- * the parameter's access flags, only ACC_FINAL,
- * ACC_SYNTHETIC or/and ACC_MANDATED are
+ * the parameter's access flags, only ACC_FINAL,
+ * ACC_SYNTHETIC or/and ACC_MANDATED are
* allowed (see {@link Opcodes}).
*/
public void visitParameter(String name, int access) {
@@ -146,7 +146,7 @@ public abstract class MethodVisitor {
* Visits the default value of this annotation interface method.
*
* @return a visitor to the visit the actual default value of this
- * annotation interface method, or null if this visitor is
+ * annotation interface method, or null if this visitor is
* not interested in visiting this default value. The 'name'
* parameters passed to the methods of this annotation visitor are
* ignored. Moreover, exacly one visit method must be called on this
@@ -165,8 +165,8 @@ public abstract class MethodVisitor {
* @param desc
* the class descriptor of the annotation class.
* @param visible
- * true if the annotation is visible at runtime.
- * @return a visitor to visit the annotation values, or null if
+ * true if the annotation is visible at runtime.
+ * @return a visitor to visit the annotation values, or null if
* this visitor is not interested in visiting this annotation.
*/
public AnnotationVisitor visitAnnotation(String desc, boolean visible) {
@@ -193,12 +193,12 @@ public abstract class MethodVisitor {
* @param typePath
* the path to the annotated type argument, wildcard bound, array
* element type, or static inner type within 'typeRef'. May be
- * null if the annotation targets 'typeRef' as a whole.
+ * null if the annotation targets 'typeRef' as a whole.
* @param desc
* the class descriptor of the annotation class.
* @param visible
- * true if the annotation is visible at runtime.
- * @return a visitor to visit the annotation values, or null if
+ * true if the annotation is visible at runtime.
+ * @return a visitor to visit the annotation values, or null if
* this visitor is not interested in visiting this annotation.
*/
public AnnotationVisitor visitTypeAnnotation(int typeRef,
@@ -217,8 +217,8 @@ public abstract class MethodVisitor {
* @param desc
* the class descriptor of the annotation class.
* @param visible
- * true if the annotation is visible at runtime.
- * @return a visitor to visit the annotation values, or null if
+ * true if the annotation is visible at runtime.
+ * @return a visitor to visit the annotation values, or null if
* this visitor is not interested in visiting this annotation.
*/
public AnnotationVisitor visitParameterAnnotation(int parameter,
@@ -569,7 +569,7 @@ public abstract class MethodVisitor {
* the constant to be loaded on the stack. This parameter must be
* a non null {@link Integer}, a {@link Float}, a {@link Long}, a
* {@link Double}, a {@link String}, a {@link Type} of OBJECT or
- * ARRAY sort for .class constants, for classes whose
+ * ARRAY sort for .class constants, for classes whose
* version is 49.0, a {@link Type} of METHOD sort or a
* {@link Handle} for MethodType and MethodHandle constants, for
* classes whose version is 51.0.
@@ -604,8 +604,8 @@ public abstract class MethodVisitor {
* @param dflt
* beginning of the default handler block.
* @param labels
- * beginnings of the handler blocks. labels[i] is the
- * beginning of the handler block for the min + i key.
+ * beginnings of the handler blocks. labels[i] is the
+ * beginning of the handler block for the min + i key.
*/
public void visitTableSwitchInsn(int min, int max, Label dflt,
Label... labels) {
@@ -622,8 +622,8 @@ public abstract class MethodVisitor {
* @param keys
* the values of the keys.
* @param labels
- * beginnings of the handler blocks. labels[i] is the
- * beginning of the handler block for the keys[i] key.
+ * beginnings of the handler blocks. labels[i] is the
+ * beginning of the handler block for the keys[i] key.
*/
public void visitLookupSwitchInsn(Label dflt, int[] keys, Label[] labels) {
if (mv != null) {
@@ -668,12 +668,12 @@ public abstract class MethodVisitor {
* @param typePath
* the path to the annotated type argument, wildcard bound, array
* element type, or static inner type within 'typeRef'. May be
- * null if the annotation targets 'typeRef' as a whole.
+ * null if the annotation targets 'typeRef' as a whole.
* @param desc
* the class descriptor of the annotation class.
* @param visible
- * true if the annotation is visible at runtime.
- * @return a visitor to visit the annotation values, or null if
+ * true if the annotation is visible at runtime.
+ * @return a visitor to visit the annotation values, or null if
* this visitor is not interested in visiting this annotation.
*/
public AnnotationVisitor visitInsnAnnotation(int typeRef,
@@ -699,7 +699,7 @@ public abstract class MethodVisitor {
* beginning of the exception handler's code.
* @param type
* internal name of the type of exceptions handled by the
- * handler, or null to catch any exceptions (for
+ * handler, or null to catch any exceptions (for
* "finally" blocks).
* @throws IllegalArgumentException
* if one of the labels has already been visited by this visitor
@@ -725,12 +725,12 @@ public abstract class MethodVisitor {
* @param typePath
* the path to the annotated type argument, wildcard bound, array
* element type, or static inner type within 'typeRef'. May be
- * null if the annotation targets 'typeRef' as a whole.
+ * null if the annotation targets 'typeRef' as a whole.
* @param desc
* the class descriptor of the annotation class.
* @param visible
- * true if the annotation is visible at runtime.
- * @return a visitor to visit the annotation values, or null if
+ * true if the annotation is visible at runtime.
+ * @return a visitor to visit the annotation values, or null if
* this visitor is not interested in visiting this annotation.
*/
public AnnotationVisitor visitTryCatchAnnotation(int typeRef,
@@ -750,7 +750,7 @@ public abstract class MethodVisitor {
* the type descriptor of this local variable.
* @param signature
* the type signature of this local variable. May be
- * null if the local variable type does not use generic
+ * null if the local variable type does not use generic
* types.
* @param start
* the first instruction corresponding to the scope of this local
@@ -782,7 +782,7 @@ public abstract class MethodVisitor {
* @param typePath
* the path to the annotated type argument, wildcard bound, array
* element type, or static inner type within 'typeRef'. May be
- * null if the annotation targets 'typeRef' as a whole.
+ * null if the annotation targets 'typeRef' as a whole.
* @param start
* the fist instructions corresponding to the continuous ranges
* that make the scope of this local variable (inclusive).
@@ -796,8 +796,8 @@ public abstract class MethodVisitor {
* @param desc
* the class descriptor of the annotation class.
* @param visible
- * true if the annotation is visible at runtime.
- * @return a visitor to visit the annotation values, or null if
+ * true if the annotation is visible at runtime.
+ * @return a visitor to visit the annotation values, or null if
* this visitor is not interested in visiting this annotation.
*/
public AnnotationVisitor visitLocalVariableAnnotation(int typeRef,
@@ -819,7 +819,7 @@ public abstract class MethodVisitor {
* @param start
* the first instruction corresponding to this line number.
* @throws IllegalArgumentException
- * if start has not already been visited by this
+ * if start has not already been visited by this
* visitor (by the {@link #visitLabel visitLabel} method).
*/
public void visitLineNumber(int line, Label start) {
diff --git a/src/org/redkale/asm/MethodWriter.java b/src/org/redkale/asm/MethodWriter.java
index 19443688e..7d3fa5eda 100644
--- a/src/org/redkale/asm/MethodWriter.java
+++ b/src/org/redkale/asm/MethodWriter.java
@@ -218,41 +218,41 @@ class MethodWriter extends MethodVisitor {
int[] exceptions;
/**
- * The annotation default attribute of this method. May be null.
+ * The annotation default attribute of this method. May be null.
*/
private ByteVector annd;
/**
- * The runtime visible annotations of this method. May be null.
+ * The runtime visible annotations of this method. May be null.
*/
private AnnotationWriter anns;
/**
- * The runtime invisible annotations of this method. May be null.
+ * The runtime invisible annotations of this method. May be null.
*/
private AnnotationWriter ianns;
/**
- * The runtime visible type annotations of this method. May be null
+ * The runtime visible type annotations of this method. May be null
* .
*/
private AnnotationWriter tanns;
/**
* The runtime invisible type annotations of this method. May be
- * null.
+ * null.
*/
private AnnotationWriter itanns;
/**
* The runtime visible parameter annotations of this method. May be
- * null.
+ * null.
*/
private AnnotationWriter[] panns;
/**
* The runtime invisible parameter annotations of this method. May be
- * null.
+ * null.
*/
private AnnotationWriter[] ipanns;
@@ -381,12 +381,12 @@ class MethodWriter extends MethodVisitor {
private int lastCodeOffset;
/**
- * The runtime visible type annotations of the code. May be null.
+ * The runtime visible type annotations of the code. May be null.
*/
private AnnotationWriter ctanns;
/**
- * The runtime invisible type annotations of the code. May be null.
+ * The runtime invisible type annotations of the code. May be null.
*/
private AnnotationWriter ictanns;
@@ -446,7 +446,7 @@ class MethodWriter extends MethodVisitor {
* is relative to the beginning of the current basic block, i.e., the true
* stack size after the last visited instruction is equal to the
* {@link Label#inputStackTop beginStackSize} of the current basic block
- * plus stackSize.
+ * plus stackSize.
*/
private int stackSize;
@@ -455,7 +455,7 @@ class MethodWriter extends MethodVisitor {
* This size is relative to the beginning of the current basic block, i.e.,
* the true maximum stack size after the last visited instruction is equal
* to the {@link Label#inputStackTop beginStackSize} of the current basic
- * block plus stackSize.
+ * block plus stackSize.
*/
private int maxStackSize;
@@ -475,10 +475,10 @@ class MethodWriter extends MethodVisitor {
* @param desc
* the method's descriptor (see {@link Type}).
* @param signature
- * the method's signature. May be null.
+ * the method's signature. May be null.
* @param exceptions
* the internal names of the method's exceptions. May be
- * null.
+ * null.
* @param compute
* Indicates what must be automatically computed (see #compute).
*/
diff --git a/src/org/redkale/asm/ModuleVisitor.java b/src/org/redkale/asm/ModuleVisitor.java
index cef97f2aa..455d50123 100644
--- a/src/org/redkale/asm/ModuleVisitor.java
+++ b/src/org/redkale/asm/ModuleVisitor.java
@@ -60,9 +60,9 @@ package org.redkale.asm;
/**
* A visitor to visit a Java module. The methods of this class must be called in
- * the following order: visitMainClass | ( visitPackage |
- * visitRequire | visitExport | visitOpen |
- * visitUse | visitProvide )* visitEnd.
+ * the following order: visitMainClass | ( visitPackage |
+ * visitRequire | visitExport | visitOpen |
+ * visitUse | visitProvide )* visitEnd.
*
* The methods {@link #visitRequire(String, int, String)}, {@link #visitExport(String, int, String...)},
* {@link #visitOpen(String, int, String...)} and {@link #visitPackage(String)}
@@ -157,7 +157,7 @@ public abstract class ModuleVisitor {
* {@code ACC_MANDATED}.
* @param modules the qualified names of the modules that can access to
* the public classes of the exported package or
- * null.
+ * null.
*/
public void visitExport(String packaze, int access, String... modules) {
if (mv != null) {
@@ -174,7 +174,7 @@ public abstract class ModuleVisitor {
* {@code ACC_MANDATED}.
* @param modules the qualified names of the modules that can use deep
* reflection to the classes of the open package or
- * null.
+ * null.
*/
public void visitOpen(String packaze, int access, String... modules) {
if (mv != null) {
diff --git a/src/org/redkale/asm/Type.java b/src/org/redkale/asm/Type.java
index cc644bb5c..73d8f45c4 100644
--- a/src/org/redkale/asm/Type.java
+++ b/src/org/redkale/asm/Type.java
@@ -71,47 +71,47 @@ import java.lang.reflect.Method;
public class Type {
/**
- * The sort of the void type. See {@link #getSort getSort}.
+ * The sort of the void type. See {@link #getSort getSort}.
*/
public static final int VOID = 0;
/**
- * The sort of the boolean type. See {@link #getSort getSort}.
+ * The sort of the boolean type. See {@link #getSort getSort}.
*/
public static final int BOOLEAN = 1;
/**
- * The sort of the char type. See {@link #getSort getSort}.
+ * The sort of the char type. See {@link #getSort getSort}.
*/
public static final int CHAR = 2;
/**
- * The sort of the byte type. See {@link #getSort getSort}.
+ * The sort of the byte type. See {@link #getSort getSort}.
*/
public static final int BYTE = 3;
/**
- * The sort of the short type. See {@link #getSort getSort}.
+ * The sort of the short type. See {@link #getSort getSort}.
*/
public static final int SHORT = 4;
/**
- * The sort of the int type. See {@link #getSort getSort}.
+ * The sort of the int type. See {@link #getSort getSort}.
*/
public static final int INT = 5;
/**
- * The sort of the float type. See {@link #getSort getSort}.
+ * The sort of the float type. See {@link #getSort getSort}.
*/
public static final int FLOAT = 6;
/**
- * The sort of the long type. See {@link #getSort getSort}.
+ * The sort of the long type. See {@link #getSort getSort}.
*/
public static final int LONG = 7;
/**
- * The sort of the double type. See {@link #getSort getSort}.
+ * The sort of the double type. See {@link #getSort getSort}.
*/
public static final int DOUBLE = 8;
@@ -131,55 +131,55 @@ public class Type {
public static final int METHOD = 11;
/**
- * The void type.
+ * The void type.
*/
public static final Type VOID_TYPE = new Type(VOID, null, ('V' << 24)
| (5 << 16) | (0 << 8) | 0, 1);
/**
- * The boolean type.
+ * The boolean type.
*/
public static final Type BOOLEAN_TYPE = new Type(BOOLEAN, null, ('Z' << 24)
| (0 << 16) | (5 << 8) | 1, 1);
/**
- * The char type.
+ * The char type.
*/
public static final Type CHAR_TYPE = new Type(CHAR, null, ('C' << 24)
| (0 << 16) | (6 << 8) | 1, 1);
/**
- * The byte type.
+ * The byte type.
*/
public static final Type BYTE_TYPE = new Type(BYTE, null, ('B' << 24)
| (0 << 16) | (5 << 8) | 1, 1);
/**
- * The short type.
+ * The short type.
*/
public static final Type SHORT_TYPE = new Type(SHORT, null, ('S' << 24)
| (0 << 16) | (7 << 8) | 1, 1);
/**
- * The int type.
+ * The int type.
*/
public static final Type INT_TYPE = new Type(INT, null, ('I' << 24)
| (0 << 16) | (0 << 8) | 1, 1);
/**
- * The float type.
+ * The float type.
*/
public static final Type FLOAT_TYPE = new Type(FLOAT, null, ('F' << 24)
| (2 << 16) | (2 << 8) | 1, 1);
/**
- * The long type.
+ * The long type.
*/
public static final Type LONG_TYPE = new Type(LONG, null, ('J' << 24)
| (1 << 16) | (1 << 8) | 2, 1);
/**
- * The double type.
+ * The double type.
*/
public static final Type DOUBLE_TYPE = new Type(DOUBLE, null, ('D' << 24)
| (3 << 16) | (3 << 8) | 2, 1);
@@ -439,8 +439,8 @@ public class Type {
* @return the size of the arguments of the method (plus one for the
* implicit this argument), argSize, and the size of its return
* value, retSize, packed into a single int i =
- * (argSize << 2) | retSize (argSize is therefore equal to
- * i >> 2, and retSize to i & 0x03).
+ * (argSize << 2) | retSize (argSize is therefore equal to
+ * i >> 2, and retSize to i & 0x03).
*/
public static int getArgumentsAndReturnSizes(final String desc) {
int n = 1;
@@ -645,9 +645,9 @@ public class Type {
* @return the size of the arguments (plus one for the implicit this
* argument), argSize, and the size of the return value, retSize,
* packed into a single
- * int i = (argSize << 2) | retSize
- * (argSize is therefore equal to i >> 2,
- * and retSize to i & 0x03).
+ * int i = (argSize << 2) | retSize
+ * (argSize is therefore equal to i >> 2,
+ * and retSize to i & 0x03).
*/
public int getArgumentsAndReturnSizes() {
return getArgumentsAndReturnSizes(getDescriptor());
@@ -838,8 +838,8 @@ public class Type {
* Returns the size of values of this type. This method must not be used for
* method types.
*
- * @return the size of values of this type, i.e., 2 for long and
- * double, 0 for void and 1 otherwise.
+ * @return the size of values of this type, i.e., 2 for long and
+ * double, 0 for void and 1 otherwise.
*/
public int getSize() {
// the size is in byte 0 of 'off' for primitive types (buf == null)
@@ -855,8 +855,8 @@ public class Type {
* ISTORE, IALOAD, IASTORE, IADD, ISUB, IMUL, IDIV, IREM, INEG,
* ISHL, ISHR, IUSHR, IAND, IOR, IXOR and IRETURN.
* @return an opcode that is similar to the given opcode, but adapted to
- * this Java type. For example, if this type is float and
- * opcode is IRETURN, this method returns FRETURN.
+ * this Java type. For example, if this type is float and
+ * opcode is IRETURN, this method returns FRETURN.
*/
public int getOpcode(final int opcode) {
if (opcode == Opcodes.IALOAD || opcode == Opcodes.IASTORE) {
@@ -879,7 +879,7 @@ public class Type {
*
* @param o
* the object to be compared to this type.
- * @return true if the given object is equal to this type.
+ * @return true if the given object is equal to this type.
*/
@Override
public boolean equals(final Object o) {
diff --git a/src/org/redkale/net/http/HttpRequest.java b/src/org/redkale/net/http/HttpRequest.java
index b02512ac6..9e630d465 100644
--- a/src/org/redkale/net/http/HttpRequest.java
+++ b/src/org/redkale/net/http/HttpRequest.java
@@ -384,7 +384,6 @@ public class HttpRequest extends Request {
}
/**
- * @Deprecated
* 建议使用 setCurrentUserid, 通过userid从Service或缓存中获取用户信息
* 设置当前用户信息, 通常在HttpServlet.preExecute方法里设置currentUser
* 数据类型由@HttpUserType指定
@@ -401,7 +400,6 @@ public class HttpRequest extends Request {
}
/**
- * @Deprecated
* 建议使用 currentUserid, 通过userid从Service或缓存中获取用户信息
* 获取当前用户信息
* 数据类型由@HttpUserType指定