Commit cf865d3e authored by ekuleshov's avatar ekuleshov
Browse files

make node fields mutable

[[Split portion of a mixed commit.]]
parent 6ce6eb3d
......@@ -80,7 +80,7 @@ public class ClassNode extends MemberNode implements ClassVisitor {
* {@link org.objectweb.asm.Type#getInternalName() getInternalName}). This
* list is a list of {@link String} objects.
*/
public final List interfaces;
public List interfaces;
/**
* The name of the source file from which this class was compiled. May be
......@@ -118,7 +118,7 @@ public class ClassNode extends MemberNode implements ClassVisitor {
*
* @associates org.objectweb.asm.tree.InnerClassNode
*/
public final List innerClasses;
public List innerClasses;
/**
* The fields of this class. This list is a list of {@link FieldNode}
......@@ -126,7 +126,7 @@ public class ClassNode extends MemberNode implements ClassVisitor {
*
* @associates org.objectweb.asm.tree.FieldNode
*/
public final List fields;
public List fields;
/**
* The methods of this class. This list is a list of {@link MethodNode}
......@@ -134,7 +134,7 @@ public class ClassNode extends MemberNode implements ClassVisitor {
*
* @associates org.objectweb.asm.tree.MethodNode
*/
public final List methods;
public List methods;
/**
* Constructs a new {@link ClassNode}.
......
......@@ -52,13 +52,13 @@ public class LookupSwitchInsnNode extends AbstractInsnNode {
/**
* The values of the keys. This list is a list of {@link Integer} objects.
*/
public final List keys;
public List keys;
/**
* Beginnings of the handler blocks. This list is a list of {@link Label}
* objects.
*/
public final List labels;
public List labels;
/**
* Constructs a new {@link LookupSwitchInsnNode}.
......
......@@ -74,7 +74,7 @@ public class MethodNode extends MemberNode implements MethodVisitor {
* {@link Type#getInternalName() getInternalName}). This list is a list of
* {@link String} objects.
*/
public final List exceptions;
public List exceptions;
/**
* The default value of this annotation interface method. This field must be
......@@ -111,7 +111,7 @@ public class MethodNode extends MemberNode implements MethodVisitor {
* @associates org.objectweb.asm.tree.AbstractInsnNode
* @label instructions
*/
public final List instructions;
public List instructions;
/**
* The try catch blocks of this method. This list is a list of
......@@ -119,7 +119,7 @@ public class MethodNode extends MemberNode implements MethodVisitor {
*
* @associates org.objectweb.asm.tree.TryCatchBlockNode
*/
public final List tryCatchBlocks;
public List tryCatchBlocks;
/**
* The maximum stack size of this method.
......
......@@ -63,7 +63,7 @@ public class TableSwitchInsnNode extends AbstractInsnNode {
* Beginnings of the handler blocks. This list is a list of {@link Label}
* objects.
*/
public final List labels;
public List labels;
/**
* Constructs a new {@link TableSwitchInsnNode}.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment