class org.graalvm.component.installer.model.ComponentInfo$2 implements java.util.Comparator<org.graalvm.component.installer.model.ComponentInfo>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.component.installer.model.ComponentInfo$2
super_class: java.lang.Object
{
private final java.lang.String val$myEdition;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.graalvm.component.installer.model.ComponentInfo$2.val$myEdition:Ljava/lang/String;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/ComponentInfo$2;
MethodParameters:
Name Flags
val$myEdition final
public int compare(org.graalvm.component.installer.model.ComponentInfo, org.graalvm.component.installer.model.ComponentInfo);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;Lorg/graalvm/component/installer/model/ComponentInfo;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 4
1: aload 2
ifnonnull 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getRequiredGraalValues:()Ljava/util/Map;
ldc "edition"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 7: aload 2
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getRequiredGraalValues:()Ljava/util/Map;
ldc "edition"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 8: aload 3
aload 0
getfield org.graalvm.component.installer.model.ComponentInfo$2.val$myEdition:Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
istore 5
start local 5 9: aload 4
aload 0
getfield org.graalvm.component.installer.model.ComponentInfo$2.val$myEdition:Ljava/lang/String;
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
istore 6
start local 6 10: iload 5
ifeq 14
11: iload 6
ifeq 12
iconst_0
goto 13
StackMap locals: org.graalvm.component.installer.model.ComponentInfo$2 org.graalvm.component.installer.model.ComponentInfo org.graalvm.component.installer.model.ComponentInfo java.lang.String java.lang.String int int
StackMap stack:
12: iconst_m1
StackMap locals:
StackMap stack: int
13: ireturn
14: StackMap locals:
StackMap stack:
iload 6
ifeq 16
15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
aload 3
ifnonnull 18
17: ldc ""
astore 3
18: StackMap locals:
StackMap stack:
aload 4
ifnonnull 20
19: ldc ""
astore 4
20: StackMap locals:
StackMap stack:
aload 3
aload 4
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ireturn
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 21 0 this Lorg/graalvm/component/installer/model/ComponentInfo$2;
0 21 1 o1 Lorg/graalvm/component/installer/model/ComponentInfo;
0 21 2 o2 Lorg/graalvm/component/installer/model/ComponentInfo;
7 21 3 ed1 Ljava/lang/String;
8 21 4 ed2 Ljava/lang/String;
9 21 5 m1 Z
10 21 6 m2 Z
MethodParameters:
Name Flags
o1
o2
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.graalvm.component.installer.model.ComponentInfo
aload 2
checkcast org.graalvm.component.installer.model.ComponentInfo
invokevirtual org.graalvm.component.installer.model.ComponentInfo$2.compare:(Lorg/graalvm/component/installer/model/ComponentInfo;Lorg/graalvm/component/installer/model/ComponentInfo;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Lorg/graalvm/component/installer/model/ComponentInfo;>;
SourceFile: "ComponentInfo.java"
EnclosingMethod: org.graalvm.component.installer.model.ComponentInfo.editionComparator:(Ljava/lang/String;)Ljava/util/Comparator;
NestHost: org.graalvm.component.installer.model.ComponentInfo
InnerClasses:
org.graalvm.component.installer.model.ComponentInfo$2