class org.graalvm.component.installer.remote.CatalogIterable$It implements java.util.Iterator<org.graalvm.component.installer.ComponentParam>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.graalvm.component.installer.remote.CatalogIterable$It
super_class: java.lang.Object
{
private final java.util.List<java.lang.String> expandedIds;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
final org.graalvm.component.installer.remote.CatalogIterable this$0;
descriptor: Lorg/graalvm/component/installer/remote/CatalogIterable;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(org.graalvm.component.installer.remote.CatalogIterable);
descriptor: (Lorg/graalvm/component/installer/remote/CatalogIterable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.graalvm.component.installer.remote.CatalogIterable$It.expandedIds:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/remote/CatalogIterable$It;
MethodParameters:
Name Flags
this$0 final
private void thrownUnknown(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new java.io.File
dup
aload 1
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 3
start local 3 1: aload 3
invokevirtual java.io.File.exists:()Z
ifeq 3
aload 3
invokevirtual java.io.File.isFile:()Z
ifeq 3
2: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "REMOTE_UnknownComponentMaybeFile"
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
3: StackMap locals: java.io.File
StackMap stack:
iload 2
ifeq 5
4: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "REMOTE_UnknownComponentId"
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
5: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/graalvm/component/installer/remote/CatalogIterable$It;
0 6 1 fname Ljava/lang/String;
0 6 2 throwUnknown Z
1 6 3 f Ljava/io/File;
MethodParameters:
Name Flags
fname
throwUnknown
public boolean hasNext();
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.remote.CatalogIterable$It.expandedIds:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 1
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.input:Lorg/graalvm/component/installer/CommandInput;
invokeinterface org.graalvm.component.installer.CommandInput.hasParameter:()Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/remote/CatalogIterable$It;
private java.util.List<java.lang.String> expandId(java.lang.String, org.graalvm.component.installer.Version$Match);
descriptor: (Ljava/lang/String;Lorg/graalvm/component/installer/Version$Match;)Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=11, args_size=3
start local 0 start local 1 start local 2 0: invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
new java.lang.StringBuilder
dup
ldc "glob:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.nio.file.FileSystem.getPathMatcher:(Ljava/lang/String;)Ljava/nio/file/PathMatcher;
astore 3
start local 3 1: new java.util.HashSet
dup
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
invokevirtual org.graalvm.component.installer.remote.CatalogIterable.getRegistry:()Lorg/graalvm/component/installer/ComponentCatalog;
invokeinterface org.graalvm.component.installer.ComponentCatalog.getComponentIDs:()Ljava/util/Collection;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 2: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 5
start local 5 3: aload 4
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 10
StackMap locals: org.graalvm.component.installer.remote.CatalogIterable$It java.lang.String org.graalvm.component.installer.Version$Match java.nio.file.PathMatcher java.util.Set java.util.Map top java.util.Iterator
StackMap stack:
4: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 5: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
invokevirtual org.graalvm.component.installer.remote.CatalogIterable.getRegistry:()Lorg/graalvm/component/installer/ComponentCatalog;
aload 6
getstatic org.graalvm.component.installer.Version.NO_VERSION:Lorg/graalvm/component/installer/Version;
getstatic org.graalvm.component.installer.Version$Match$Type.GREATER: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;
iconst_0
invokeinterface org.graalvm.component.installer.ComponentCatalog.loadComponents:(Ljava/lang/String;Lorg/graalvm/component/installer/Version$Match;Z)Ljava/util/Collection;
astore 8
start local 8 6: aload 8
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 10
goto 9
StackMap locals: org.graalvm.component.installer.remote.CatalogIterable$It java.lang.String org.graalvm.component.installer.Version$Match java.nio.file.PathMatcher java.util.Set java.util.Map java.lang.String java.util.Iterator java.util.Collection top java.util.Iterator
StackMap stack:
7: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.component.installer.model.ComponentInfo
astore 9
start local 9 8: aload 5
aload 9
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
invokevirtual org.graalvm.component.installer.remote.CatalogIterable.getRegistry:()Lorg/graalvm/component/installer/ComponentCatalog;
aload 9
invokeinterface org.graalvm.component.installer.ComponentCatalog.shortenComponentId:(Lorg/graalvm/component/installer/model/ComponentInfo;)Ljava/lang/String;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 9 9: StackMap locals:
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
end local 8 end local 6 10: StackMap locals: org.graalvm.component.installer.remote.CatalogIterable$It java.lang.String org.graalvm.component.installer.Version$Match java.nio.file.PathMatcher java.util.Set java.util.Map top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
11: aload 4
aload 5
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
12: aload 4
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ifeq 14
13: aload 1
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
areturn
14: StackMap locals: org.graalvm.component.installer.remote.CatalogIterable$It java.lang.String org.graalvm.component.installer.Version$Match java.nio.file.PathMatcher java.util.Set java.util.Map
StackMap stack:
aload 4
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
start local 6 15: goto 19
16: StackMap locals: java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 7
start local 7 17: aload 3
aload 7
invokestatic org.graalvm.component.installer.SystemUtils.fromUserString:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.PathMatcher.matches:(Ljava/nio/file/Path;)Z
ifne 19
18: aload 6
invokeinterface java.util.Iterator.remove:()V
end local 7 19: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
end local 6 20: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 6
start local 6 21: aload 4
aload 0
aload 6
aload 2
invokedynamic accept(Lorg/graalvm/component/installer/remote/CatalogIterable$It;Ljava/util/Set;Lorg/graalvm/component/installer/Version$Match;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
org/graalvm/component/installer/remote/CatalogIterable$It.lambda$0(Ljava/util/Set;Lorg/graalvm/component/installer/Version$Match;Ljava/lang/String;)V (7)
(Ljava/lang/String;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
22: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 7
start local 7 23: aload 6
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 32
StackMap locals: org.graalvm.component.installer.remote.CatalogIterable$It java.lang.String org.graalvm.component.installer.Version$Match java.nio.file.PathMatcher java.util.Set java.util.Map java.util.Set java.util.List top java.util.Iterator
StackMap stack:
24: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.component.installer.model.ComponentInfo
astore 8
start local 8 25: aload 8
ifnonnull 27
26: goto 32
27: StackMap locals: org.graalvm.component.installer.remote.CatalogIterable$It java.lang.String org.graalvm.component.installer.Version$Match java.nio.file.PathMatcher java.util.Set java.util.Map java.util.Set java.util.List org.graalvm.component.installer.model.ComponentInfo java.util.Iterator
StackMap stack:
aload 5
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 28: aload 3
aload 10
invokestatic org.graalvm.component.installer.SystemUtils.fromUserString:(Ljava/lang/String;)Ljava/nio/file/Path;
invokeinterface java.nio.file.PathMatcher.matches:(Ljava/nio/file/Path;)Z
ifeq 31
29: aload 7
aload 10
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
30: goto 32
31: StackMap locals: java.lang.String
StackMap stack:
aload 7
aload 8
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 10 end local 8 32: StackMap locals: org.graalvm.component.installer.remote.CatalogIterable$It java.lang.String org.graalvm.component.installer.Version$Match java.nio.file.PathMatcher java.util.Set java.util.Map java.util.Set java.util.List top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 24
33: aload 7
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
34: aload 7
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 35 0 this Lorg/graalvm/component/installer/remote/CatalogIterable$It;
0 35 1 pattern Ljava/lang/String;
0 35 2 vm Lorg/graalvm/component/installer/Version$Match;
1 35 3 pm Ljava/nio/file/PathMatcher;
2 35 4 ids Ljava/util/Set<Ljava/lang/String;>;
3 35 5 abbreviatedIds Ljava/util/Map<Lorg/graalvm/component/installer/model/ComponentInfo;Ljava/lang/String;>;
5 10 6 id Ljava/lang/String;
6 10 8 infos Ljava/util/Collection<Lorg/graalvm/component/installer/model/ComponentInfo;>;
8 9 9 info Lorg/graalvm/component/installer/model/ComponentInfo;
15 20 6 it Ljava/util/Iterator<Ljava/lang/String;>;
17 19 7 s Ljava/lang/String;
21 35 6 infos Ljava/util/Set<Lorg/graalvm/component/installer/model/ComponentInfo;>;
23 35 7 sorted Ljava/util/List<Ljava/lang/String;>;
25 32 8 ci Lorg/graalvm/component/installer/model/ComponentInfo;
28 32 10 ab Ljava/lang/String;
Signature: (Ljava/lang/String;Lorg/graalvm/component/installer/Version$Match;)Ljava/util/List<Ljava/lang/String;>;
MethodParameters:
Name Flags
pattern
vm
public org.graalvm.component.installer.ComponentParam next();
descriptor: ()Lorg/graalvm/component/installer/ComponentParam;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.expandedIds:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 2
1: aload 0
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.expandedIds:Ljava/util/List;
iconst_0
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.graalvm.component.installer.remote.CatalogIterable$It.processParameter:(Ljava/lang/String;)Lorg/graalvm/component/installer/ComponentParam;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.input:Lorg/graalvm/component/installer/CommandInput;
invokeinterface org.graalvm.component.installer.CommandInput.nextParameter:()Ljava/lang/String;
astore 1
start local 1 3: iconst_1
anewarray org.graalvm.component.installer.Version$Match
astore 2
start local 2 4: aload 1
aload 2
invokestatic org.graalvm.component.installer.Version.idAndVersion:(Ljava/lang/String;[Lorg/graalvm/component/installer/Version$Match;)Ljava/lang/String;
astore 3
start local 3 5: aload 2
iconst_0
aaload
invokevirtual org.graalvm.component.installer.Version$Match.getType:()Lorg/graalvm/component/installer/Version$Match$Type;
getstatic org.graalvm.component.installer.Version$Match$Type.MOSTRECENT:Lorg/graalvm/component/installer/Version$Match$Type;
if_acmpne 7
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.versionFilter:Lorg/graalvm/component/installer/Version$Match;
ifnull 7
6: aload 2
iconst_0
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.versionFilter:Lorg/graalvm/component/installer/Version$Match;
aastore
7: StackMap locals: java.lang.String org.graalvm.component.installer.Version$Match[] java.lang.String
StackMap stack:
aload 0
aload 3
aload 2
iconst_0
aaload
invokevirtual org.graalvm.component.installer.remote.CatalogIterable$It.expandId:(Ljava/lang/String;Lorg/graalvm/component/installer/Version$Match;)Ljava/util/List;
astore 4
start local 4 8: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifeq 10
9: aload 0
aload 1
invokevirtual org.graalvm.component.installer.remote.CatalogIterable$It.processParameter:(Ljava/lang/String;)Lorg/graalvm/component/installer/ComponentParam;
areturn
10: StackMap locals: java.util.List
StackMap stack:
aload 1
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 5
start local 5 11: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals: org.graalvm.component.installer.remote.CatalogIterable$It java.lang.String org.graalvm.component.installer.Version$Match[] java.lang.String java.util.List java.lang.String top java.util.Iterator
StackMap stack:
12: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 13: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.expandedIds:Ljava/util/List;
new java.lang.StringBuilder
dup
aload 6
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 6 14: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: aload 0
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.expandedIds:Ljava/util/List;
iconst_0
invokeinterface java.util.List.remove:(I)Ljava/lang/Object;
checkcast java.lang.String
invokevirtual org.graalvm.component.installer.remote.CatalogIterable$It.processParameter:(Ljava/lang/String;)Lorg/graalvm/component/installer/ComponentParam;
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 16 0 this Lorg/graalvm/component/installer/remote/CatalogIterable$It;
3 16 1 s Ljava/lang/String;
4 16 2 m [Lorg/graalvm/component/installer/Version$Match;
5 16 3 id Ljava/lang/String;
8 16 4 expanded Ljava/util/List<Ljava/lang/String;>;
11 16 5 suffix Ljava/lang/String;
13 14 6 ei Ljava/lang/String;
private org.graalvm.component.installer.ComponentParam processParameter(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/component/installer/ComponentParam;
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=10, args_size=2
start local 0 start local 1 0: iconst_1
anewarray org.graalvm.component.installer.Version$Match
astore 3
start local 3 1: aload 1
aload 3
invokestatic org.graalvm.component.installer.Version.idAndVersion:(Ljava/lang/String;[Lorg/graalvm/component/installer/Version$Match;)Ljava/lang/String;
astore 4
start local 4 2: aload 3
iconst_0
aaload
invokevirtual org.graalvm.component.installer.Version$Match.getType:()Lorg/graalvm/component/installer/Version$Match$Type;
getstatic org.graalvm.component.installer.Version$Match$Type.MOSTRECENT:Lorg/graalvm/component/installer/Version$Match$Type;
if_acmpne 4
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.versionFilter:Lorg/graalvm/component/installer/Version$Match;
ifnull 4
3: aload 3
iconst_0
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.versionFilter:Lorg/graalvm/component/installer/Version$Match;
aastore
4: StackMap locals: org.graalvm.component.installer.remote.CatalogIterable$It java.lang.String top org.graalvm.component.installer.Version$Match[] java.lang.String
StackMap stack:
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
invokevirtual org.graalvm.component.installer.remote.CatalogIterable.getRegistry:()Lorg/graalvm/component/installer/ComponentCatalog;
aload 4
aload 3
iconst_0
aaload
invokeinterface org.graalvm.component.installer.ComponentCatalog.findComponent:(Ljava/lang/String;Lorg/graalvm/component/installer/Version$Match;)Lorg/graalvm/component/installer/model/ComponentInfo;
astore 2
start local 2 5: goto 10
end local 2 StackMap locals:
StackMap stack: org.graalvm.component.installer.UnknownVersionException
6: astore 5
start local 5 7: aload 5
invokevirtual org.graalvm.component.installer.UnknownVersionException.getCandidate:()Lorg/graalvm/component/installer/Version;
ifnonnull 9
8: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "REMOTE_NoSpecificVersion"
aload 5
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 3
iconst_0
aaload
invokevirtual org.graalvm.component.installer.Version$Match.getVersion:()Lorg/graalvm/component/installer/Version;
invokevirtual org.graalvm.component.installer.Version.displayString:()Ljava/lang/String;
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
9: StackMap locals: org.graalvm.component.installer.UnknownVersionException
StackMap stack:
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "REMOTE_NoSpecificVersion2"
aload 5
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 3
iconst_0
aaload
invokevirtual org.graalvm.component.installer.Version$Match.getVersion:()Lorg/graalvm/component/installer/Version;
invokevirtual org.graalvm.component.installer.Version.displayString:()Ljava/lang/String;
aastore
dup
iconst_2
aload 5
invokevirtual org.graalvm.component.installer.UnknownVersionException.getCandidate:()Lorg/graalvm/component/installer/Version;
invokevirtual org.graalvm.component.installer.Version.displayString:()Ljava/lang/String;
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
end local 5 start local 2 10: StackMap locals: org.graalvm.component.installer.remote.CatalogIterable$It java.lang.String org.graalvm.component.installer.model.ComponentInfo org.graalvm.component.installer.Version$Match[] java.lang.String
StackMap stack:
aload 2
ifnonnull 35
11: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.input:Lorg/graalvm/component/installer/CommandInput;
invokeinterface org.graalvm.component.installer.CommandInput.getLocalRegistry:()Lorg/graalvm/component/installer/model/ComponentRegistry;
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.getGraalVersion:()Lorg/graalvm/component/installer/Version;
astore 5
start local 5 12: aload 5
getstatic org.graalvm.component.installer.Version$Match$Type.INSTALLABLE: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;
astore 6
start local 6 13: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
invokevirtual org.graalvm.component.installer.remote.CatalogIterable.getRegistry:()Lorg/graalvm/component/installer/ComponentCatalog;
aload 4
aload 6
iconst_0
invokeinterface org.graalvm.component.installer.ComponentCatalog.loadComponents:(Ljava/lang/String;Lorg/graalvm/component/installer/Version$Match;Z)Ljava/util/Collection;
astore 7
start local 7 14: aload 7
ifnull 24
aload 7
invokeinterface java.util.Collection.isEmpty:()Z
ifne 24
15: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.incompatible:Z
ifeq 18
16: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
aload 1
aload 7
invokevirtual org.graalvm.component.installer.remote.CatalogIterable.latest:(Ljava/lang/String;Ljava/util/Collection;)Lorg/graalvm/component/installer/ComponentParam;
17: areturn
18: StackMap locals: org.graalvm.component.installer.Version org.graalvm.component.installer.Version$Match java.util.Collection
StackMap stack:
aload 7
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.graalvm.component.installer.model.ComponentInfo
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getRequiredGraalValues:()Ljava/util/Map;
ldc "graalvm_version"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 19: aload 8
invokestatic org.graalvm.component.installer.Version.fromString:(Ljava/lang/String;)Lorg/graalvm/component/installer/Version;
astore 9
start local 9 20: aload 9
aload 5
invokevirtual org.graalvm.component.installer.Version.compareTo:(Lorg/graalvm/component/installer/Version;)I
ifle 22
21: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "REMOTE_UpgradeGraalVMCore"
aconst_null
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 8
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
22: StackMap locals: java.lang.String org.graalvm.component.installer.Version
StackMap stack:
aload 3
iconst_0
aaload
invokevirtual org.graalvm.component.installer.Version$Match.getType:()Lorg/graalvm/component/installer/Version$Match$Type;
getstatic org.graalvm.component.installer.Version$Match$Type.EXACT:Lorg/graalvm/component/installer/Version$Match$Type;
if_acmpne 24
23: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "REMOTE_NoSpecificVersion"
aconst_null
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
dup
iconst_1
aload 3
iconst_0
aaload
invokevirtual org.graalvm.component.installer.Version$Match.getVersion:()Lorg/graalvm/component/installer/Version;
invokevirtual org.graalvm.component.installer.Version.displayString:()Ljava/lang/String;
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
end local 9 end local 8 24: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
invokevirtual org.graalvm.component.installer.remote.CatalogIterable.getRegistry:()Lorg/graalvm/component/installer/ComponentCatalog;
aload 4
getstatic org.graalvm.component.installer.Version.NO_VERSION:Lorg/graalvm/component/installer/Version;
getstatic org.graalvm.component.installer.Version$Match$Type.GREATER: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;
iconst_0
invokeinterface org.graalvm.component.installer.ComponentCatalog.loadComponents:(Ljava/lang/String;Lorg/graalvm/component/installer/Version$Match;Z)Ljava/util/Collection;
astore 7
25: aload 7
ifnull 30
aload 7
invokeinterface java.util.Collection.isEmpty:()Z
ifne 30
26: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.incompatible:Z
ifeq 29
27: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
aload 1
aload 7
invokevirtual org.graalvm.component.installer.remote.CatalogIterable.latest:(Ljava/lang/String;Ljava/util/Collection;)Lorg/graalvm/component/installer/ComponentParam;
28: areturn
29: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "REMOTE_IncompatibleComponentVersion"
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 4
aastore
invokeinterface org.graalvm.component.installer.Feedback.failure:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)Ljava/lang/RuntimeException;
athrow
30: StackMap locals:
StackMap stack:
aload 0
aload 1
iconst_1
invokevirtual org.graalvm.component.installer.remote.CatalogIterable$It.thrownUnknown:(Ljava/lang/String;Z)V
end local 7 end local 6 end local 5 end local 4 end local 3 31: goto 35
end local 2 StackMap locals: org.graalvm.component.installer.remote.CatalogIterable$It java.lang.String
StackMap stack: org.graalvm.component.installer.FailedOperationException
32: astore 3
start local 3 33: aload 0
aload 1
iconst_0
invokevirtual org.graalvm.component.installer.remote.CatalogIterable$It.thrownUnknown:(Ljava/lang/String;Z)V
34: aload 3
athrow
end local 3 start local 2 35: StackMap locals: org.graalvm.component.installer.model.ComponentInfo
StackMap stack:
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
getfield org.graalvm.component.installer.remote.CatalogIterable.input:Lorg/graalvm/component/installer/CommandInput;
ldc "n"
invokeinterface org.graalvm.component.installer.CommandInput.optValue:(Ljava/lang/String;)Ljava/lang/String;
ifnonnull 36
iconst_1
goto 37
StackMap locals:
StackMap stack:
36: iconst_0
StackMap locals:
StackMap stack: int
37: istore 3
start local 3 38: aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
aload 1
aload 2
iload 3
invokevirtual org.graalvm.component.installer.remote.CatalogIterable.createComponentParam:(Ljava/lang/String;Lorg/graalvm/component/installer/model/ComponentInfo;Z)Lorg/graalvm/component/installer/ComponentParam;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 39 0 this Lorg/graalvm/component/installer/remote/CatalogIterable$It;
0 39 1 s Ljava/lang/String;
5 6 2 info Lorg/graalvm/component/installer/model/ComponentInfo;
10 32 2 info Lorg/graalvm/component/installer/model/ComponentInfo;
35 39 2 info Lorg/graalvm/component/installer/model/ComponentInfo;
1 31 3 m [Lorg/graalvm/component/installer/Version$Match;
2 31 4 id Ljava/lang/String;
7 10 5 ex Lorg/graalvm/component/installer/UnknownVersionException;
12 31 5 gv Lorg/graalvm/component/installer/Version;
13 31 6 selector Lorg/graalvm/component/installer/Version$Match;
14 31 7 infos Ljava/util/Collection<Lorg/graalvm/component/installer/model/ComponentInfo;>;
19 24 8 rvs Ljava/lang/String;
20 24 9 rv Lorg/graalvm/component/installer/Version;
33 35 3 ex Lorg/graalvm/component/installer/FailedOperationException;
38 39 3 progress Z
Exception table:
from to target type
4 5 6 Class org.graalvm.component.installer.UnknownVersionException
0 17 32 Class org.graalvm.component.installer.FailedOperationException
18 28 32 Class org.graalvm.component.installer.FailedOperationException
29 31 32 Class org.graalvm.component.installer.FailedOperationException
MethodParameters:
Name Flags
s
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.graalvm.component.installer.remote.CatalogIterable$It.next:()Lorg/graalvm/component/installer/ComponentParam;
areturn
LocalVariableTable:
Start End Slot Name Signature
private void lambda$0(java.util.Set, org.graalvm.component.installer.Version$Match, java.lang.String);
descriptor: (Ljava/util/Set;Lorg/graalvm/component/installer/Version$Match;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 3 0: aload 1
aload 0
getfield org.graalvm.component.installer.remote.CatalogIterable$It.this$0:Lorg/graalvm/component/installer/remote/CatalogIterable;
invokevirtual org.graalvm.component.installer.remote.CatalogIterable.getRegistry:()Lorg/graalvm/component/installer/ComponentCatalog;
aload 3
aload 2
invokeinterface org.graalvm.component.installer.ComponentCatalog.findComponent:(Ljava/lang/String;Lorg/graalvm/component/installer/Version$Match;)Lorg/graalvm/component/installer/model/ComponentInfo;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
return
end local 3 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/remote/CatalogIterable$It;
0 1 3 s Ljava/lang/String;
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Lorg/graalvm/component/installer/ComponentParam;>;
SourceFile: "CatalogIterable.java"
NestHost: org.graalvm.component.installer.remote.CatalogIterable
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
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
private It = org.graalvm.component.installer.remote.CatalogIterable$It of org.graalvm.component.installer.remote.CatalogIterable