class org.eclipse.text.edits.TextEdit$InsertionComparator implements java.util.Comparator<org.eclipse.text.edits.TextEdit>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.eclipse.text.edits.TextEdit$InsertionComparator
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/text/edits/TextEdit$InsertionComparator;
public int compare(org.eclipse.text.edits.TextEdit, org.eclipse.text.edits.TextEdit);
descriptor: (Lorg/eclipse/text/edits/TextEdit;Lorg/eclipse/text/edits/TextEdit;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual org.eclipse.text.edits.TextEdit.getOffset:()I
istore 3
start local 3 1: aload 1
invokevirtual org.eclipse.text.edits.TextEdit.getLength:()I
istore 4
start local 4 2: aload 2
invokevirtual org.eclipse.text.edits.TextEdit.getOffset:()I
istore 5
start local 5 3: aload 2
invokevirtual org.eclipse.text.edits.TextEdit.getLength:()I
istore 6
start local 6 4: iload 3
iload 5
if_icmpne 6
iload 4
ifne 6
iload 6
ifne 6
5: iconst_0
ireturn
6: StackMap locals: org.eclipse.text.edits.TextEdit$InsertionComparator org.eclipse.text.edits.TextEdit org.eclipse.text.edits.TextEdit int int int int
StackMap stack:
iload 3
iload 4
iadd
iload 5
if_icmpgt 8
7: iconst_m1
ireturn
8: StackMap locals:
StackMap stack:
iload 5
iload 6
iadd
iload 3
if_icmpgt 10
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
new org.eclipse.text.edits.MalformedTreeException
dup
11: aconst_null
aload 1
12: ldc "TextEdit.overlapping"
invokestatic org.eclipse.text.edits.TextEditMessages.getString:(Ljava/lang/String;)Ljava/lang/String;
13: invokespecial org.eclipse.text.edits.MalformedTreeException.<init>:(Lorg/eclipse/text/edits/TextEdit;Lorg/eclipse/text/edits/TextEdit;Ljava/lang/String;)V
athrow
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/eclipse/text/edits/TextEdit$InsertionComparator;
0 14 1 edit1 Lorg/eclipse/text/edits/TextEdit;
0 14 2 edit2 Lorg/eclipse/text/edits/TextEdit;
1 14 3 offset1 I
2 14 4 length1 I
3 14 5 offset2 I
4 14 6 length2 I
Exceptions:
throws org.eclipse.text.edits.MalformedTreeException
MethodParameters:
Name Flags
edit1
edit2
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast org.eclipse.text.edits.TextEdit
aload 2
checkcast org.eclipse.text.edits.TextEdit
invokevirtual org.eclipse.text.edits.TextEdit$InsertionComparator.compare:(Lorg/eclipse/text/edits/TextEdit;Lorg/eclipse/text/edits/TextEdit;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Lorg/eclipse/text/edits/TextEdit;>;
SourceFile: "TextEdit.java"
NestHost: org.eclipse.text.edits.TextEdit
InnerClasses:
private InsertionComparator = org.eclipse.text.edits.TextEdit$InsertionComparator of org.eclipse.text.edits.TextEdit