public final class org.graalvm.component.installer.Version implements java.lang.Comparable<org.graalvm.component.installer.Version>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.component.installer.Version
super_class: java.lang.Object
{
public static final org.graalvm.component.installer.Version NO_VERSION;
descriptor: Lorg/graalvm/component/installer/Version;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.lang.String WILDCARD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "*"
private final java.lang.String versionString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String normalizedString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.List<java.lang.String> releaseParts;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final java.util.List<java.lang.String> versionParts;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private final boolean wildcard;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean user;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final java.lang.String EXACT_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "="
public static final java.lang.String GREATER_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "+"
public static final java.lang.String COMPATIBLE_VERSION;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "~"
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.graalvm.component.installer.Version
dup
ldc "0.0.0.0"
iconst_0
invokespecial org.graalvm.component.installer.Version.<init>:(Ljava/lang/String;Z)V
putstatic org.graalvm.component.installer.Version.NO_VERSION:Lorg/graalvm/component/installer/Version;
1: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0000)
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.graalvm.component.installer.Version.versionString:Ljava/lang/String;
2: iconst_0
istore 3
start local 3 3: iload 2
ifeq 4
aload 1
goto 5
StackMap locals: org.graalvm.component.installer.Version java.lang.String int int
StackMap stack:
4: aload 1
invokestatic org.graalvm.component.installer.SystemUtils.normalizeOldVersions:(Ljava/lang/String;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
5: astore 4
start local 4 6: aload 4
bipush 45
invokevirtual java.lang.String.indexOf:(I)I
istore 6
start local 6 7: iload 6
iconst_m1
if_icmpne 15
8: iload 2
ifeq 12
9: iconst_1
istore 3
10: aload 0
ldc "*"
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
putfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
11: goto 13
12: StackMap locals: org.graalvm.component.installer.Version java.lang.String int int java.lang.String top int
StackMap stack:
aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
putfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
13: StackMap locals:
StackMap stack:
aload 4
invokestatic org.graalvm.component.installer.Version.parseParts:(Ljava/lang/String;)Ljava/util/List;
astore 5
start local 5 14: goto 28
end local 5 15: StackMap locals:
StackMap stack:
aload 4
iconst_0
iload 6
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 7
start local 7 16: aload 4
iload 6
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 8
start local 8 17: aload 7
invokestatic org.graalvm.component.installer.Version.parseParts:(Ljava/lang/String;)Ljava/util/List;
astore 5
start local 5 18: aload 8
invokestatic org.graalvm.component.installer.Version.parseParts:(Ljava/lang/String;)Ljava/util/List;
astore 9
start local 9 19: iload 2
ifeq 27
aload 9
invokeinterface java.util.List.isEmpty:()Z
ifne 27
20: aload 9
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 21: aload 10
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
pop
22: goto 26
StackMap locals: org.graalvm.component.installer.Version java.lang.String int int java.lang.String java.util.List int java.lang.String java.lang.String java.util.List java.lang.String
StackMap stack: java.lang.NumberFormatException
23: pop
24: aload 9
iconst_0
ldc "*"
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
25: iconst_1
istore 3
26: StackMap locals:
StackMap stack:
aload 9
ldc "*"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 27: StackMap locals:
StackMap stack:
aload 0
aload 9
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
putfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
end local 9 end local 8 end local 7 28: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
iconst_2
if_icmplt 29
aload 5
invokeinterface java.util.List.size:()I
iconst_4
if_icmpgt 29
aload 5
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifeq 29
aload 5
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifne 30
29: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "A format Year.Release[.Update[.Patch]] is required. Got: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
30: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
iconst_4
if_icmpge 37
aload 5
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.graalvm.component.installer.Version.isOldStyleVersion:(Ljava/lang/String;)Z
ifne 37
31: new java.util.ArrayList
dup
aload 5
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 5
32: goto 34
33: StackMap locals:
StackMap stack:
aload 5
ldc "0"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
34: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.List.size:()I
iconst_4
if_icmplt 33
35: aload 0
aload 5
aload 0
getfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
invokestatic org.graalvm.component.installer.Version.print:(Ljava/util/List;Ljava/util/List;)Ljava/lang/String;
putfield org.graalvm.component.installer.Version.normalizedString:Ljava/lang/String;
36: goto 38
37: StackMap locals:
StackMap stack:
aload 0
aload 4
putfield org.graalvm.component.installer.Version.normalizedString:Ljava/lang/String;
38: StackMap locals:
StackMap stack:
aload 0
aload 5
putfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
39: aload 0
iload 3
putfield org.graalvm.component.installer.Version.wildcard:Z
40: aload 0
iload 2
putfield org.graalvm.component.installer.Version.user:Z
41: return
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 42 0 this Lorg/graalvm/component/installer/Version;
0 42 1 versionString Ljava/lang/String;
0 42 2 fromUser Z
3 42 3 wc Z
6 42 4 normalized Ljava/lang/String;
14 15 5 vp Ljava/util/List<Ljava/lang/String;>;
18 42 5 vp Ljava/util/List<Ljava/lang/String;>;
7 42 6 releaseDash I
16 28 7 vS Ljava/lang/String;
17 28 8 rS Ljava/lang/String;
19 28 9 rp Ljava/util/List<Ljava/lang/String;>;
21 27 10 first Ljava/lang/String;
Exception table:
from to target type
21 22 23 Class java.lang.NumberFormatException
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
versionString
fromUser
static boolean isOldStyleVersion(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
iconst_1
if_icmpge 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
2: ireturn
3: StackMap locals:
StackMap stack: java.lang.NumberFormatException
pop
4: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 s Ljava/lang/String;
Exception table:
from to target type
0 2 3 Class java.lang.NumberFormatException
MethodParameters:
Name Flags
s
static java.lang.String print(java.util.List<java.lang.String>, java.util.List<java.lang.String>);
descriptor: (Ljava/util/List;Ljava/util/List;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: java.util.List java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 2
invokevirtual java.lang.StringBuilder.length:()I
ifle 5
4: aload 2
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.util.List java.util.List java.lang.StringBuilder java.lang.String java.util.Iterator
StackMap stack:
aload 2
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 6: StackMap locals: java.util.List java.util.List java.lang.StringBuilder top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 1
invokeinterface java.util.List.isEmpty:()Z
ifne 17
8: aload 2
bipush 45
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: iconst_0
istore 3
start local 3 10: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 5
goto 16
StackMap locals: java.util.List java.util.List java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
11: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 12: iload 3
ifeq 14
13: aload 2
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: StackMap locals: java.util.List java.util.List java.lang.StringBuilder int java.lang.String java.util.Iterator
StackMap stack:
aload 2
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
15: iconst_1
istore 3
end local 4 16: StackMap locals: java.util.List java.util.List java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
end local 3 17: StackMap locals: java.util.List java.util.List java.lang.StringBuilder
StackMap stack:
aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 vParts Ljava/util/List<Ljava/lang/String;>;
0 18 1 rParts Ljava/util/List<Ljava/lang/String;>;
1 18 2 sb Ljava/lang/StringBuilder;
3 6 3 vp Ljava/lang/String;
10 17 3 n Z
12 16 4 rp Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/util/List<Ljava/lang/String;>;)Ljava/lang/String;
MethodParameters:
Name Flags
vParts
rParts
void <init>(java.lang.String, java.util.List<java.lang.String>, java.util.List<java.lang.String>, boolean, );
descriptor: (Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZ)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
aload 2
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
2: aload 0
new java.util.ArrayList
dup
aload 3
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
3: aload 0
aload 1
ifnull 4
aload 1
goto 5
StackMap locals: org.graalvm.component.installer.Version java.lang.String java.util.List java.util.List int int
StackMap stack: org.graalvm.component.installer.Version
4: aload 2
aload 3
invokestatic org.graalvm.component.installer.Version.print:(Ljava/util/List;Ljava/util/List;)Ljava/lang/String;
StackMap locals: org.graalvm.component.installer.Version java.lang.String java.util.List java.util.List int int
StackMap stack: org.graalvm.component.installer.Version java.lang.String
5: putfield org.graalvm.component.installer.Version.versionString:Ljava/lang/String;
6: aload 2
invokeinterface java.util.List.size:()I
iconst_4
if_icmpge 12
aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.graalvm.component.installer.Version.isOldStyleVersion:(Ljava/lang/String;)Z
ifeq 12
7: goto 9
8: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
ldc "0"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_4
if_icmplt 8
10: aload 0
aload 0
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
aload 0
getfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
invokestatic org.graalvm.component.installer.Version.print:(Ljava/util/List;Ljava/util/List;)Ljava/lang/String;
putfield org.graalvm.component.installer.Version.normalizedString:Ljava/lang/String;
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield org.graalvm.component.installer.Version.versionString:Ljava/lang/String;
putfield org.graalvm.component.installer.Version.normalizedString:Ljava/lang/String;
13: StackMap locals:
StackMap stack:
aload 0
iload 4
putfield org.graalvm.component.installer.Version.wildcard:Z
14: aload 0
iload 5
putfield org.graalvm.component.installer.Version.user:Z
15: return
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 16 0 this Lorg/graalvm/component/installer/Version;
0 16 1 orig Ljava/lang/String;
0 16 2 vParts Ljava/util/List<Ljava/lang/String;>;
0 16 3 rParts Ljava/util/List<Ljava/lang/String;>;
0 16 4 wc Z
0 16 5 fromUser Z
Signature: (Ljava/lang/String;Ljava/util/List<Ljava/lang/String;>;Ljava/util/List<Ljava/lang/String;>;ZZ)V
MethodParameters:
Name Flags
orig
vParts
rParts
wc
fromUser
public org.graalvm.component.installer.Version updatable();
descriptor: ()Lorg/graalvm/component/installer/Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=1
start local 0 0: new java.util.ArrayList
dup
aload 0
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 1: aload 1
iconst_3
aload 1
invokeinterface java.util.List.size:()I
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokeinterface java.util.List.clear:()V
2: goto 4
3: StackMap locals: java.util.List
StackMap stack:
aload 1
ldc "0"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.size:()I
iconst_3
if_icmplt 3
5: new org.graalvm.component.installer.Version
dup
aconst_null
aload 1
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
iconst_0
iconst_0
invokespecial org.graalvm.component.installer.Version.<init>:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZ)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/component/installer/Version;
1 6 1 vp Ljava/util/List<Ljava/lang/String;>;
public org.graalvm.component.installer.Version onlyVersion();
descriptor: ()Lorg/graalvm/component/installer/Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=1, args_size=1
start local 0 0: new org.graalvm.component.installer.Version
dup
aconst_null
aload 0
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
iconst_0
iconst_0
invokespecial org.graalvm.component.installer.Version.<init>:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZ)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/Version;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 7
istore 1
start local 1 1: bipush 43
iload 1
imul
aload 0
getfield org.graalvm.component.installer.Version.versionString:Ljava/lang/String;
invokestatic java.util.Objects.hashCode:(Ljava/lang/Object;)I
iadd
istore 1
2: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/Version;
1 3 1 hash I
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
getstatic org.graalvm.component.installer.Version.NO_VERSION:Lorg/graalvm/component/installer/Version;
if_acmpeq 7
aload 1
getstatic org.graalvm.component.installer.Version.NO_VERSION:Lorg/graalvm/component/installer/Version;
if_acmpne 8
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 1
checkcast org.graalvm.component.installer.Version
astore 2
start local 2 9: aload 0
aload 2
invokevirtual org.graalvm.component.installer.Version.compareTo:(Lorg/graalvm/component/installer/Version;)I
ifne 10
iconst_1
ireturn
StackMap locals: org.graalvm.component.installer.Version
StackMap stack:
10: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/graalvm/component/installer/Version;
0 11 1 obj Ljava/lang/Object;
9 11 2 other Lorg/graalvm/component/installer/Version;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.Version.normalizedString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/Version;
public java.lang.String originalString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.Version.versionString:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/Version;
private static java.util.List<java.lang.String> parseParts(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/List;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=8, 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 0
invokevirtual java.lang.String.length:()I
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iconst_m1
istore 4
start local 4 4: iconst_0
istore 5
start local 5 5: goto 21
6: StackMap locals: java.lang.String java.util.List int int int int
StackMap stack:
aload 0
iload 5
invokevirtual java.lang.String.charAt:(I)C
istore 6
start local 6 7: iload 6
invokestatic java.lang.Character.isLetterOrDigit:(C)Z
ifne 12
8: iload 4
iflt 20
9: aload 1
aload 0
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
10: iconst_m1
istore 4
11: goto 20
12: StackMap locals: int
StackMap stack:
iload 6
invokestatic java.lang.Character.isDigit:(C)Z
istore 7
start local 7 13: iload 7
iload 3
if_icmpeq 17
iload 4
iflt 17
14: aload 1
aload 0
iload 4
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
15: iload 5
istore 4
16: goto 19
StackMap locals: int
StackMap stack:
17: iload 4
ifge 19
18: iload 5
istore 4
19: StackMap locals:
StackMap stack:
iload 7
istore 3
end local 7 end local 6 20: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
21: iload 5
iload 2
if_icmplt 6
end local 5 22: iload 4
iflt 24
23: aload 1
aload 0
iload 4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
24: StackMap locals:
StackMap stack:
aload 1
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 s Ljava/lang/String;
1 25 1 parts Ljava/util/List<Ljava/lang/String;>;
2 25 2 l I
3 25 3 digit Z
4 25 4 lastP I
5 22 5 i I
7 20 6 c C
13 20 7 nowDigit Z
Exceptions:
throws java.lang.IllegalArgumentException
Signature: (Ljava/lang/String;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
s
public int compareTo(org.graalvm.component.installer.Version);
descriptor: (Lorg/graalvm/component/installer/Version;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
getstatic org.graalvm.component.installer.Version.NO_VERSION:Lorg/graalvm/component/installer/Version;
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getstatic org.graalvm.component.installer.Version.NO_VERSION:Lorg/graalvm/component/installer/Version;
if_acmpne 6
5: iconst_m1
ireturn
6: StackMap locals:
StackMap stack:
aload 1
ifnonnull 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
aload 1
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
iconst_0
invokestatic org.graalvm.component.installer.Version.compareVersionParts:(Ljava/util/List;Ljava/util/List;Z)I
istore 2
start local 2 9: iload 2
ifeq 11
10: iload 2
ireturn
11: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
aload 1
getfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
iconst_1
invokestatic org.graalvm.component.installer.Version.compareVersionParts:(Ljava/util/List;Ljava/util/List;Z)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/graalvm/component/installer/Version;
0 12 1 o Lorg/graalvm/component/installer/Version;
9 12 2 c I
MethodParameters:
Name Flags
o
private static int compareVersionParts(java.util.List<java.lang.String>, java.util.List<java.lang.String>, );
descriptor: (Ljava/util/List;Ljava/util/List;Z)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
start local 3 1: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
start local 4 2: iconst_0
istore 5
start local 5 3: aconst_null
astore 6
start local 6 4: aconst_null
astore 7
start local 7 5: goto 9
6: StackMap locals: java.util.List java.util.List int java.util.Iterator java.util.Iterator int java.lang.String java.lang.String
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 7
8: aload 6
aload 7
invokestatic org.graalvm.component.installer.Version.compareVersionPart:(Ljava/lang/String;Ljava/lang/String;)I
istore 5
9: StackMap locals:
StackMap stack:
iload 5
ifne 10
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 10
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: StackMap locals:
StackMap stack:
iload 5
ifne 11
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
11: StackMap locals:
StackMap stack:
iload 5
ireturn
12: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 19
13: iload 2
ifeq 18
14: ldc "*"
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 16
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
ldc "*"
aload 7
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 18
17: iconst_0
ireturn
18: StackMap locals:
StackMap stack:
iconst_1
ireturn
19: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 28
20: iload 2
ifeq 27
21: ldc "*"
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 23
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
22: iconst_0
ireturn
23: StackMap locals:
StackMap stack:
ldc "*"
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 25
24: iconst_0
ireturn
25: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 27
ldc "0"
aload 1
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 27
26: iconst_0
ireturn
27: StackMap locals:
StackMap stack:
iconst_m1
ireturn
28: StackMap locals:
StackMap stack:
new java.lang.IllegalStateException
dup
ldc "Should not happen"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 7 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 29 0 pA Ljava/util/List<Ljava/lang/String;>;
0 29 1 pB Ljava/util/List<Ljava/lang/String;>;
0 29 2 release Z
1 29 3 iA Ljava/util/Iterator<Ljava/lang/String;>;
2 29 4 iB Ljava/util/Iterator<Ljava/lang/String;>;
3 29 5 res I
4 29 6 sA Ljava/lang/String;
5 29 7 sB Ljava/lang/String;
Signature: (Ljava/util/List<Ljava/lang/String;>;Ljava/util/List<Ljava/lang/String;>;Z)I
MethodParameters:
Name Flags
pA
pB
release
public static int compareVersionPart(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: ldc "*"
aload 0
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 1
ldc "*"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
ifnonnull 6
3: aload 1
ifnull 5
4: iconst_m1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
ifnonnull 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
istore 2
start local 2 9: aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
istore 3
start local 3 10: iload 2
iload 3
if_icmpeq 14
11: iload 2
ifeq 12
iconst_1
goto 13
StackMap locals: int int
StackMap stack:
12: iconst_m1
StackMap locals:
StackMap stack: int
13: ireturn
14: StackMap locals:
StackMap stack:
iload 2
ifeq 18
iload 3
ifeq 18
15: aload 0
invokevirtual java.lang.String.length:()I
aload 1
invokevirtual java.lang.String.length:()I
isub
istore 4
start local 4 16: iload 4
ifeq 18
17: iload 4
ireturn
end local 4 18: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 a Ljava/lang/String;
0 19 1 b Ljava/lang/String;
9 19 2 dA Z
10 19 3 dB Z
16 18 4 l I
MethodParameters:
Name Flags
a
b
public boolean hasWildcard();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.Version.wildcard:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/Version;
public org.graalvm.component.installer.Version installVersion();
descriptor: ()Lorg/graalvm/component/installer/Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, 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
aload 0
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: aload 1
aload 0
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
iconst_1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
3: aload 0
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_2
if_icmple 6
4: aload 1
aload 0
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
iconst_2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: goto 7
6: StackMap locals: java.util.List
StackMap stack:
aload 1
ldc "0"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
7: StackMap locals:
StackMap stack:
aload 1
ldc "0"
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: new org.graalvm.component.installer.Version
dup
aconst_null
aload 1
aload 0
getfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
aload 0
getfield org.graalvm.component.installer.Version.wildcard:Z
aload 0
getfield org.graalvm.component.installer.Version.user:Z
invokespecial org.graalvm.component.installer.Version.<init>:(Ljava/lang/String;Ljava/util/List;Ljava/util/List;ZZ)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/graalvm/component/installer/Version;
1 9 1 vps Ljava/util/List<Ljava/lang/String;>;
public java.lang.String displayString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.Version.user:Z
ifeq 2
1: aload 0
invokevirtual org.graalvm.component.installer.Version.originalString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 3: new java.util.ArrayList
dup
aload 0
getfield org.graalvm.component.installer.Version.versionParts:Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 2
start local 2 4: aload 2
invokeinterface java.util.List.size:()I
iconst_4
if_icmpne 6
ldc "0"
aload 2
iconst_3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: aload 2
iconst_3
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
6: StackMap locals: java.lang.StringBuilder java.util.List
StackMap stack:
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: org.graalvm.component.installer.Version java.lang.StringBuilder java.util.List top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 8: aload 1
invokevirtual java.lang.StringBuilder.length:()I
ifle 10
9: aload 1
bipush 46
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: StackMap locals: org.graalvm.component.installer.Version java.lang.StringBuilder java.util.List java.lang.String java.util.Iterator
StackMap stack:
aload 1
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 11: StackMap locals: org.graalvm.component.installer.Version java.lang.StringBuilder java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
12: aload 0
getfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 14
13: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
14: StackMap locals: org.graalvm.component.installer.Version java.lang.StringBuilder java.util.List
StackMap stack:
aload 0
getfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 15: new java.util.ArrayList
dup
aload 0
getfield org.graalvm.component.installer.Version.releaseParts:Ljava/util/List;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 16: aload 3
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
pop
17: aload 4
iconst_0
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
pop
18: goto 20
StackMap locals: org.graalvm.component.installer.Version java.lang.StringBuilder java.util.List java.lang.String java.util.List
StackMap stack: java.lang.NumberFormatException
19: pop
20: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.List.isEmpty:()Z
ifeq 22
21: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
22: StackMap locals:
StackMap stack:
iconst_0
istore 5
start local 5 23: iconst_0
istore 6
start local 6 24: iconst_m1
istore 7
start local 7 25: aload 1
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
26: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 49
StackMap locals: org.graalvm.component.installer.Version java.lang.StringBuilder java.util.List java.lang.String java.util.List int int int top java.util.Iterator
StackMap stack:
27: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 28: aload 8
invokevirtual java.lang.String.isEmpty:()Z
ifne 49
ldc "*"
aload 8
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
29: goto 49
30: StackMap locals: org.graalvm.component.installer.Version java.lang.StringBuilder java.util.List java.lang.String java.util.List int int int java.lang.String java.util.Iterator
StackMap stack:
aload 8
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifeq 39
31: iload 6
ifeq 33
iload 5
ifne 33
32: aload 1
ldc "."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
33: StackMap locals:
StackMap stack:
iload 5
ifeq 35
iload 7
iconst_m1
if_icmpeq 35
34: aload 1
iload 7
bipush 46
invokevirtual java.lang.StringBuilder.setCharAt:(IC)V
35: StackMap locals:
StackMap stack:
aload 1
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
36: iconst_0
istore 5
37: iconst_m1
istore 7
38: goto 48
39: StackMap locals:
StackMap stack:
iconst_m1
istore 7
40: iload 5
ifeq 43
41: aload 1
ldc "_"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
42: goto 46
43: StackMap locals:
StackMap stack:
iload 6
ifeq 46
44: aload 1
invokevirtual java.lang.StringBuilder.length:()I
istore 7
45: aload 1
ldc "-"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
46: StackMap locals:
StackMap stack:
aload 1
aload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
47: iconst_1
istore 5
48: StackMap locals:
StackMap stack:
iconst_1
istore 6
end local 8 49: StackMap locals: org.graalvm.component.installer.Version java.lang.StringBuilder java.util.List java.lang.String java.util.List int int int top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
50: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 7 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 51 0 this Lorg/graalvm/component/installer/Version;
3 51 1 sb Ljava/lang/StringBuilder;
4 51 2 vps Ljava/util/List<Ljava/lang/String;>;
8 11 3 vp Ljava/lang/String;
15 51 3 firstRel Ljava/lang/String;
16 51 4 printedParts Ljava/util/List<Ljava/lang/String;>;
23 51 5 name Z
24 51 6 next Z
25 51 7 patchChar I
28 49 8 s Ljava/lang/String;
Exception table:
from to target type
16 18 19 Class java.lang.NumberFormatException
public org.graalvm.component.installer.Version$Match match(org.graalvm.component.installer.Version$Match$Type);
descriptor: (Lorg/graalvm/component/installer/Version$Match$Type;)Lorg/graalvm/component/installer/Version$Match;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new org.graalvm.component.installer.Version$Match
dup
aload 0
aload 1
invokespecial org.graalvm.component.installer.Version$Match.<init>:(Lorg/graalvm/component/installer/Version;Lorg/graalvm/component/installer/Version$Match$Type;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/Version;
0 1 1 type Lorg/graalvm/component/installer/Version$Match$Type;
MethodParameters:
Name Flags
type
public static org.graalvm.component.installer.Version fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/component/installer/Version;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
getstatic org.graalvm.component.installer.Version.NO_VERSION:Lorg/graalvm/component/installer/Version;
goto 2
StackMap locals:
StackMap stack:
1: new org.graalvm.component.installer.Version
dup
aload 0
iconst_0
invokespecial org.graalvm.component.installer.Version.<init>:(Ljava/lang/String;Z)V
StackMap locals:
StackMap stack: org.graalvm.component.installer.Version
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 versionString Ljava/lang/String;
MethodParameters:
Name Flags
versionString
public static org.graalvm.component.installer.Version fromUserString(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/component/installer/Version;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
getstatic org.graalvm.component.installer.Version.NO_VERSION:Lorg/graalvm/component/installer/Version;
goto 2
StackMap locals:
StackMap stack:
1: new org.graalvm.component.installer.Version
dup
aload 0
iconst_1
invokespecial org.graalvm.component.installer.Version.<init>:(Ljava/lang/String;Z)V
StackMap locals:
StackMap stack: org.graalvm.component.installer.Version
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 userVersion Ljava/lang/String;
MethodParameters:
Name Flags
userVersion
public static java.lang.String idAndVersion(java.lang.String, org.graalvm.component.installer.Version$Match[]);
descriptor: (Ljava/lang/String;[Lorg/graalvm/component/installer/Version$Match;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
ldc "="
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 2
start local 2 1: aload 0
ldc "+"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3
start local 3 2: aload 0
ldc "~"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 4
start local 4 3: iconst_m1
istore 5
start local 5 4: aconst_null
astore 6
start local 6 5: iload 2
ifle 9
6: getstatic org.graalvm.component.installer.Version$Match$Type.EXACT:Lorg/graalvm/component/installer/Version$Match$Type;
astore 6
7: iload 2
istore 5
8: goto 19
StackMap locals: java.lang.String org.graalvm.component.installer.Version$Match[] int int int int org.graalvm.component.installer.Version$Match$Type
StackMap stack:
9: iload 3
ifle 13
10: getstatic org.graalvm.component.installer.Version$Match$Type.INSTALLABLE:Lorg/graalvm/component/installer/Version$Match$Type;
astore 6
11: iload 3
istore 5
12: goto 19
StackMap locals:
StackMap stack:
13: iload 4
ifle 17
14: getstatic org.graalvm.component.installer.Version$Match$Type.COMPATIBLE:Lorg/graalvm/component/installer/Version$Match$Type;
astore 6
15: iload 4
istore 5
16: goto 19
17: StackMap locals:
StackMap stack:
aload 1
iconst_0
getstatic org.graalvm.component.installer.Version.NO_VERSION:Lorg/graalvm/component/installer/Version;
getstatic org.graalvm.component.installer.Version$Match$Type.MOSTRECENT:Lorg/graalvm/component/installer/Version$Match$Type;
invokevirtual org.graalvm.component.installer.Version.match:(Lorg/graalvm/component/installer/Version$Match$Type;)Lorg/graalvm/component/installer/Version$Match;
aastore
18: aload 0
areturn
19: StackMap locals:
StackMap stack:
aload 1
iconst_0
aload 0
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic org.graalvm.component.installer.Version.fromUserString:(Ljava/lang/String;)Lorg/graalvm/component/installer/Version;
aload 6
invokevirtual org.graalvm.component.installer.Version.match:(Lorg/graalvm/component/installer/Version$Match$Type;)Lorg/graalvm/component/installer/Version$Match;
aastore
20: aload 0
iconst_0
iload 5
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
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 idSpec Ljava/lang/String;
0 21 1 matchOut [Lorg/graalvm/component/installer/Version$Match;
1 21 2 eqIndex I
2 21 3 moreIndex I
3 21 4 compatibleIndex I
4 21 5 i I
5 21 6 type Lorg/graalvm/component/installer/Version$Match$Type;
MethodParameters:
Name Flags
idSpec
matchOut
public static org.graalvm.component.installer.Version$Match versionFilter(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/component/installer/Version$Match;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=1
start local 0 0: aload 0
ifnull 1
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: StackMap locals:
StackMap stack:
aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "="
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 1
start local 1 3: aload 0
ldc "+"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 2
start local 2 4: aload 0
ldc "~"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3
start local 3 5: iconst_m1
istore 4
start local 4 6: aconst_null
astore 5
start local 5 7: iload 1
iflt 11
8: getstatic org.graalvm.component.installer.Version$Match$Type.EXACT:Lorg/graalvm/component/installer/Version$Match$Type;
astore 5
9: iload 1
istore 4
10: goto 22
StackMap locals: java.lang.String int int int int org.graalvm.component.installer.Version$Match$Type
StackMap stack:
11: iload 2
iflt 15
12: getstatic org.graalvm.component.installer.Version$Match$Type.INSTALLABLE:Lorg/graalvm/component/installer/Version$Match$Type;
astore 5
13: iload 2
istore 4
14: goto 22
StackMap locals:
StackMap stack:
15: iload 3
iflt 19
16: getstatic org.graalvm.component.installer.Version$Match$Type.COMPATIBLE:Lorg/graalvm/component/installer/Version$Match$Type;
astore 5
17: iload 3
istore 4
18: goto 22
19: StackMap locals:
StackMap stack:
aload 0
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifeq 21
20: aload 0
invokestatic org.graalvm.component.installer.Version.fromString:(Ljava/lang/String;)Lorg/graalvm/component/installer/Version;
getstatic org.graalvm.component.installer.Version$Match$Type.COMPATIBLE:Lorg/graalvm/component/installer/Version$Match$Type;
invokevirtual org.graalvm.component.installer.Version.match:(Lorg/graalvm/component/installer/Version$Match$Type;)Lorg/graalvm/component/installer/Version$Match;
areturn
21: StackMap locals:
StackMap stack:
aconst_null
areturn
22: StackMap locals:
StackMap stack:
aload 0
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokestatic org.graalvm.component.installer.Version.fromString:(Ljava/lang/String;)Lorg/graalvm/component/installer/Version;
aload 5
invokevirtual org.graalvm.component.installer.Version.match:(Lorg/graalvm/component/installer/Version$Match$Type;)Lorg/graalvm/component/installer/Version$Match;
areturn
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 23 0 spec Ljava/lang/String;
3 23 1 eqIndex I
4 23 2 moreIndex I
5 23 3 compatibleIndex I
6 23 4 i I
7 23 5 type Lorg/graalvm/component/installer/Version$Match$Type;
MethodParameters:
Name Flags
spec
public int compareTo(java.lang.Object);
descriptor: (Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.graalvm.component.installer.Version
invokevirtual org.graalvm.component.installer.Version.compareTo:(Lorg/graalvm/component/installer/Version;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/lang/Comparable<Lorg/graalvm/component/installer/Version;>;
SourceFile: "Version.java"
NestMembers:
org.graalvm.component.installer.Version$Match org.graalvm.component.installer.Version$Match$Type
InnerClasses:
public final Match = org.graalvm.component.installer.Version$Match of org.graalvm.component.installer.Version
public final Type = org.graalvm.component.installer.Version$Match$Type of org.graalvm.component.installer.Version$Match