public class org.apache.commons.collections4.sequence.EditScript<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.sequence.EditScript
super_class: java.lang.Object
{
private final java.util.List<org.apache.commons.collections4.sequence.EditCommand<T>> commands;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/commons/collections4/sequence/EditCommand<TT;>;>;
private int lcsLength;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int modifications;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.commons.collections4.sequence.EditScript.commands:Ljava/util/List;
2: aload 0
iconst_0
putfield org.apache.commons.collections4.sequence.EditScript.lcsLength:I
3: aload 0
iconst_0
putfield org.apache.commons.collections4.sequence.EditScript.modifications:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/sequence/EditScript<TT;>;
public void append(org.apache.commons.collections4.sequence.KeepCommand<T>);
descriptor: (Lorg/apache/commons/collections4/sequence/KeepCommand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.collections4.sequence.EditScript.commands:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
dup
getfield org.apache.commons.collections4.sequence.EditScript.lcsLength:I
iconst_1
iadd
putfield org.apache.commons.collections4.sequence.EditScript.lcsLength:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/sequence/EditScript<TT;>;
0 3 1 command Lorg/apache/commons/collections4/sequence/KeepCommand<TT;>;
Signature: (Lorg/apache/commons/collections4/sequence/KeepCommand<TT;>;)V
MethodParameters:
Name Flags
command final
public void append(org.apache.commons.collections4.sequence.InsertCommand<T>);
descriptor: (Lorg/apache/commons/collections4/sequence/InsertCommand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.collections4.sequence.EditScript.commands:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
dup
getfield org.apache.commons.collections4.sequence.EditScript.modifications:I
iconst_1
iadd
putfield org.apache.commons.collections4.sequence.EditScript.modifications:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/sequence/EditScript<TT;>;
0 3 1 command Lorg/apache/commons/collections4/sequence/InsertCommand<TT;>;
Signature: (Lorg/apache/commons/collections4/sequence/InsertCommand<TT;>;)V
MethodParameters:
Name Flags
command final
public void append(org.apache.commons.collections4.sequence.DeleteCommand<T>);
descriptor: (Lorg/apache/commons/collections4/sequence/DeleteCommand;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.collections4.sequence.EditScript.commands:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
dup
getfield org.apache.commons.collections4.sequence.EditScript.modifications:I
iconst_1
iadd
putfield org.apache.commons.collections4.sequence.EditScript.modifications:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/sequence/EditScript<TT;>;
0 3 1 command Lorg/apache/commons/collections4/sequence/DeleteCommand<TT;>;
Signature: (Lorg/apache/commons/collections4/sequence/DeleteCommand<TT;>;)V
MethodParameters:
Name Flags
command final
public void visit(org.apache.commons.collections4.sequence.CommandVisitor<T>);
descriptor: (Lorg/apache/commons/collections4/sequence/CommandVisitor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.collections4.sequence.EditScript.commands:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: org.apache.commons.collections4.sequence.EditScript org.apache.commons.collections4.sequence.CommandVisitor top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.collections4.sequence.EditCommand
astore 2
start local 2 2: aload 2
aload 1
invokevirtual org.apache.commons.collections4.sequence.EditCommand.accept:(Lorg/apache/commons/collections4/sequence/CommandVisitor;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/sequence/EditScript<TT;>;
0 5 1 visitor Lorg/apache/commons/collections4/sequence/CommandVisitor<TT;>;
2 3 2 command Lorg/apache/commons/collections4/sequence/EditCommand<TT;>;
Signature: (Lorg/apache/commons/collections4/sequence/CommandVisitor<TT;>;)V
MethodParameters:
Name Flags
visitor final
public int getLCSLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.sequence.EditScript.lcsLength:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/sequence/EditScript<TT;>;
public int getModifications();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.collections4.sequence.EditScript.modifications:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/sequence/EditScript<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "EditScript.java"