Commit 90823e3b authored by Remi Forax's avatar Remi Forax

replace <tt></tt> in the javadoc comments by @code/@literal

parent 63253d4a
Pipeline #2614 passed with stage
in 7 minutes and 16 seconds
......@@ -96,8 +96,8 @@ public class Analyzer<V extends Value> implements Opcodes {
* @param method the method to be analyzed.
* @return the symbolic state of the execution stack frame at each bytecode instruction of the
* method. The size of the returned array is equal to the number of instructions (and labels)
* of the method. A given frame is <tt>null</tt> if and only if the corresponding instruction
* cannot be reached (dead code).
* of the method. A given frame is {@literal null} if and only if the corresponding
* instruction cannot be reached (dead code).
* @throws AnalyzerException if a problem occurs during the analysis.
*/
@SuppressWarnings("unchecked")
......@@ -412,7 +412,7 @@ public class Analyzer<V extends Value> implements Opcodes {
*
* @return the symbolic state of the execution stack frame at each bytecode instruction of the
* method. The size of the returned array is equal to the number of instructions (and labels)
* of the method. A given frame is <tt>null</tt> if the corresponding instruction cannot be
* of the method. A given frame is {@literal null} if the corresponding instruction cannot be
* reached, or if an error occurred during the analysis of the method.
*/
public Frame<V>[] getFrames() {
......
......@@ -50,7 +50,7 @@ import org.objectweb.asm.tree.TypeInsnNode;
public class BasicInterpreter extends Interpreter<BasicValue> implements Opcodes {
/**
* Special type used for the <tt>null</tt> literal. This is an object reference type with
* Special type used for the {@literal null} literal. This is an object reference type with
* descriptor 'Lnull;'.
*/
public static final Type NULL_TYPE = Type.getObjectType("null");
......
......@@ -59,7 +59,7 @@ public class BasicValue implements Value {
/** A return address value (produced by a jsr instruction). */
public static final BasicValue RETURNADDRESS_VALUE = new BasicValue(Type.VOID_TYPE);
/** The {@link Type} of this value, or <tt>null</tt> for uninitialized values. */
/** The {@link Type} of this value, or {@literal null} for uninitialized values. */
private final Type type;
/**
......
......@@ -49,7 +49,7 @@ import org.objectweb.asm.tree.VarInsnNode;
public class Frame<V extends Value> {
/**
* The expected return type of the analyzed method, or <tt>null</tt> if the method returns void.
* The expected return type of the analyzed method, or {@literal null} if the method returns void.
*/
private V returnValue;
......@@ -104,7 +104,7 @@ public class Frame<V extends Value> {
/**
* Sets the expected return type of the analyzed method.
*
* @param v the expected return type of the analyzed method, or <tt>null</tt> if the method
* @param v the expected return type of the analyzed method, or {@literal null} if the method
* returns void.
*/
public void setReturn(final V v) {
......@@ -647,8 +647,8 @@ public class Frame<V extends Value> {
*
* @param frame a frame. This frame is left unchanged by this method.
* @param interpreter the interpreter used to merge values.
* @return <tt>true</tt> if this frame has been changed as a result of the merge operation, or
* <tt>false</tt> otherwise.
* @return {@literal true} if this frame has been changed as a result of the merge operation, or
* {@literal false} otherwise.
* @throws AnalyzerException if the frames have incompatible sizes.
*/
public boolean merge(final Frame<? extends V> frame, final Interpreter<V> interpreter)
......@@ -675,8 +675,8 @@ public class Frame<V extends Value> {
* @param localsUsed the local variables that are read or written by the subroutine. The i-th
* element is true if and only if the local variable at index i is read or written by the
* subroutine.
* @return <tt>true</tt> if this frame has been changed as a result of the merge operation, or
* <tt>false</tt> otherwise.
* @return {@literal true} if this frame has been changed as a result of the merge operation, or
* {@literal false} otherwise.
*/
public boolean merge(final Frame<? extends V> frame, final boolean[] localsUsed) {
boolean changed = false;
......
......@@ -74,7 +74,7 @@ public abstract class Interpreter<V extends Value> {
* Interpreter#newExceptionValue(TryCatchBlockNode, Frame, Type)} to distinguish different types
* of new value.
*
* @param type a primitive or reference type, or <tt>null</tt> to represent an uninitialized
* @param type a primitive or reference type, or {@literal null} to represent an uninitialized
* value.
* @return a value that represents the given type. The size of the returned value must be equal to
* the size of the given type.
......@@ -87,7 +87,7 @@ public abstract class Interpreter<V extends Value> {
*
* <p>By default, calls <code>newValue(type)</code>.
*
* @param isInstanceMethod <tt>true</tt> if the method is non-static.
* @param isInstanceMethod {@literal true} if the method is non-static.
* @param local the local variable index.
* @param type a primitive or reference type.
* @return a value that represents the given type. The size of the returned value must be equal to
......@@ -135,8 +135,8 @@ public abstract class Interpreter<V extends Value> {
* @param tryCatchBlockNode the exception handler.
* @param handlerFrame the exception handler frame.
* @param exceptionType the exception type handled by this handler.
* @return a value that represents the given <tt>exceptionType</tt>. The size of the returned
* value must be equal to 1.
* @return a value that represents the given {@code exceptionType}. The size of the returned value
* must be equal to 1.
*/
public V newExceptionValue(
final TryCatchBlockNode tryCatchBlockNode,
......@@ -169,7 +169,7 @@ public abstract class Interpreter<V extends Value> {
* @param insn the bytecode instruction to be interpreted.
* @param value the value that must be moved by the instruction.
* @return the result of the interpretation of the given instruction. The returned value must be
* <tt>equal</tt> to the given value.
* {@code equal} to the given value.
* @throws AnalyzerException if an error occurred during the interpretation.
*/
public abstract V copyOperation(AbstractInsnNode insn, V value) throws AnalyzerException;
......@@ -261,8 +261,8 @@ public abstract class Interpreter<V extends Value> {
*
* @param value1 a value.
* @param value2 another value.
* @return the merged value. If the merged value is equal to <tt>value1</tt>, this method
* <i>must</i> return <tt>value1</tt>.
* @return the merged value. If the merged value is equal to {@code value1}, this method
* <i>must</i> return {@code value1}.
*/
public abstract V merge(V value1, V value2);
}
......@@ -41,12 +41,12 @@ import java.util.Set;
*/
final class SmallSet<T> extends AbstractSet<T> {
/** The first element of this set, maybe <tt>null</tt>. */
/** The first element of this set, maybe {@literal null}. */
private final T element1;
/**
* The second element of this set, maybe <tt>null</tt>. If {@link #element1} is <tt>null</tt> then
* this field must be <tt>null</tt>, otherwise it must be different from {@link #element1}.
* The second element of this set, maybe {@literal null}. If {@link #element1} is {@literal null}
* then this field must be {@literal null}, otherwise it must be different from {@link #element1}.
*/
private final T element2;
......@@ -92,13 +92,13 @@ final class SmallSet<T> extends AbstractSet<T> {
static class IteratorImpl<T> implements Iterator<T> {
/** The next element to return in {@link #next}. Maybe <tt>null</tt>. */
/** The next element to return in {@link #next}. Maybe {@literal null}. */
private T firstElement;
/**
* The element to return in {@link #next}, after {@link #firstElement} is returned. If {@link
* #firstElement} is <tt>null</tt> then this field must be <tt>null</tt>, otherwise it must be
* different from {@link #firstElement}.
* #firstElement} is {@literal null} then this field must be {@literal null}, otherwise it must
* be different from {@link #firstElement}.
*/
private T secondElement;
......
......@@ -45,7 +45,7 @@ public class SourceValue implements Value {
/**
* The instructions that can produce this value. For example, for the Java code below, the
* instructions that can produce the value of <tt>i</tt> at line 5 are the two ISTORE instructions
* instructions that can produce the value of {@code i} at line 5 are the two ISTORE instructions
* at line 1 and 3:
*
* <pre>
......
......@@ -62,7 +62,7 @@ public class AnalyzerAdapter extends MethodVisitor {
* double are represented by two elements, the second one being TOP). Reference types are
* represented by String objects (representing internal names), and uninitialized types by Label
* objects (this label designates the NEW instruction that created this uninitialized value). This
* field is <tt>null</tt> for unreachable instructions.
* field is {@literal null} for unreachable instructions.
*/
public List<Object> locals;
......@@ -73,11 +73,11 @@ public class AnalyzerAdapter extends MethodVisitor {
* double are represented by two elements, the second one being TOP). Reference types are
* represented by String objects (representing internal names), and uninitialized types by Label
* objects (this label designates the NEW instruction that created this uninitialized value). This
* field is <tt>null</tt> for unreachable instructions.
* field is {@literal null} for unreachable instructions.
*/
public List<Object> stack;
/** The labels that designate the next instruction to be visited. May be <tt>null</tt>. */
/** The labels that designate the next instruction to be visited. May be {@literal null}. */
private List<Label> labels;
/**
......@@ -106,8 +106,8 @@ public class AnalyzerAdapter extends MethodVisitor {
* @param access the method's access flags (see {@link Opcodes}).
* @param name the method's name.
* @param descriptor the method's descriptor (see {@link Type}).
* @param methodVisitor the method visitor to which this adapter delegates calls. May be
* <tt>null</tt>.
* @param methodVisitor the method visitor to which this adapter delegates calls. May be {@literal
* null}.
* @throws IllegalStateException If a subclass calls this constructor.
*/
public AnalyzerAdapter(
......@@ -132,8 +132,8 @@ public class AnalyzerAdapter extends MethodVisitor {
* @param access the method's access flags (see {@link Opcodes}).
* @param name the method's name.
* @param descriptor the method's descriptor (see {@link Type}).
* @param methodVisitor the method visitor to which this adapter delegates calls. May be
* <tt>null</tt>.
* @param methodVisitor the method visitor to which this adapter delegates calls. May be {@literal
* null}.
*/
protected AnalyzerAdapter(
final int api,
......
......@@ -251,8 +251,8 @@ public class GeneratorAdapter extends LocalVariablesSorter {
*
* @param access access flags of the adapted method.
* @param method the adapted method.
* @param signature the signature of the adapted method (may be <tt>null</tt>).
* @param exceptions the exceptions thrown by the adapted method (may be <tt>null</tt>).
* @param signature the signature of the adapted method (may be {@literal null}).
* @param exceptions the exceptions thrown by the adapted method (may be {@literal null}).
* @param classVisitor the class visitor to which this adapter delegates calls.
*/
public GeneratorAdapter(
......@@ -379,7 +379,7 @@ public class GeneratorAdapter extends LocalVariablesSorter {
/**
* Generates the instruction to push the given value on the stack.
*
* @param value the value to be pushed on the stack. May be <tt>null</tt>.
* @param value the value to be pushed on the stack. May be {@literal null}.
*/
public void push(final String value) {
if (value == null) {
......@@ -950,7 +950,7 @@ public class GeneratorAdapter extends LocalVariablesSorter {
*
* @param type the type of the top two stack values.
* @param mode how these values must be compared. One of EQ, NE, LT, GE, GT, LE.
* @param label where to jump if the comparison result is <tt>true</tt>.
* @param label where to jump if the comparison result is {@literal true}.
*/
public void ifCmp(final Type type, final int mode, final Label label) {
switch (type.getSort()) {
......@@ -1009,7 +1009,7 @@ public class GeneratorAdapter extends LocalVariablesSorter {
* stack values.
*
* @param mode how these values must be compared. One of EQ, NE, LT, GE, GT, LE.
* @param label where to jump if the comparison result is <tt>true</tt>.
* @param label where to jump if the comparison result is {@literal true}.
*/
public void ifICmp(final int mode, final Label label) {
ifCmp(Type.INT_TYPE, mode, label);
......@@ -1020,7 +1020,7 @@ public class GeneratorAdapter extends LocalVariablesSorter {
* value with zero.
*
* @param mode how these values must be compared. One of EQ, NE, LT, GE, GT, LE.
* @param label where to jump if the comparison result is <tt>true</tt>.
* @param label where to jump if the comparison result is {@literal true}.
*/
public void ifZCmp(final int mode, final Label label) {
mv.visitJumpInsn(mode, label);
......@@ -1029,7 +1029,7 @@ public class GeneratorAdapter extends LocalVariablesSorter {
/**
* Generates the instruction to jump to the given label if the top stack value is null.
*
* @param label where to jump if the condition is <tt>true</tt>.
* @param label where to jump if the condition is {@literal true}.
*/
public void ifNull(final Label label) {
mv.visitJumpInsn(Opcodes.IFNULL, label);
......@@ -1038,7 +1038,7 @@ public class GeneratorAdapter extends LocalVariablesSorter {
/**
* Generates the instruction to jump to the given label if the top stack value is not null.
*
* @param label where to jump if the condition is <tt>true</tt>.
* @param label where to jump if the condition is {@literal true}.
*/
public void ifNonNull(final Label label) {
mv.visitJumpInsn(Opcodes.IFNONNULL, label);
......@@ -1047,7 +1047,7 @@ public class GeneratorAdapter extends LocalVariablesSorter {
/**
* Generates the instruction to jump to the given label.
*
* @param label where to jump if the condition is <tt>true</tt>.
* @param label where to jump if the condition is {@literal true}.
*/
public void goTo(final Label label) {
mv.visitJumpInsn(Opcodes.GOTO, label);
......@@ -1084,7 +1084,7 @@ public class GeneratorAdapter extends LocalVariablesSorter {
*
* @param keys the switch case keys.
* @param generator a generator to generate the code for the switch cases.
* @param useTable <tt>true</tt> to use a TABLESWITCH instruction, or <tt>false</tt> to use a
* @param useTable {@literal true} to use a TABLESWITCH instruction, or {@literal false} to use a
* LOOKUPSWITCH instruction.
*/
public void tableSwitch(
......
......@@ -86,8 +86,8 @@ public class JSRInlinerAdapter extends MethodNode implements Opcodes {
* @param access the method's access flags.
* @param name the method's name.
* @param descriptor the method's descriptor.
* @param signature the method's signature. May be <tt>null</tt>.
* @param exceptions the internal names of the method's exception classes. May be <tt>null</tt>.
* @param signature the method's signature. May be {@literal null}.
* @param exceptions the internal names of the method's exception classes. May be {@literal null}.
* @throws IllegalStateException if a subclass calls this constructor.
*/
public JSRInlinerAdapter(
......@@ -115,8 +115,8 @@ public class JSRInlinerAdapter extends MethodNode implements Opcodes {
* the method is synthetic and/or deprecated.
* @param name the method's name.
* @param descriptor the method's descriptor.
* @param signature the method's signature. May be <tt>null</tt>.
* @param exceptions the internal names of the method's exception classes. May be <tt>null</tt>.
* @param signature the method's signature. May be {@literal null}.
* @param exceptions the internal names of the method's exception classes. May be {@literal null}.
*/
protected JSRInlinerAdapter(
final int api,
......@@ -420,8 +420,8 @@ public class JSRInlinerAdapter extends MethodNode implements Opcodes {
private class Instantiation extends AbstractMap<LabelNode, LabelNode> {
/**
* The instantiation from which this one was created (or <tt>null</tt> for the instantiation of
* the main "subroutine").
* The instantiation from which this one was created (or {@literal null} for the instantiation
* of the main "subroutine").
*/
final Instantiation parent;
......
......@@ -268,7 +268,7 @@ public abstract class AsmTest {
/**
* Builds a list of test arguments for a parameterized test. Parameterized test cases annotated
* with <tt>@MethodSource("allClassesAndAllApis")</tt> will be executed on all the possible
* with {@code @MethodSource("allClassesAndAllApis")} will be executed on all the possible
* (precompiledClass, api) pairs.
*
* @return all the possible (precompiledClass, api) pairs, for all the precompiled classes and all
......@@ -280,7 +280,7 @@ public abstract class AsmTest {
/**
* Builds a list of test arguments for a parameterized test. Parameterized test cases annotated
* with <tt>@MethodSource("allClassesAndLatestApi")</tt> will be executed on all the precompiled
* with {@code @MethodSource("allClassesAndLatestApi")} will be executed on all the precompiled
* classes, with the latest api.
*
* @return all the possible (precompiledClass, ASM7) pairs, for all the precompiled classes.
......
......@@ -94,14 +94,14 @@ public abstract class AbstractInsnNode {
/**
* The runtime visible type annotations of this instruction. This field is only used for real
* instructions (i.e. not for labels, frames, or line number nodes). This list is a list of {@link
* TypeAnnotationNode} objects. May be <tt>null</tt>.
* TypeAnnotationNode} objects. May be {@literal null}.
*/
public List<TypeAnnotationNode> visibleTypeAnnotations;
/**
* The runtime invisible type annotations of this instruction. This field is only used for real
* instructions (i.e. not for labels, frames, or line number nodes). This list is a list of {@link
* TypeAnnotationNode} objects. May be <tt>null</tt>.
* TypeAnnotationNode} objects. May be {@literal null}.
*/
public List<TypeAnnotationNode> invisibleTypeAnnotations;
......@@ -148,7 +148,7 @@ public abstract class AbstractInsnNode {
* Returns the previous instruction in the list to which this instruction belongs, if any.
*
* @return the previous instruction in the list to which this instruction belongs, if any. May be
* <tt>null</tt>.
* {@literal null}.
*/
public AbstractInsnNode getPrevious() {
return previousInsn;
......@@ -158,7 +158,7 @@ public abstract class AbstractInsnNode {
* Returns the next instruction in the list to which this instruction belongs, if any.
*
* @return the next instruction in the list to which this instruction belongs, if any. May be
* <tt>null</tt>.
* {@literal null}.
*/
public AbstractInsnNode getNext() {
return nextInsn;
......
......@@ -48,7 +48,7 @@ public class AnnotationNode extends AnnotationVisitor {
* Boolean}, {@link Character}, {@link Short}, {@link Integer}, {@link Long}, {@link Float},
* {@link Double}, {@link String} or {@link org.objectweb.asm.Type}, or a two elements String
* array (for enumeration values), an {@link AnnotationNode}, or a {@link List} of values of one
* of the preceding types. The list may be <tt>null</tt> if there is no name value pair.
* of the preceding types. The list may be {@literal null} if there is no name value pair.
*/
public List<Object> values;
......@@ -183,7 +183,7 @@ public class AnnotationNode extends AnnotationVisitor {
/**
* Makes the given visitor visit this annotation.
*
* @param annotationVisitor an annotation visitor. Maybe <tt>null</tt>.
* @param annotationVisitor an annotation visitor. Maybe {@literal null}.
*/
public void accept(final AnnotationVisitor annotationVisitor) {
if (annotationVisitor != null) {
......@@ -201,7 +201,7 @@ public class AnnotationNode extends AnnotationVisitor {
/**
* Makes the given visitor visit a given annotation value.
*
* @param annotationVisitor an annotation visitor. Maybe <tt>null</tt>.
* @param annotationVisitor an annotation visitor. Maybe {@literal null}.
* @param name the value name.
* @param value the actual value.
*/
......
......@@ -60,12 +60,12 @@ public class ClassNode extends ClassVisitor {
/** The internal name of this class (see {@link org.objectweb.asm.Type#getInternalName}). */
public String name;
/** The signature of this class. May be <tt>null</tt>. */
/** The signature of this class. May be {@literal null}. */
public String signature;
/**
* The internal of name of the super class (see {@link org.objectweb.asm.Type#getInternalName}).
* For interfaces, the super class is {@link Object}. May be <tt>null</tt>, but only for the
* For interfaces, the super class is {@link Object}. May be {@literal null}, but only for the
* {@link Object} class.
*/
public String superName;
......@@ -76,45 +76,45 @@ public class ClassNode extends ClassVisitor {
*/
public List<String> interfaces;
/** The name of the source file from which this class was compiled. May be <tt>null</tt>. */
/** The name of the source file from which this class was compiled. May be {@literal null}. */
public String sourceFile;
/**
* The correspondence between source and compiled elements of this class. May be <tt>null</tt>.
* The correspondence between source and compiled elements of this class. May be {@literal null}.
*/
public String sourceDebug;
/** The module stored in this class. May be <tt>null</tt>. */
/** The module stored in this class. May be {@literal null}. */
public ModuleNode module;
/** The internal name of the enclosing class of this class. May be <tt>null</tt>. */
/** The internal name of the enclosing class of this class. May be {@literal null}. */
public String outerClass;
/**
* The name of the method that contains this class, or <tt>null</tt> if this class is not enclosed
* in a method.
* The name of the method that contains this class, or {@literal null} if this class is not
* enclosed in a method.
*/
public String outerMethod;
/**
* The descriptor of the method that contains this class, or <tt>null</tt> if this class is not
* The descriptor of the method that contains this class, or {@literal null} if this class is not
* enclosed in a method.
*/
public String outerMethodDesc;
/** The runtime visible annotations of this class. May be <tt>null</tt>. */
/** The runtime visible annotations of this class. May be {@literal null}. */
public List<AnnotationNode> visibleAnnotations;
/** The runtime invisible annotations of this class. May be <tt>null</tt>. */
/** The runtime invisible annotations of this class. May be {@literal null}. */
public List<AnnotationNode> invisibleAnnotations;
/** The runtime visible type annotations of this class. May be <tt>null</tt>. */
/** The runtime visible type annotations of this class. May be {@literal null}. */
public List<TypeAnnotationNode> visibleTypeAnnotations;
/** The runtime invisible type annotations of this class. May be <tt>null</tt>. */
/** The runtime invisible type annotations of this class. May be {@literal null}. */
public List<TypeAnnotationNode> invisibleTypeAnnotations;
/** The non standard attributes of this class. May be <tt>null</tt>. */
/** The non standard attributes of this class. May be {@literal null}. */
public List<Attribute> attrs;
/** The inner classes of this class. */
......@@ -123,14 +123,14 @@ public class ClassNode extends ClassVisitor {
/**
* <b>Experimental, use at your own risk. This field will be renamed when it becomes stable, this
* will break existing code using it</b>. The internal name of the nest host class of this class.
* May be <tt>null</tt>.
* May be {@literal null}.
*/
public String nestHostClassExperimental;
/**
* <b>Experimental, use at your own risk. This field will be renamed when it becomes stable, this
* will break existing code using it</b>. The internal names of the nest members of this class.
* May be <tt>null</tt>.
* May be {@literal null}.
*/
public List<String> nestMembersExperimental;
......
......@@ -55,29 +55,29 @@ public class FieldNode extends FieldVisitor {
/** The field's descriptor (see {@link org.objectweb.asm.Type}). */
public String desc;
/** The field's signature. May be <tt>null</tt>. */
/** The field's signature. May be {@literal null}. */
public String signature;
/**
* The field's initial value. This field, which may be <tt>null</tt> 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}.
* The field's initial value. This field, which may be {@literal 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}.
*/
public Object value;
/** The runtime visible annotations of this field. May be <tt>null</tt>. */
/** The runtime visible annotations of this field. May be {@literal null}. */
public List<AnnotationNode> visibleAnnotations;
/** The runtime invisible annotations of this field. May be <tt>null</tt>. */
/** The runtime invisible annotations of this field. May be {@literal null}. */
public List<AnnotationNode> invisibleAnnotations;
/** The runtime visible type annotations of this field. May be <tt>null</tt>. */
/** The runtime visible type annotations of this field. May be {@literal null}. */
public List<TypeAnnotationNode> visibleTypeAnnotations;
/** The runtime invisible type annotations of this field. May be <tt>null</tt>. */
/** The runtime invisible type annotations of this field. May be {@literal null}. */
public List<TypeAnnotationNode> invisibleTypeAnnotations;
/** The non standard attributes of this field. * May be <tt>null</tt>. */
/** The non standard attributes of this field. * May be {@literal null}. */
public List<Attribute> attrs;
/**
......@@ -89,8 +89,8 @@ public class FieldNode extends FieldVisitor {
* @param name the field's name.
* @param descriptor the field's descriptor (see {@link org.objectweb.asm.Type}).
* @param signature the field's signature.
* @param value the field's initial value. This parameter, which may be <tt>null</tt> if the field
* does not have an initial value, must be an {@link Integer}, a {@link Float}, a {@link
* @param value the field's initial value. This parameter, which may be {@literal 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}.
* @throws IllegalStateException If a subclass calls this constructor.
*/
......@@ -116,8 +116,8 @@ public class FieldNode extends FieldVisitor {
* @param name the field's name.
* @param descriptor the field's descriptor (see {@link org.objectweb.asm.Type}).
* @param signature the field's signature.
* @param value the field's initial value. This parameter, which may be <tt>null</tt> if the field
* does not have an initial value, must be an {@link Integer}, a {@link Float}, a {@link
* @param value the field's initial value. This parameter, which may be {@literal 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}.
*/
public FieldNode(
......
......@@ -41,12 +41,12 @@ public class InnerClassNode {
/**
* The internal name of the class to which the inner class belongs (see {@link
* org.objectweb.asm.Type#getInternalName()}). May be <tt>null</tt>.
* org.objectweb.asm.Type#getInternalName()}). May be {@literal null}.
*/
public String outerName;
/**
* The (simple) name of the inner class inside its enclosing class. May be <tt>null</tt> for
* The (simple) name of the inner class inside its enclosing class. May be {@literal null} for
* anonymous inner classes.
*/
public String innerName;
......@@ -60,9 +60,9 @@ public class InnerClassNode {
* @param name the internal name of an inner class (see {@link
* org.objectweb.asm.Type#getInternalName()}).
* @param outerName the internal name of the class to which the inner class belongs (see {@link
* org.objectweb.asm.Type#getInternalName()}). May be <tt>null</tt>.
* org.objectweb.asm.Type#getInternalName()}). May be {@literal null}.
* @param innerName the (simple) name of the inner class inside its enclosing class. May be
* <tt>null</tt> for anonymous inner classes.
* {@literal null} for anonymous inner classes.
* @param access the access flags of the inner class as originally declared in the enclosing
* class.
*/
......
......@@ -40,10 +40,10 @@ public class InsnList {
/** The number of instructions in this list. */
private int size;
/** The first instruction in this list. May be <tt>null</tt>. */
/** The first instruction in this list. May be {@literal null}. */
private AbstractInsnNode firstInsn;
/** The last instruction in this list. May be <tt>null</tt>. */
/** The last instruction in this list. May be {@literal null}. */
private AbstractInsnNode lastInsn;
/**
......@@ -64,7 +64,7 @@ public class InsnList {
/**
* Returns the first instruction in this list.
*
* @return the first instruction in this list, or <tt>null</tt> if the list is empty.
* @return the first instruction in this list, or {@literal null} if the list is empty.
*/
public AbstractInsnNode getFirst() {
return firstInsn;
......@@ -73,7 +73,7 @@ public class InsnList {
/**
* Returns the last instruction in this list.
*
* @return the last instruction in this list, or <tt>null</tt> if the list is empty.
* @return the last instruction in this list, or {@literal null} if the list is empty.
*/
public AbstractInsnNode getLast() {
return lastInsn;
......@@ -100,12 +100,12 @@ public class InsnList {
}
/**
* Returns <tt>true</tt> if the given instruction belongs to this list. This method always scans
* Returns {@literal true} if the given instruction belongs to this list. This method always scans
* the instructions of this list until it finds the given instruction or reaches the end of the
* list.
*
* @param insnNode an instruction.
* @return <tt>true</tt> if the given instruction belongs to this list.
* @return {@literal true} if the given instruction belongs to this list.
*/
public boolean contains(final AbstractInsnNode insnNode) {
AbstractInsnNode currentInsn = firstInsn;
......
......@@ -43,20 +43,20 @@ public class LocalVariableAnnotationNode extends TypeAnnotationNode {
/**
* The fist instructions corresponding to the continuous ranges that make the scope of this local
* variable (inclusive). Must not be <tt>null</tt>.
* variable (inclusive). Must not be {@literal null}.
*/
public List<LabelNode> start;
/**
* The last instructions corresponding to the continuous ranges that make the scope of this local
* variable (exclusive). This list must have the same size as the 'start' list. Must not be
* <tt>null</tt>.
* {@literal null}.
*/
public List<LabelNode> end;
/**
* The local variable's index in each range. This list must have the same size as the 'start'
* list. Must not be <tt>null</tt>.
* list. Must not be {@literal null}.
*/
public List<Integer> index;
......@@ -67,7 +67,7 @@ public class LocalVariableAnnotationNode extends TypeAnnotationNode {
*
* @param typeRef a reference to the annotated type. See {@link org.objectweb.asm.TypeReference}.
* @param typePath the path to the annotated type argument, wildcard bound, array element type, or
* static inner type within 'typeRef'. May be <tt>null</tt> if the annotation targets
* static inner type within 'typeRef'. May be {@literal 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).
......@@ -101,7 +101,7 @@ public class LocalVariableAnnotationNode extends TypeAnnotationNode {
* @param index the local variable's index in each range. This array must have the same size as
* the 'start' array.
* @param typePath the path to the annotated type argument, wildcard bound, array element type, or
* static inner type within 'typeRef'. May be <tt>null</tt> if the annotation targets
* static inner type within 'typeRef'. May be {@literal null} if the annotation targets
* 'typeRef' as a whole.
* @param descriptor the class descriptor of the annotation class.
*/
......@@ -123,7 +123,7 @@ public class LocalVariableAnnotationNode extends TypeAnnotationNode {
* Makes the given visitor visit this type annotation.
*
* @param methodVisitor the visitor that must visit this annotation.
* @param visible <tt>true</tt> if the annotation is visible at runtime.
* @param visible {@literal true} if the annotation is visible at runtime.
*/
public void accept(final MethodVisitor methodVisitor, final boolean visible) {
Label[] startLabels = new Label[this.start.size()];
......
......@@ -42,7 +42,7 @@ public class LocalVariableNode {
/** The type descriptor of this local variable. */
public String desc;
/** The signature of this local variable. May be <tt>null</tt>. */
/** The signature of this local variable. May be {@literal null}. */
public String signature;
/** The first instruction corresponding to the scope of this local variable (inclusive). */
......@@ -59,7 +59,7 @@ public class LocalVariableNode {
*