public class org.aspectj.util.PartialOrder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.aspectj.util.PartialOrder
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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/aspectj/util/PartialOrder;
private static <T extends org.aspectj.util.PartialOrder$PartialComparable> void addNewPartialComparable(java.util.List<org.aspectj.util.PartialOrder$SortObject<T>>, );
descriptor: (Ljava/util/List;Lorg/aspectj/util/PartialOrder$PartialComparable;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: new org.aspectj.util.PartialOrder$SortObject
dup
aload 1
invokespecial org.aspectj.util.PartialOrder$SortObject.<init>:(Lorg/aspectj/util/PartialOrder$PartialComparable;)V
astore 2
start local 2 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 5
3: StackMap locals: org.aspectj.util.PartialOrder$SortObject java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.aspectj.util.PartialOrder$SortObject
astore 4
start local 4 4: aload 2
aload 4
invokevirtual org.aspectj.util.PartialOrder$SortObject.addDirectedLinks:(Lorg/aspectj/util/PartialOrder$SortObject;)V
end local 4 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
end local 3 6: aload 0
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 graph Ljava/util/List<Lorg/aspectj/util/PartialOrder$SortObject<TT;>;>;
0 8 1 o TT;
1 8 2 so Lorg/aspectj/util/PartialOrder$SortObject<TT;>;
2 6 3 i Ljava/util/Iterator<Lorg/aspectj/util/PartialOrder$SortObject<TT;>;>;
4 5 4 other Lorg/aspectj/util/PartialOrder$SortObject<TT;>;
Signature: <T::Lorg/aspectj/util/PartialOrder$PartialComparable;>(Ljava/util/List<Lorg/aspectj/util/PartialOrder$SortObject<TT;>;>;TT;)V
MethodParameters:
Name Flags
graph
o
private static <T extends org.aspectj.util.PartialOrder$PartialComparable> void removeFromGraph(java.util.List<org.aspectj.util.PartialOrder$SortObject<T>>, org.aspectj.util.PartialOrder$SortObject<T>);
descriptor: (Ljava/util/List;Lorg/aspectj/util/PartialOrder$SortObject;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 6
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.aspectj.util.PartialOrder$SortObject
astore 3
start local 3 3: aload 1
aload 3
if_acmpne 5
4: aload 2
invokeinterface java.util.Iterator.remove:()V
5: StackMap locals: org.aspectj.util.PartialOrder$SortObject
StackMap stack:
aload 3
aload 1
invokevirtual org.aspectj.util.PartialOrder$SortObject.removeSmallerObject:(Lorg/aspectj/util/PartialOrder$SortObject;)Z
pop
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 graph Ljava/util/List<Lorg/aspectj/util/PartialOrder$SortObject<TT;>;>;
0 8 1 o Lorg/aspectj/util/PartialOrder$SortObject<TT;>;
1 7 2 i Ljava/util/Iterator<Lorg/aspectj/util/PartialOrder$SortObject<TT;>;>;
3 6 3 other Lorg/aspectj/util/PartialOrder$SortObject<TT;>;
Signature: <T::Lorg/aspectj/util/PartialOrder$PartialComparable;>(Ljava/util/List<Lorg/aspectj/util/PartialOrder$SortObject<TT;>;>;Lorg/aspectj/util/PartialOrder$SortObject<TT;>;)V
MethodParameters:
Name Flags
graph
o
public static <T extends org.aspectj.util.PartialOrder$PartialComparable> java.util.List<T> sort(java.util.List<T>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
invokeinterface java.util.List.size:()I
iconst_2
if_icmpge 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 1
start local 1 3: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 2
start local 2 4: goto 6
5: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.aspectj.util.PartialOrder$PartialComparable
invokestatic org.aspectj.util.PartialOrder.addNewPartialComparable:(Ljava/util/List;Lorg/aspectj/util/PartialOrder$PartialComparable;)V
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
end local 2 7: aload 0
invokeinterface java.util.List.size:()I
istore 2
start local 2 8: iconst_0
istore 3
start local 3 9: goto 22
10: StackMap locals: java.util.List java.util.List int int
StackMap stack:
aconst_null
astore 4
start local 4 11: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 16
StackMap locals: java.util.List java.util.List int int org.aspectj.util.PartialOrder$SortObject top java.util.Iterator
StackMap stack:
12: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.aspectj.util.PartialOrder$SortObject
astore 5
start local 5 13: aload 5
invokevirtual org.aspectj.util.PartialOrder$SortObject.hasNoSmallerObjects:()Z
ifeq 16
14: aload 4
ifnull 15
aload 5
getfield org.aspectj.util.PartialOrder$SortObject.object:Lorg/aspectj/util/PartialOrder$PartialComparable;
aload 4
getfield org.aspectj.util.PartialOrder$SortObject.object:Lorg/aspectj/util/PartialOrder$PartialComparable;
invokeinterface org.aspectj.util.PartialOrder$PartialComparable.fallbackCompareTo:(Ljava/lang/Object;)I
ifge 16
15: StackMap locals: java.util.List java.util.List int int org.aspectj.util.PartialOrder$SortObject org.aspectj.util.PartialOrder$SortObject java.util.Iterator
StackMap stack:
aload 5
astore 4
end local 5 16: StackMap locals: java.util.List java.util.List int int org.aspectj.util.PartialOrder$SortObject top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
17: aload 4
ifnonnull 19
18: aconst_null
areturn
19: StackMap locals: java.util.List java.util.List int int org.aspectj.util.PartialOrder$SortObject
StackMap stack:
aload 1
aload 4
invokestatic org.aspectj.util.PartialOrder.removeFromGraph:(Ljava/util/List;Lorg/aspectj/util/PartialOrder$SortObject;)V
20: aload 0
iload 3
aload 4
getfield org.aspectj.util.PartialOrder$SortObject.object:Lorg/aspectj/util/PartialOrder$PartialComparable;
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
end local 4 21: iinc 3 1
StackMap locals:
StackMap stack:
22: iload 3
iload 2
if_icmplt 10
end local 3 23: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 objects Ljava/util/List<TT;>;
3 24 1 sortList Ljava/util/List<Lorg/aspectj/util/PartialOrder$SortObject<TT;>;>;
4 7 2 i Ljava/util/Iterator<TT;>;
8 24 2 N I
9 23 3 index I
11 21 4 leastWithNoSmallers Lorg/aspectj/util/PartialOrder$SortObject<TT;>;
13 16 5 so Lorg/aspectj/util/PartialOrder$SortObject<TT;>;
Signature: <T::Lorg/aspectj/util/PartialOrder$PartialComparable;>(Ljava/util/List<TT;>;)Ljava/util/List<TT;>;
MethodParameters:
Name Flags
objects
public static void main(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "a1"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "c2"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "b3"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "f4"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "e5"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
6: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "d6"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "c7"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "b8"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "z"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "x"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
11: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "f9"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "e10"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
13: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "a11"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
14: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "d12"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "b13"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
16: aload 1
new org.aspectj.util.PartialOrder$Token
dup
ldc "c14"
invokespecial org.aspectj.util.PartialOrder$Token.<init>:(Ljava/lang/String;)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
17: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
18: aload 1
invokestatic org.aspectj.util.PartialOrder.sort:(Ljava/util/List;)Ljava/util/List;
pop
19: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 1
invokevirtual java.io.PrintStream.println:(Ljava/lang/Object;)V
20: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 args [Ljava/lang/String;
1 21 1 l Ljava/util/List<Lorg/aspectj/util/PartialOrder$Token;>;
MethodParameters:
Name Flags
args
}
SourceFile: "PartialOrder.java"
NestMembers:
org.aspectj.util.PartialOrder$PartialComparable org.aspectj.util.PartialOrder$SortObject org.aspectj.util.PartialOrder$Token
InnerClasses:
public abstract PartialComparable = org.aspectj.util.PartialOrder$PartialComparable of org.aspectj.util.PartialOrder
private SortObject = org.aspectj.util.PartialOrder$SortObject of org.aspectj.util.PartialOrder
Token = org.aspectj.util.PartialOrder$Token of org.aspectj.util.PartialOrder