public class org.graalvm.component.installer.model.Verifier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.component.installer.model.Verifier
super_class: java.lang.Object
{
private final org.graalvm.component.installer.Feedback feedback;
descriptor: Lorg/graalvm/component/installer/Feedback;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.component.installer.model.ComponentRegistry localRegistry;
descriptor: Lorg/graalvm/component/installer/model/ComponentRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.graalvm.component.installer.ComponentCollection catalog;
descriptor: Lorg/graalvm/component/installer/ComponentCollection;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean silent;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean replaceComponents;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean ignoreRequirements;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean collectErrors;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean ignoreExisting;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean collectVersion;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private org.graalvm.component.installer.Version$Match versionMatch;
descriptor: Lorg/graalvm/component/installer/Version$Match;
flags: (0x0002) ACC_PRIVATE
private org.graalvm.component.installer.Version minVersion;
descriptor: Lorg/graalvm/component/installer/Version;
flags: (0x0002) ACC_PRIVATE
private java.util.List<org.graalvm.component.installer.DependencyException> errors;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lorg/graalvm/component/installer/DependencyException;>;
public void <init>(org.graalvm.component.installer.Feedback, org.graalvm.component.installer.model.ComponentRegistry, org.graalvm.component.installer.ComponentCollection);
descriptor: (Lorg/graalvm/component/installer/Feedback;Lorg/graalvm/component/installer/model/ComponentRegistry;Lorg/graalvm/component/installer/ComponentCollection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: 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.model.Verifier.errors:Ljava/util/List;
2: aload 0
aload 1
ldc Lorg/graalvm/component/installer/ComponentInstaller;
invokeinterface org.graalvm.component.installer.Feedback.withBundle:(Ljava/lang/Class;)Lorg/graalvm/component/installer/Feedback;
putfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
3: aload 0
aload 2
putfield org.graalvm.component.installer.model.Verifier.localRegistry:Lorg/graalvm/component/installer/model/ComponentRegistry;
4: aload 0
aload 3
putfield org.graalvm.component.installer.model.Verifier.catalog:Lorg/graalvm/component/installer/ComponentCollection;
5: 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/model/Verifier;
0 6 1 feedback Lorg/graalvm/component/installer/Feedback;
0 6 2 registry Lorg/graalvm/component/installer/model/ComponentRegistry;
0 6 3 catalog Lorg/graalvm/component/installer/ComponentCollection;
MethodParameters:
Name Flags
feedback
registry
catalog
public boolean isCollectVersion();
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.model.Verifier.collectVersion:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/Verifier;
public org.graalvm.component.installer.model.Verifier collectVersion(boolean);
descriptor: (Z)Lorg/graalvm/component/installer/model/Verifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.graalvm.component.installer.model.Verifier.collectVersion:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/Verifier;
0 2 1 collect Z
MethodParameters:
Name Flags
collect
public org.graalvm.component.installer.Version getMinVersion();
descriptor: ()Lorg/graalvm/component/installer/Version;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.Verifier.minVersion:Lorg/graalvm/component/installer/Version;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/Verifier;
public boolean isSilent();
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.model.Verifier.silent:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/Verifier;
public void setSilent(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.graalvm.component.installer.model.Verifier.silent:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/Verifier;
0 2 1 silent Z
MethodParameters:
Name Flags
silent
public org.graalvm.component.installer.Version$Match getVersionMatch();
descriptor: ()Lorg/graalvm/component/installer/Version$Match;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.Verifier.versionMatch:Lorg/graalvm/component/installer/Version$Match;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/Verifier;
public org.graalvm.component.installer.model.Verifier setVersionMatch(org.graalvm.component.installer.Version$Match);
descriptor: (Lorg/graalvm/component/installer/Version$Match;)Lorg/graalvm/component/installer/model/Verifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.graalvm.component.installer.model.Verifier.versionMatch:Lorg/graalvm/component/installer/Version$Match;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/Verifier;
0 2 1 versionMatch Lorg/graalvm/component/installer/Version$Match;
MethodParameters:
Name Flags
versionMatch
public boolean hasErrors();
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.model.Verifier.errors:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/component/installer/model/Verifier;
public boolean isCollectErrors();
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.model.Verifier.collectErrors:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/Verifier;
public void setCollectErrors(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.graalvm.component.installer.model.Verifier.collectErrors:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/Verifier;
0 2 1 collectErrors Z
MethodParameters:
Name Flags
collectErrors
public boolean isIgnoreExisting();
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.model.Verifier.ignoreExisting:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/Verifier;
public org.graalvm.component.installer.model.Verifier ignoreExisting(boolean);
descriptor: (Z)Lorg/graalvm/component/installer/model/Verifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.graalvm.component.installer.model.Verifier.ignoreExisting:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/Verifier;
0 2 1 ignore Z
MethodParameters:
Name Flags
ignore
public boolean isReplaceComponents();
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.model.Verifier.replaceComponents:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/Verifier;
public org.graalvm.component.installer.model.Verifier replaceComponents(boolean);
descriptor: (Z)Lorg/graalvm/component/installer/model/Verifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.graalvm.component.installer.model.Verifier.replaceComponents:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/Verifier;
0 2 1 value Z
MethodParameters:
Name Flags
value
public boolean isIgnoreRequirements();
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.model.Verifier.ignoreRequirements:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/Verifier;
public org.graalvm.component.installer.model.Verifier ignoreRequirements(boolean);
descriptor: (Z)Lorg/graalvm/component/installer/model/Verifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.graalvm.component.installer.model.Verifier.ignoreRequirements:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/Verifier;
0 2 1 value Z
MethodParameters:
Name Flags
value
public org.graalvm.component.installer.model.Verifier collect(boolean);
descriptor: (Z)Lorg/graalvm/component/installer/model/Verifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.graalvm.component.installer.model.Verifier.collectErrors:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/component/installer/model/Verifier;
0 2 1 value Z
MethodParameters:
Name Flags
value
private void addOrThrow(org.graalvm.component.installer.DependencyException);
descriptor: (Lorg/graalvm/component/installer/DependencyException;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.component.installer.model.Verifier.collectErrors:Z
ifeq 3
1: aload 0
getfield org.graalvm.component.installer.model.Verifier.errors:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
athrow
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/graalvm/component/installer/model/Verifier;
0 5 1 ex Lorg/graalvm/component/installer/DependencyException;
MethodParameters:
Name Flags
ex
public void printRequirements(org.graalvm.component.installer.model.ComponentInfo);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.graalvm.component.installer.model.Verifier.isSilent:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getRequiredGraalValues:()Ljava/util/Map;
astore 2
start local 2 3: aload 0
getfield org.graalvm.component.installer.model.Verifier.localRegistry:Lorg/graalvm/component/installer/model/ComponentRegistry;
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.getGraalCapabilities:()Ljava/util/Map;
astore 3
start local 3 4: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "VERIFY_VerboseCheckRequirements"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.component.installer.model.Verifier.catalog:Lorg/graalvm/component/installer/ComponentCollection;
aload 1
invokeinterface org.graalvm.component.installer.ComponentCollection.shortenComponentId:(Lorg/graalvm/component/installer/model/ComponentInfo;)Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getVersionString:()Ljava/lang/String;
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
ifeq 15
5: new java.util.ArrayList
dup
aload 2
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 4
start local 4 6: aload 4
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
7: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "VERIFY_VerboseCapabilityNone"
iconst_0
anewarray java.lang.Object
invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 5
start local 5 8: aload 4
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map java.util.List java.lang.String top java.util.Iterator
StackMap stack:
9: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 10: aload 3
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 11: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "VERIFY_VerboseCapability"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.component.installer.model.Verifier.localRegistry:Lorg/graalvm/component/installer/model/ComponentRegistry;
aload 6
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.localizeCapabilityName:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
aload 2
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
dup
iconst_2
aload 8
ifnonnull 12
aload 5
goto 13
StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map java.util.List java.lang.String java.lang.String java.util.Iterator java.lang.String
StackMap stack: org.graalvm.component.installer.Feedback java.lang.String java.lang.Object[] java.lang.Object[] int
12: aload 8
StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map java.util.List java.lang.String java.lang.String java.util.Iterator java.lang.String
StackMap stack: org.graalvm.component.installer.Feedback java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
13: aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
end local 8 end local 6 14: StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map java.util.List java.lang.String top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 5 end local 4 15: StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map
StackMap stack:
return
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/model/Verifier;
0 16 1 info Lorg/graalvm/component/installer/model/ComponentInfo;
3 16 2 requiredCaps Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
4 16 3 graalCaps Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
6 15 4 keys Ljava/util/List<Ljava/lang/String;>;
8 15 5 none Ljava/lang/String;
10 14 6 s Ljava/lang/String;
11 14 8 v Ljava/lang/String;
MethodParameters:
Name Flags
info
public java.util.List<org.graalvm.component.installer.DependencyException> getErrors();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.component.installer.model.Verifier.errors:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/component/installer/model/Verifier;
Signature: ()Ljava/util/List<Lorg/graalvm/component/installer/DependencyException;>;
public boolean shouldInstall(org.graalvm.component.installer.model.ComponentInfo);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.component.installer.model.Verifier.replaceComponents:Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.graalvm.component.installer.model.Verifier.localRegistry:Lorg/graalvm/component/installer/model/ComponentRegistry;
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.findComponent:(Ljava/lang/String;)Lorg/graalvm/component/installer/model/ComponentInfo;
astore 2
start local 2 3: aload 2
ifnull 6
4: aload 2
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getVersion:()Lorg/graalvm/component/installer/Version;
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getVersion:()Lorg/graalvm/component/installer/Version;
invokevirtual org.graalvm.component.installer.Version.compareTo:(Lorg/graalvm/component/installer/Version;)I
5: iflt 6
iconst_0
ireturn
StackMap locals: org.graalvm.component.installer.model.ComponentInfo
StackMap stack:
6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/component/installer/model/Verifier;
0 7 1 componentInfo Lorg/graalvm/component/installer/model/ComponentInfo;
3 7 2 existing Lorg/graalvm/component/installer/model/ComponentInfo;
MethodParameters:
Name Flags
componentInfo
public org.graalvm.component.installer.model.Verifier validateRequirements(org.graalvm.component.installer.model.ComponentInfo);
descriptor: (Lorg/graalvm/component/installer/model/ComponentInfo;)Lorg/graalvm/component/installer/model/Verifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=14, locals=14, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.component.installer.model.Verifier.errors:Ljava/util/List;
invokeinterface java.util.List.clear:()V
1: aload 0
getfield org.graalvm.component.installer.model.Verifier.localRegistry:Lorg/graalvm/component/installer/model/ComponentRegistry;
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.findComponent:(Ljava/lang/String;)Lorg/graalvm/component/installer/model/ComponentInfo;
astore 2
start local 2 2: aload 2
ifnull 11
3: aload 2
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getVersion:()Lorg/graalvm/component/installer/Version;
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getVersion:()Lorg/graalvm/component/installer/Version;
invokevirtual org.graalvm.component.installer.Version.compareTo:(Lorg/graalvm/component/installer/Version;)I
iflt 11
4: aload 0
getfield org.graalvm.component.installer.model.Verifier.ignoreExisting:Z
ifne 11
aload 0
getfield org.graalvm.component.installer.model.Verifier.replaceComponents:Z
ifne 11
5: aload 0
new org.graalvm.component.installer.DependencyException$Conflict
dup
6: aload 2
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getVersionString:()Ljava/lang/String;
aload 2
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getVersionString:()Ljava/lang/String;
7: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "VERIFY_ComponentExists"
iconst_3
anewarray java.lang.Object
dup
iconst_0
8: aload 2
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
aload 2
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getVersionString:()Ljava/lang/String;
aastore
9: invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.graalvm.component.installer.DependencyException$Conflict.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
10: invokevirtual org.graalvm.component.installer.model.Verifier.addOrThrow:(Lorg/graalvm/component/installer/DependencyException;)V
11: StackMap locals: org.graalvm.component.installer.model.ComponentInfo
StackMap stack:
aload 0
getfield org.graalvm.component.installer.model.Verifier.ignoreRequirements:Z
ifeq 13
12: aload 0
areturn
13: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getRequiredGraalValues:()Ljava/util/Map;
astore 3
start local 3 14: aload 0
getfield org.graalvm.component.installer.model.Verifier.localRegistry:Lorg/graalvm/component/installer/model/ComponentRegistry;
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.getGraalCapabilities:()Ljava/util/Map;
astore 4
start local 4 15: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
aconst_null
iconst_0
anewarray java.lang.Object
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
istore 5
start local 5 16: aload 0
invokevirtual org.graalvm.component.installer.model.Verifier.isSilent:()Z
ifne 28
iload 5
ifeq 28
17: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "VERIFY_VerboseCheckRequirements"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.component.installer.model.Verifier.catalog:Lorg/graalvm/component/installer/ComponentCollection;
aload 1
invokeinterface org.graalvm.component.installer.ComponentCollection.shortenComponentId:(Lorg/graalvm/component/installer/model/ComponentInfo;)Ljava/lang/String;
aastore
dup
iconst_1
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getName:()Ljava/lang/String;
aastore
dup
iconst_2
aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getVersionString:()Ljava/lang/String;
aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
18: new java.util.ArrayList
dup
aload 3
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 6
start local 6 19: aload 6
invokestatic java.util.Collections.sort:(Ljava/util/List;)V
20: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "VERIFY_VerboseCapabilityNone"
iconst_0
anewarray java.lang.Object
invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
astore 7
start local 7 21: aload 6
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 27
StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map int java.util.List java.lang.String top java.util.Iterator
StackMap stack:
22: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 23: aload 4
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 10
start local 10 24: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "VERIFY_VerboseCapability"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield org.graalvm.component.installer.model.Verifier.localRegistry:Lorg/graalvm/component/installer/model/ComponentRegistry;
aload 8
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.localizeCapabilityName:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_1
aload 3
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
aastore
dup
iconst_2
aload 10
ifnonnull 25
aload 7
goto 26
StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map int java.util.List java.lang.String java.lang.String java.util.Iterator java.lang.String
StackMap stack: org.graalvm.component.installer.Feedback java.lang.String java.lang.Object[] java.lang.Object[] int
25: aload 10
StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map int java.util.List java.lang.String java.lang.String java.util.Iterator java.lang.String
StackMap stack: org.graalvm.component.installer.Feedback java.lang.String java.lang.Object[] java.lang.Object[] int java.lang.String
26: aastore
invokeinterface org.graalvm.component.installer.Feedback.verboseOutput:(Ljava/lang/String;[Ljava/lang/Object;)Z
pop
end local 10 end local 8 27: StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map int java.util.List java.lang.String top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 22
end local 7 end local 6 28: StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map int
StackMap stack:
aload 3
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 77
StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map int top java.util.Iterator
StackMap stack:
29: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 6
start local 6 30: aload 3
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 31: aload 4
aload 6
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 32: ldc "graalvm_version"
aload 6
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 65
33: aload 0
getfield org.graalvm.component.installer.model.Verifier.versionMatch:Lorg/graalvm/component/installer/Version$Match;
ifnull 38
34: aload 8
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
35: invokestatic org.graalvm.component.installer.Version.fromString:(Ljava/lang/String;)Lorg/graalvm/component/installer/Version;
astore 11
start local 11 36: aload 0
getfield org.graalvm.component.installer.model.Verifier.versionMatch:Lorg/graalvm/component/installer/Version$Match;
aload 11
invokevirtual org.graalvm.component.installer.Version$Match.test:(Lorg/graalvm/component/installer/Version;)Z
istore 10
end local 11 start local 10 37: goto 41
end local 10 38: StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map int java.lang.String java.util.Iterator java.lang.String java.lang.String
StackMap stack:
aload 8
invokestatic org.graalvm.component.installer.Version.fromString:(Ljava/lang/String;)Lorg/graalvm/component/installer/Version;
astore 11
start local 11 39: aload 9
invokestatic org.graalvm.component.installer.Version.fromString:(Ljava/lang/String;)Lorg/graalvm/component/installer/Version;
astore 12
start local 12 40: aload 11
invokevirtual org.graalvm.component.installer.Version.installVersion:()Lorg/graalvm/component/installer/Version;
aload 12
invokevirtual org.graalvm.component.installer.Version.installVersion:()Lorg/graalvm/component/installer/Version;
invokevirtual org.graalvm.component.installer.Version.equals:(Ljava/lang/Object;)Z
istore 10
end local 12 end local 11 start local 10 41: StackMap locals: int
StackMap stack:
iload 10
ifne 77
42: aload 8
invokestatic org.graalvm.component.installer.Version.fromString:(Ljava/lang/String;)Lorg/graalvm/component/installer/Version;
astore 11
start local 11 43: aload 0
getfield org.graalvm.component.installer.model.Verifier.localRegistry:Lorg/graalvm/component/installer/model/ComponentRegistry;
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.getGraalVersion:()Lorg/graalvm/component/installer/Version;
astore 12
start local 12 44: aload 12
aload 11
invokevirtual org.graalvm.component.installer.Version.compareTo:(Lorg/graalvm/component/installer/Version;)I
istore 13
start local 13 45: iload 13
ifle 54
46: aload 0
new org.graalvm.component.installer.DependencyException$Mismatch
dup
47: ldc "org.graalvm"
48: aload 6
aload 8
aload 9
49: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "VERIFY_ObsoleteGraalVM"
iconst_3
anewarray java.lang.Object
dup
iconst_0
50: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 8
aastore
dup
iconst_2
aload 12
invokevirtual org.graalvm.component.installer.Version.displayString:()Ljava/lang/String;
aastore
51: invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.graalvm.component.installer.DependencyException$Mismatch.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
52: invokevirtual org.graalvm.component.installer.model.Verifier.addOrThrow:(Lorg/graalvm/component/installer/DependencyException;)V
53: goto 77
StackMap locals: org.graalvm.component.installer.Version org.graalvm.component.installer.Version int
StackMap stack:
54: aload 0
getfield org.graalvm.component.installer.model.Verifier.collectVersion:Z
ifeq 57
55: aload 0
aload 11
putfield org.graalvm.component.installer.model.Verifier.minVersion:Lorg/graalvm/component/installer/Version;
56: goto 77
57: StackMap locals:
StackMap stack:
aload 0
new org.graalvm.component.installer.DependencyException$Mismatch
dup
58: ldc "org.graalvm"
59: aload 6
aload 8
aload 9
60: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "VERIFY_UpdateGraalVM"
iconst_3
anewarray java.lang.Object
dup
iconst_0
61: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 8
aastore
dup
iconst_2
aload 12
invokevirtual org.graalvm.component.installer.Version.displayString:()Ljava/lang/String;
aastore
62: invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.graalvm.component.installer.DependencyException$Mismatch.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
63: invokevirtual org.graalvm.component.installer.model.Verifier.addOrThrow:(Lorg/graalvm/component/installer/DependencyException;)V
end local 13 end local 12 end local 11 64: goto 77
end local 10 65: StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map int java.lang.String java.util.Iterator java.lang.String java.lang.String
StackMap stack:
aload 8
aload 9
invokestatic org.graalvm.component.installer.model.Verifier.matches:(Ljava/lang/String;Ljava/lang/String;)Z
istore 10
start local 10 66: iload 10
ifne 77
67: aload 9
ifnull 68
aload 9
goto 69
StackMap locals: int
StackMap stack:
68: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "VERIFY_CapabilityMissing"
iconst_0
anewarray java.lang.Object
invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
69: astore 11
start local 11 70: aload 0
new org.graalvm.component.installer.DependencyException$Mismatch
dup
71: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getId:()Ljava/lang/String;
72: aload 6
aload 8
aload 9
73: aload 0
getfield org.graalvm.component.installer.model.Verifier.feedback:Lorg/graalvm/component/installer/Feedback;
ldc "VERIFY_Dependency_Failed"
iconst_4
anewarray java.lang.Object
dup
iconst_0
74: aload 1
invokevirtual org.graalvm.component.installer.model.ComponentInfo.getName:()Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield org.graalvm.component.installer.model.Verifier.localRegistry:Lorg/graalvm/component/installer/model/ComponentRegistry;
aload 6
invokevirtual org.graalvm.component.installer.model.ComponentRegistry.localizeCapabilityName:(Ljava/lang/String;)Ljava/lang/String;
aastore
dup
iconst_2
aload 8
aastore
dup
iconst_3
aload 11
aastore
75: invokeinterface org.graalvm.component.installer.Feedback.l10n:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.graalvm.component.installer.DependencyException$Mismatch.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
76: invokevirtual org.graalvm.component.installer.model.Verifier.addOrThrow:(Lorg/graalvm/component/installer/DependencyException;)V
end local 11 end local 10 end local 9 end local 8 end local 6 77: StackMap locals: org.graalvm.component.installer.model.Verifier org.graalvm.component.installer.model.ComponentInfo org.graalvm.component.installer.model.ComponentInfo java.util.Map java.util.Map int top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 29
78: aload 0
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 79 0 this Lorg/graalvm/component/installer/model/Verifier;
0 79 1 componentInfo Lorg/graalvm/component/installer/model/ComponentInfo;
2 79 2 existing Lorg/graalvm/component/installer/model/ComponentInfo;
14 79 3 requiredCaps Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
15 79 4 graalCaps Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
16 79 5 verbose Z
19 28 6 keys Ljava/util/List<Ljava/lang/String;>;
21 28 7 none Ljava/lang/String;
23 27 8 s Ljava/lang/String;
24 27 10 v Ljava/lang/String;
30 77 6 s Ljava/lang/String;
31 77 8 reqVal Ljava/lang/String;
32 77 9 graalVal Ljava/lang/String;
37 38 10 matches Z
41 65 10 matches Z
66 77 10 matches Z
36 37 11 cv Lorg/graalvm/component/installer/Version;
39 41 11 rv Lorg/graalvm/component/installer/Version;
40 41 12 gv Lorg/graalvm/component/installer/Version;
43 64 11 rq Lorg/graalvm/component/installer/Version;
44 64 12 gv Lorg/graalvm/component/installer/Version;
45 64 13 n I
70 77 11 val Ljava/lang/String;
RuntimeInvisibleAnnotations:
org.graalvm.component.installer.SuppressFBWarnings(value = {"ES_COMPARING_STRINGS_WITH_EQ"}, justification = "intentional comparison of strings using ==")
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
org.graalvm.component.installer.SuppressFBWarnings(value = {"ES_COMPARING_STRINGS_WITH_EQ"}, justification = "intentional comparison of strings using ==")
MethodParameters:
Name Flags
componentInfo
private static boolean matches(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpeq 2
aload 0
ifnull 1
aload 1
ifnull 1
aload 0
bipush 45
bipush 95
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
aload 1
bipush 45
bipush 95
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokevirtual java.lang.String.compareToIgnoreCase:(Ljava/lang/String;)I
ifeq 2
StackMap locals:
StackMap stack:
1: iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 reqVal Ljava/lang/String;
0 4 1 graalVal Ljava/lang/String;
MethodParameters:
Name Flags
reqVal
graalVal
}
SourceFile: "Verifier.java"
InnerClasses:
public Conflict = org.graalvm.component.installer.DependencyException$Conflict of org.graalvm.component.installer.DependencyException
public Mismatch = org.graalvm.component.installer.DependencyException$Mismatch of org.graalvm.component.installer.DependencyException
public final Match = org.graalvm.component.installer.Version$Match of org.graalvm.component.installer.Version