public final class org.eclipse.text.edits.TextEditCopier
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.text.edits.TextEditCopier
super_class: java.lang.Object
{
private org.eclipse.text.edits.TextEdit fEdit;
descriptor: Lorg/eclipse/text/edits/TextEdit;
flags: (0x0002) ACC_PRIVATE
private java.util.Map<org.eclipse.text.edits.TextEdit, org.eclipse.text.edits.TextEdit> fCopies;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Lorg/eclipse/text/edits/TextEdit;Lorg/eclipse/text/edits/TextEdit;>;
public void <init>(org.eclipse.text.edits.TextEdit);
descriptor: (Lorg/eclipse/text/edits/TextEdit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic org.eclipse.core.runtime.Assert.isNotNull:(Ljava/lang/Object;)V
2: aload 0
aload 1
putfield org.eclipse.text.edits.TextEditCopier.fEdit:Lorg/eclipse/text/edits/TextEdit;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield org.eclipse.text.edits.TextEditCopier.fCopies:Ljava/util/Map;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/text/edits/TextEditCopier;
0 5 1 edit Lorg/eclipse/text/edits/TextEdit;
MethodParameters:
Name Flags
edit
public org.eclipse.text.edits.TextEdit perform();
descriptor: ()Lorg/eclipse/text/edits/TextEdit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
aload 0
getfield org.eclipse.text.edits.TextEditCopier.fEdit:Lorg/eclipse/text/edits/TextEdit;
invokevirtual org.eclipse.text.edits.TextEditCopier.doCopy:(Lorg/eclipse/text/edits/TextEdit;)Lorg/eclipse/text/edits/TextEdit;
astore 1
start local 1 1: aload 1
ifnull 6
2: aload 0
getfield org.eclipse.text.edits.TextEditCopier.fCopies:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.eclipse.text.edits.TextEditCopier org.eclipse.text.edits.TextEdit top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.text.edits.TextEdit
astore 2
start local 2 4: aload 2
aload 0
invokevirtual org.eclipse.text.edits.TextEdit.postProcessCopy:(Lorg/eclipse/text/edits/TextEditCopier;)V
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: StackMap locals: org.eclipse.text.edits.TextEditCopier org.eclipse.text.edits.TextEdit
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/text/edits/TextEditCopier;
1 7 1 result Lorg/eclipse/text/edits/TextEdit;
4 5 2 edit Lorg/eclipse/text/edits/TextEdit;
public org.eclipse.text.edits.TextEdit getCopy(org.eclipse.text.edits.TextEdit);
descriptor: (Lorg/eclipse/text/edits/TextEdit;)Lorg/eclipse/text/edits/TextEdit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.eclipse.core.runtime.Assert.isNotNull:(Ljava/lang/Object;)V
1: aload 0
getfield org.eclipse.text.edits.TextEditCopier.fCopies:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.eclipse.text.edits.TextEdit
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/text/edits/TextEditCopier;
0 2 1 original Lorg/eclipse/text/edits/TextEdit;
MethodParameters:
Name Flags
original
private org.eclipse.text.edits.TextEdit doCopy(org.eclipse.text.edits.TextEdit);
descriptor: (Lorg/eclipse/text/edits/TextEdit;)Lorg/eclipse/text/edits/TextEdit;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.eclipse.text.edits.TextEdit.doCopy:()Lorg/eclipse/text/edits/TextEdit;
astore 2
start local 2 1: aload 1
invokevirtual org.eclipse.text.edits.TextEdit.internalGetChildren:()Ljava/util/List;
astore 3
start local 3 2: aload 3
ifnull 11
3: new java.util.ArrayList
dup
aload 3
invokeinterface java.util.List.size:()I
invokespecial java.util.ArrayList.<init>:(I)V
astore 4
start local 4 4: aload 3
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 9
StackMap locals: org.eclipse.text.edits.TextEditCopier org.eclipse.text.edits.TextEdit org.eclipse.text.edits.TextEdit java.util.List java.util.List top java.util.Iterator
StackMap stack:
5: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.eclipse.text.edits.TextEdit
astore 5
start local 5 6: aload 0
aload 5
invokevirtual org.eclipse.text.edits.TextEditCopier.doCopy:(Lorg/eclipse/text/edits/TextEdit;)Lorg/eclipse/text/edits/TextEdit;
astore 7
start local 7 7: aload 7
aload 2
invokevirtual org.eclipse.text.edits.TextEdit.internalSetParent:(Lorg/eclipse/text/edits/TextEdit;)V
8: aload 4
aload 7
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 5 9: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
10: aload 2
aload 4
invokevirtual org.eclipse.text.edits.TextEdit.internalSetChildren:(Ljava/util/List;)V
end local 4 11: StackMap locals: org.eclipse.text.edits.TextEditCopier org.eclipse.text.edits.TextEdit org.eclipse.text.edits.TextEdit java.util.List
StackMap stack:
aload 0
aload 1
aload 2
invokevirtual org.eclipse.text.edits.TextEditCopier.addCopy:(Lorg/eclipse/text/edits/TextEdit;Lorg/eclipse/text/edits/TextEdit;)V
12: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/text/edits/TextEditCopier;
0 13 1 edit Lorg/eclipse/text/edits/TextEdit;
1 13 2 result Lorg/eclipse/text/edits/TextEdit;
2 13 3 children Ljava/util/List<Lorg/eclipse/text/edits/TextEdit;>;
4 11 4 newChildren Ljava/util/List<Lorg/eclipse/text/edits/TextEdit;>;
6 9 5 textEdit Lorg/eclipse/text/edits/TextEdit;
7 9 7 childCopy Lorg/eclipse/text/edits/TextEdit;
MethodParameters:
Name Flags
edit
private void addCopy(org.eclipse.text.edits.TextEdit, org.eclipse.text.edits.TextEdit);
descriptor: (Lorg/eclipse/text/edits/TextEdit;Lorg/eclipse/text/edits/TextEdit;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.text.edits.TextEditCopier.fCopies:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/text/edits/TextEditCopier;
0 2 1 original Lorg/eclipse/text/edits/TextEdit;
0 2 2 copy Lorg/eclipse/text/edits/TextEdit;
MethodParameters:
Name Flags
original
copy
}
SourceFile: "TextEditCopier.java"