public final class org.eclipse.text.edits.CopySourceEdit extends org.eclipse.text.edits.TextEdit
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.text.edits.CopySourceEdit
super_class: org.eclipse.text.edits.TextEdit
{
private org.eclipse.text.edits.CopyTargetEdit fTarget;
descriptor: Lorg/eclipse/text/edits/CopyTargetEdit;
flags: (0x0002) ACC_PRIVATE
private org.eclipse.text.edits.ISourceModifier fModifier;
descriptor: Lorg/eclipse/text/edits/ISourceModifier;
flags: (0x0002) ACC_PRIVATE
private java.lang.String fSourceContent;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.eclipse.text.edits.TextEdit fSourceRoot;
descriptor: Lorg/eclipse/text/edits/TextEdit;
flags: (0x0002) ACC_PRIVATE
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokespecial org.eclipse.text.edits.TextEdit.<init>:(II)V
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/CopySourceEdit;
0 2 1 offset I
0 2 2 length I
MethodParameters:
Name Flags
offset
length
public void <init>(int, int, org.eclipse.text.edits.CopyTargetEdit);
descriptor: (IILorg/eclipse/text/edits/CopyTargetEdit;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
invokespecial org.eclipse.text.edits.CopySourceEdit.<init>:(II)V
1: aload 0
aload 3
invokevirtual org.eclipse.text.edits.CopySourceEdit.setTargetEdit:(Lorg/eclipse/text/edits/CopyTargetEdit;)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/text/edits/CopySourceEdit;
0 3 1 offset I
0 3 2 length I
0 3 3 target Lorg/eclipse/text/edits/CopyTargetEdit;
MethodParameters:
Name Flags
offset
length
target
private void <init>(org.eclipse.text.edits.CopySourceEdit);
descriptor: (Lorg/eclipse/text/edits/CopySourceEdit;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.eclipse.text.edits.TextEdit.<init>:(Lorg/eclipse/text/edits/TextEdit;)V
1: aload 1
getfield org.eclipse.text.edits.CopySourceEdit.fModifier:Lorg/eclipse/text/edits/ISourceModifier;
ifnull 3
2: aload 0
aload 1
getfield org.eclipse.text.edits.CopySourceEdit.fModifier:Lorg/eclipse/text/edits/ISourceModifier;
invokeinterface org.eclipse.text.edits.ISourceModifier.copy:()Lorg/eclipse/text/edits/ISourceModifier;
putfield org.eclipse.text.edits.CopySourceEdit.fModifier:Lorg/eclipse/text/edits/ISourceModifier;
3: StackMap locals: org.eclipse.text.edits.CopySourceEdit org.eclipse.text.edits.CopySourceEdit
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/text/edits/CopySourceEdit;
0 4 1 other Lorg/eclipse/text/edits/CopySourceEdit;
MethodParameters:
Name Flags
other
public org.eclipse.text.edits.CopyTargetEdit getTargetEdit();
descriptor: ()Lorg/eclipse/text/edits/CopyTargetEdit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fTarget:Lorg/eclipse/text/edits/CopyTargetEdit;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/text/edits/CopySourceEdit;
public void setTargetEdit(org.eclipse.text.edits.CopyTargetEdit);
descriptor: (Lorg/eclipse/text/edits/CopyTargetEdit;)V
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.CopySourceEdit.fTarget:Lorg/eclipse/text/edits/CopyTargetEdit;
aload 1
if_acmpeq 4
2: aload 0
aload 1
putfield org.eclipse.text.edits.CopySourceEdit.fTarget:Lorg/eclipse/text/edits/CopyTargetEdit;
3: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fTarget:Lorg/eclipse/text/edits/CopyTargetEdit;
aload 0
invokevirtual org.eclipse.text.edits.CopyTargetEdit.setSourceEdit:(Lorg/eclipse/text/edits/CopySourceEdit;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/text/edits/CopySourceEdit;
0 5 1 edit Lorg/eclipse/text/edits/CopyTargetEdit;
Exceptions:
throws org.eclipse.text.edits.MalformedTreeException
MethodParameters:
Name Flags
edit
public org.eclipse.text.edits.ISourceModifier getSourceModifier();
descriptor: ()Lorg/eclipse/text/edits/ISourceModifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fModifier:Lorg/eclipse/text/edits/ISourceModifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/text/edits/CopySourceEdit;
public void setSourceModifier(org.eclipse.text.edits.ISourceModifier);
descriptor: (Lorg/eclipse/text/edits/ISourceModifier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.text.edits.CopySourceEdit.fModifier:Lorg/eclipse/text/edits/ISourceModifier;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/text/edits/CopySourceEdit;
0 2 1 modifier Lorg/eclipse/text/edits/ISourceModifier;
MethodParameters:
Name Flags
modifier
protected org.eclipse.text.edits.TextEdit doCopy();
descriptor: ()Lorg/eclipse/text/edits/TextEdit;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.eclipse.text.edits.CopySourceEdit
dup
aload 0
invokespecial org.eclipse.text.edits.CopySourceEdit.<init>:(Lorg/eclipse/text/edits/CopySourceEdit;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/text/edits/CopySourceEdit;
protected void accept0(org.eclipse.text.edits.TextEditVisitor);
descriptor: (Lorg/eclipse/text/edits/TextEditVisitor;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual org.eclipse.text.edits.TextEditVisitor.visit:(Lorg/eclipse/text/edits/CopySourceEdit;)Z
istore 2
start local 2 1: iload 2
ifeq 3
2: aload 0
aload 1
invokevirtual org.eclipse.text.edits.CopySourceEdit.acceptChildren:(Lorg/eclipse/text/edits/TextEditVisitor;)V
3: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/text/edits/CopySourceEdit;
0 4 1 visitor Lorg/eclipse/text/edits/TextEditVisitor;
1 4 2 visitChildren Z
MethodParameters:
Name Flags
visitor
java.lang.String getContent();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fSourceContent:Ljava/lang/String;
ifnonnull 2
1: ldc ""
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fSourceContent:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/text/edits/CopySourceEdit;
void clearContent();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield org.eclipse.text.edits.CopySourceEdit.fSourceContent:Ljava/lang/String;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/text/edits/CopySourceEdit;
protected void postProcessCopy(org.eclipse.text.edits.TextEditCopier);
descriptor: (Lorg/eclipse/text/edits/TextEditCopier;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fTarget:Lorg/eclipse/text/edits/CopyTargetEdit;
ifnull 5
1: aload 1
aload 0
invokevirtual org.eclipse.text.edits.TextEditCopier.getCopy:(Lorg/eclipse/text/edits/TextEdit;)Lorg/eclipse/text/edits/TextEdit;
checkcast org.eclipse.text.edits.CopySourceEdit
astore 2
start local 2 2: aload 1
aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fTarget:Lorg/eclipse/text/edits/CopyTargetEdit;
invokevirtual org.eclipse.text.edits.TextEditCopier.getCopy:(Lorg/eclipse/text/edits/TextEdit;)Lorg/eclipse/text/edits/TextEdit;
checkcast org.eclipse.text.edits.CopyTargetEdit
astore 3
start local 3 3: aload 2
ifnull 5
aload 3
ifnull 5
4: aload 2
aload 3
invokevirtual org.eclipse.text.edits.CopySourceEdit.setTargetEdit:(Lorg/eclipse/text/edits/CopyTargetEdit;)V
end local 3 end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/text/edits/CopySourceEdit;
0 6 1 copier Lorg/eclipse/text/edits/TextEditCopier;
2 5 2 source Lorg/eclipse/text/edits/CopySourceEdit;
3 5 3 target Lorg/eclipse/text/edits/CopyTargetEdit;
MethodParameters:
Name Flags
copier
int traverseConsistencyCheck(org.eclipse.text.edits.TextEditProcessor, org.eclipse.jface.text.IDocument, java.util.List<java.util.List<org.eclipse.text.edits.TextEdit>>);
descriptor: (Lorg/eclipse/text/edits/TextEditProcessor;Lorg/eclipse/jface/text/IDocument;Ljava/util/List;)I
flags: (0x0000)
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
aload 3
invokespecial org.eclipse.text.edits.TextEdit.traverseConsistencyCheck:(Lorg/eclipse/text/edits/TextEditProcessor;Lorg/eclipse/jface/text/IDocument;Ljava/util/List;)I
istore 4
start local 4 1: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fSourceContent:Ljava/lang/String;
ifnonnull 17
2: aload 3
invokeinterface java.util.List.size:()I
iload 4
if_icmpgt 12
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
start local 5 4: aload 5
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 3
invokeinterface java.util.List.size:()I
istore 6
start local 6 6: goto 9
7: StackMap locals: int java.util.List int
StackMap stack:
aload 3
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: iinc 6 1
StackMap locals:
StackMap stack:
9: iload 6
iload 4
if_icmplt 7
end local 6 10: aload 3
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 11: goto 17
12: StackMap locals:
StackMap stack:
aload 3
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.util.List
astore 5
start local 5 13: aload 5
ifnonnull 16
14: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
15: aload 3
iload 4
aload 5
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
16: StackMap locals: java.util.List
StackMap stack:
aload 5
aload 0
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 17: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/eclipse/text/edits/CopySourceEdit;
0 18 1 processor Lorg/eclipse/text/edits/TextEditProcessor;
0 18 2 document Lorg/eclipse/jface/text/IDocument;
0 18 3 sourceEdits Ljava/util/List<Ljava/util/List<Lorg/eclipse/text/edits/TextEdit;>;>;
1 18 4 result I
4 11 5 list Ljava/util/List<Lorg/eclipse/text/edits/TextEdit;>;
6 10 6 i I
13 17 5 list Ljava/util/List<Lorg/eclipse/text/edits/TextEdit;>;
Signature: (Lorg/eclipse/text/edits/TextEditProcessor;Lorg/eclipse/jface/text/IDocument;Ljava/util/List<Ljava/util/List<Lorg/eclipse/text/edits/TextEdit;>;>;)I
MethodParameters:
Name Flags
processor
document
sourceEdits
void performConsistencyCheck(org.eclipse.text.edits.TextEditProcessor, org.eclipse.jface.text.IDocument);
descriptor: (Lorg/eclipse/text/edits/TextEditProcessor;Lorg/eclipse/jface/text/IDocument;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fTarget:Lorg/eclipse/text/edits/CopyTargetEdit;
ifnonnull 2
1: new org.eclipse.text.edits.MalformedTreeException
dup
aload 0
invokevirtual org.eclipse.text.edits.CopySourceEdit.getParent:()Lorg/eclipse/text/edits/TextEdit;
aload 0
ldc "CopySourceEdit.no_target"
invokestatic org.eclipse.text.edits.TextEditMessages.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.eclipse.text.edits.MalformedTreeException.<init>:(Lorg/eclipse/text/edits/TextEdit;Lorg/eclipse/text/edits/TextEdit;Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fTarget:Lorg/eclipse/text/edits/CopyTargetEdit;
invokevirtual org.eclipse.text.edits.CopyTargetEdit.getSourceEdit:()Lorg/eclipse/text/edits/CopySourceEdit;
aload 0
if_acmpeq 4
3: new org.eclipse.text.edits.MalformedTreeException
dup
aload 0
invokevirtual org.eclipse.text.edits.CopySourceEdit.getParent:()Lorg/eclipse/text/edits/TextEdit;
aload 0
ldc "CopySourceEdit.different_source"
invokestatic org.eclipse.text.edits.TextEditMessages.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial org.eclipse.text.edits.MalformedTreeException.<init>:(Lorg/eclipse/text/edits/TextEdit;Lorg/eclipse/text/edits/TextEdit;Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/text/edits/CopySourceEdit;
0 5 1 processor Lorg/eclipse/text/edits/TextEditProcessor;
0 5 2 document Lorg/eclipse/jface/text/IDocument;
Exceptions:
throws org.eclipse.text.edits.MalformedTreeException
MethodParameters:
Name Flags
processor
document
void traverseSourceComputation(org.eclipse.text.edits.TextEditProcessor, org.eclipse.jface.text.IDocument);
descriptor: (Lorg/eclipse/text/edits/TextEditProcessor;Lorg/eclipse/jface/text/IDocument;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.eclipse.text.edits.CopySourceEdit.performSourceComputation:(Lorg/eclipse/text/edits/TextEditProcessor;Lorg/eclipse/jface/text/IDocument;)V
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/CopySourceEdit;
0 2 1 processor Lorg/eclipse/text/edits/TextEditProcessor;
0 2 2 document Lorg/eclipse/jface/text/IDocument;
MethodParameters:
Name Flags
processor
document
void performSourceComputation(org.eclipse.text.edits.TextEditProcessor, org.eclipse.jface.text.IDocument);
descriptor: (Lorg/eclipse/text/edits/TextEditProcessor;Lorg/eclipse/jface/text/IDocument;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new org.eclipse.text.edits.MultiTextEdit
dup
aload 0
invokevirtual org.eclipse.text.edits.CopySourceEdit.getOffset:()I
aload 0
invokevirtual org.eclipse.text.edits.CopySourceEdit.getLength:()I
invokespecial org.eclipse.text.edits.MultiTextEdit.<init>:(II)V
astore 3
start local 3 1: aload 3
aload 0
invokevirtual org.eclipse.text.edits.CopySourceEdit.internalGetChildren:()Ljava/util/List;
invokevirtual org.eclipse.text.edits.MultiTextEdit.internalSetChildren:(Ljava/util/List;)V
2: aload 0
aload 2
aload 0
invokevirtual org.eclipse.text.edits.CopySourceEdit.getOffset:()I
aload 0
invokevirtual org.eclipse.text.edits.CopySourceEdit.getLength:()I
invokeinterface org.eclipse.jface.text.IDocument.get:(II)Ljava/lang/String;
putfield org.eclipse.text.edits.CopySourceEdit.fSourceContent:Ljava/lang/String;
3: aload 0
aload 3
invokestatic org.eclipse.text.edits.CopySourceEdit$PartialCopier.perform:(Lorg/eclipse/text/edits/TextEdit;)Lorg/eclipse/text/edits/TextEdit;
putfield org.eclipse.text.edits.CopySourceEdit.fSourceRoot:Lorg/eclipse/text/edits/TextEdit;
4: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fSourceRoot:Lorg/eclipse/text/edits/TextEdit;
aload 0
invokevirtual org.eclipse.text.edits.CopySourceEdit.getOffset:()I
ineg
invokevirtual org.eclipse.text.edits.TextEdit.internalMoveTree:(I)V
5: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fSourceRoot:Lorg/eclipse/text/edits/TextEdit;
invokevirtual org.eclipse.text.edits.TextEdit.hasChildren:()Z
ifeq 14
6: new org.eclipse.text.edits.EditDocument
dup
aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fSourceContent:Ljava/lang/String;
invokespecial org.eclipse.text.edits.EditDocument.<init>:(Ljava/lang/String;)V
astore 4
start local 4 7: aload 4
aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fSourceRoot:Lorg/eclipse/text/edits/TextEdit;
iconst_0
invokestatic org.eclipse.text.edits.TextEditProcessor.createSourceComputationProcessor:(Lorg/eclipse/jface/text/IDocument;Lorg/eclipse/text/edits/TextEdit;I)Lorg/eclipse/text/edits/TextEditProcessor;
astore 5
start local 5 8: aload 5
invokevirtual org.eclipse.text.edits.TextEditProcessor.performEdits:()Lorg/eclipse/text/edits/UndoEdit;
pop
9: aload 0
invokevirtual org.eclipse.text.edits.CopySourceEdit.needsTransformation:()Z
ifeq 11
10: aload 0
aload 4
invokevirtual org.eclipse.text.edits.CopySourceEdit.applyTransformation:(Lorg/eclipse/jface/text/IDocument;)V
11: StackMap locals: org.eclipse.text.edits.MultiTextEdit org.eclipse.text.edits.EditDocument org.eclipse.text.edits.TextEditProcessor
StackMap stack:
aload 0
aload 4
invokevirtual org.eclipse.text.edits.EditDocument.get:()Ljava/lang/String;
putfield org.eclipse.text.edits.CopySourceEdit.fSourceContent:Ljava/lang/String;
12: aload 0
aconst_null
putfield org.eclipse.text.edits.CopySourceEdit.fSourceRoot:Lorg/eclipse/text/edits/TextEdit;
end local 5 end local 4 13: goto 21
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.text.edits.CopySourceEdit.needsTransformation:()Z
ifeq 21
15: new org.eclipse.text.edits.EditDocument
dup
aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fSourceContent:Ljava/lang/String;
invokespecial org.eclipse.text.edits.EditDocument.<init>:(Ljava/lang/String;)V
astore 4
start local 4 16: aload 0
aload 4
invokevirtual org.eclipse.text.edits.CopySourceEdit.applyTransformation:(Lorg/eclipse/jface/text/IDocument;)V
17: aload 0
aload 4
invokevirtual org.eclipse.text.edits.EditDocument.get:()Ljava/lang/String;
putfield org.eclipse.text.edits.CopySourceEdit.fSourceContent:Ljava/lang/String;
end local 4 end local 3 18: goto 21
StackMap locals: org.eclipse.text.edits.CopySourceEdit org.eclipse.text.edits.TextEditProcessor org.eclipse.jface.text.IDocument
StackMap stack: org.eclipse.jface.text.BadLocationException
19: pop
20: iconst_0
invokestatic org.eclipse.core.runtime.Assert.isTrue:(Z)Z
pop
21: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lorg/eclipse/text/edits/CopySourceEdit;
0 22 1 processor Lorg/eclipse/text/edits/TextEditProcessor;
0 22 2 document Lorg/eclipse/jface/text/IDocument;
1 18 3 root Lorg/eclipse/text/edits/MultiTextEdit;
7 13 4 subDocument Lorg/eclipse/text/edits/EditDocument;
8 13 5 subProcessor Lorg/eclipse/text/edits/TextEditProcessor;
16 18 4 subDocument Lorg/eclipse/text/edits/EditDocument;
Exception table:
from to target type
0 18 19 Class org.eclipse.jface.text.BadLocationException
MethodParameters:
Name Flags
processor
document
private boolean needsTransformation();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fModifier:Lorg/eclipse/text/edits/ISourceModifier;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/text/edits/CopySourceEdit;
private void applyTransformation(org.eclipse.jface.text.IDocument);
descriptor: (Lorg/eclipse/jface/text/IDocument;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: new org.eclipse.text.edits.MultiTextEdit
dup
iconst_0
aload 1
invokeinterface org.eclipse.jface.text.IDocument.getLength:()I
invokespecial org.eclipse.text.edits.MultiTextEdit.<init>:(II)V
astore 2
start local 2 1: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fModifier:Lorg/eclipse/text/edits/ISourceModifier;
aload 1
invokeinterface org.eclipse.jface.text.IDocument.get:()Ljava/lang/String;
invokeinterface org.eclipse.text.edits.ISourceModifier.getModifications:(Ljava/lang/String;)[Lorg/eclipse/text/edits/ReplaceEdit;
astore 3
start local 3 2: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 6
StackMap locals: org.eclipse.text.edits.CopySourceEdit org.eclipse.jface.text.IDocument org.eclipse.text.edits.TextEdit org.eclipse.text.edits.ReplaceEdit[] top int int org.eclipse.text.edits.ReplaceEdit[]
StackMap stack:
3: aload 7
iload 5
aaload
astore 4
start local 4 4: aload 2
aload 4
invokevirtual org.eclipse.text.edits.TextEdit.addChild:(Lorg/eclipse/text/edits/TextEdit;)V
end local 4 5: iinc 5 1
StackMap locals:
StackMap stack:
6: iload 5
iload 6
if_icmplt 3
7: aload 2
aload 1
iconst_0
invokevirtual org.eclipse.text.edits.TextEdit.apply:(Lorg/eclipse/jface/text/IDocument;I)Lorg/eclipse/text/edits/UndoEdit;
pop
8: goto 11
StackMap locals: org.eclipse.text.edits.CopySourceEdit org.eclipse.jface.text.IDocument org.eclipse.text.edits.TextEdit org.eclipse.text.edits.ReplaceEdit[]
StackMap stack: org.eclipse.jface.text.BadLocationException
9: pop
10: iconst_0
invokestatic org.eclipse.core.runtime.Assert.isTrue:(Z)Z
pop
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/text/edits/CopySourceEdit;
0 12 1 document Lorg/eclipse/jface/text/IDocument;
1 12 2 newEdit Lorg/eclipse/text/edits/TextEdit;
2 12 3 replaces [Lorg/eclipse/text/edits/ReplaceEdit;
4 5 4 replace Lorg/eclipse/text/edits/ReplaceEdit;
Exception table:
from to target type
7 8 9 Class org.eclipse.jface.text.BadLocationException
Exceptions:
throws org.eclipse.text.edits.MalformedTreeException
MethodParameters:
Name Flags
document
int performDocumentUpdating(org.eclipse.jface.text.IDocument);
descriptor: (Lorg/eclipse/jface/text/IDocument;)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
putfield org.eclipse.text.edits.CopySourceEdit.fDelta:I
1: aload 0
getfield org.eclipse.text.edits.CopySourceEdit.fDelta:I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/text/edits/CopySourceEdit;
0 2 1 document Lorg/eclipse/jface/text/IDocument;
Exceptions:
throws org.eclipse.jface.text.BadLocationException
MethodParameters:
Name Flags
document
boolean deleteChildren();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/text/edits/CopySourceEdit;
}
SourceFile: "CopySourceEdit.java"
NestMembers:
org.eclipse.text.edits.CopySourceEdit$PartialCopier
InnerClasses:
private PartialCopier = org.eclipse.text.edits.CopySourceEdit$PartialCopier of org.eclipse.text.edits.CopySourceEdit