public final class jdk.internal.module.DefaultRoots
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.internal.module.DefaultRoots
super_class: java.lang.Object
{
private static final java.lang.String JAVA_SE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java.se"
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/DefaultRoots;
static java.util.Set<java.lang.String> compute(java.lang.module.ModuleFinder, java.lang.module.ModuleFinder);
descriptor: (Ljava/lang/module/ModuleFinder;Ljava/lang/module/ModuleFinder;)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=10, args_size=2
start local 0 start local 1 0: new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: aload 0
ldc "java.se"
invokeinterface java.lang.module.ModuleFinder.find:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 6
3: aload 1
aload 0
if_acmpeq 4
aload 1
ldc "java.se"
invokeinterface java.lang.module.ModuleFinder.find:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 6
4: StackMap locals: java.util.Set int
StackMap stack:
iconst_1
istore 3
5: aload 2
ldc "java.se"
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.lang.module.ModuleFinder.findAll:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 5
goto 21
StackMap locals: java.lang.module.ModuleFinder java.lang.module.ModuleFinder java.util.Set int top java.util.Iterator
StackMap stack:
7: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
astore 4
start local 4 8: aload 4
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
invokevirtual java.lang.module.ModuleDescriptor.name:()Ljava/lang/String;
astore 6
start local 6 9: iload 3
ifeq 11
aload 6
ldc "java."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 11
10: goto 21
11: StackMap locals: java.lang.module.ModuleFinder java.lang.module.ModuleFinder java.util.Set int java.lang.module.ModuleReference java.util.Iterator java.lang.String
StackMap stack:
aload 4
invokestatic jdk.internal.module.ModuleResolution.doNotResolveByDefault:(Ljava/lang/module/ModuleReference;)Z
ifeq 13
12: goto 21
13: StackMap locals:
StackMap stack:
aload 1
aload 0
if_acmpeq 14
aload 1
aload 6
invokeinterface java.lang.module.ModuleFinder.find:(Ljava/lang/String;)Ljava/util/Optional;
invokevirtual java.util.Optional.isPresent:()Z
ifeq 21
14: StackMap locals:
StackMap stack:
aload 4
invokevirtual java.lang.module.ModuleReference.descriptor:()Ljava/lang/module/ModuleDescriptor;
astore 7
start local 7 15: aload 7
invokevirtual java.lang.module.ModuleDescriptor.exports:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 20
StackMap locals: java.lang.module.ModuleFinder java.lang.module.ModuleFinder java.util.Set int java.lang.module.ModuleReference java.util.Iterator java.lang.String java.lang.module.ModuleDescriptor top java.util.Iterator
StackMap stack:
16: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor$Exports
astore 8
start local 8 17: aload 8
invokevirtual java.lang.module.ModuleDescriptor$Exports.isQualified:()Z
ifne 20
18: aload 2
aload 6
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
19: goto 21
end local 8 20: StackMap locals:
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
end local 7 end local 6 end local 4 21: StackMap locals: java.lang.module.ModuleFinder java.lang.module.ModuleFinder java.util.Set int top java.util.Iterator
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
22: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 systemModuleFinder Ljava/lang/module/ModuleFinder;
0 23 1 finder Ljava/lang/module/ModuleFinder;
1 23 2 roots Ljava/util/Set<Ljava/lang/String;>;
2 23 3 hasJava Z
8 21 4 mref Ljava/lang/module/ModuleReference;
9 21 6 mn Ljava/lang/String;
15 21 7 descriptor Ljava/lang/module/ModuleDescriptor;
17 20 8 e Ljava/lang/module/ModuleDescriptor$Exports;
Signature: (Ljava/lang/module/ModuleFinder;Ljava/lang/module/ModuleFinder;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
systemModuleFinder
finder
public static java.util.Set<java.lang.String> compute(java.lang.module.ModuleFinder);
descriptor: (Ljava/lang/module/ModuleFinder;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokestatic jdk.internal.module.DefaultRoots.compute:(Ljava/lang/module/ModuleFinder;Ljava/lang/module/ModuleFinder;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 finder Ljava/lang/module/ModuleFinder;
Signature: (Ljava/lang/module/ModuleFinder;)Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
finder
}
SourceFile: "DefaultRoots.java"
InnerClasses:
public final Exports = java.lang.module.ModuleDescriptor$Exports of java.lang.module.ModuleDescriptor