class jdk.internal.module.SystemModuleFinders$SystemModuleFinder implements java.lang.module.ModuleFinder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.module.SystemModuleFinders$SystemModuleFinder
super_class: java.lang.Object
{
final java.util.Set<java.lang.module.ModuleReference> mrefs;
descriptor: Ljava/util/Set;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/module/ModuleReference;>;
final java.util.Map<java.lang.String, java.lang.module.ModuleReference> nameToModule;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/module/ModuleReference;>;
void <init>(java.lang.module.ModuleReference[], java.util.Map$Entry<java.lang.String, java.lang.module.ModuleReference>[]);
descriptor: ([Ljava/lang/module/ModuleReference;[Ljava/util/Map$Entry;)V
flags: (0x0000)
Code:
stack=2, locals=3, 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
invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
putfield jdk.internal.module.SystemModuleFinders$SystemModuleFinder.mrefs:Ljava/util/Set;
2: aload 0
aload 2
invokestatic java.util.Map.ofEntries:([Ljava/util/Map$Entry;)Ljava/util/Map;
putfield jdk.internal.module.SystemModuleFinders$SystemModuleFinder.nameToModule:Ljava/util/Map;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/module/SystemModuleFinders$SystemModuleFinder;
0 4 1 array [Ljava/lang/module/ModuleReference;
0 4 2 map [Ljava/util/Map$Entry;
Signature: ([Ljava/lang/module/ModuleReference;[Ljava/util/Map$Entry<Ljava/lang/String;Ljava/lang/module/ModuleReference;>;)V
MethodParameters:
Name Flags
array
map
void <init>(java.util.Set<java.lang.module.ModuleReference>, java.util.Map<java.lang.String, java.lang.module.ModuleReference>);
descriptor: (Ljava/util/Set;Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=2, locals=3, 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
invokestatic java.util.Set.copyOf:(Ljava/util/Collection;)Ljava/util/Set;
putfield jdk.internal.module.SystemModuleFinders$SystemModuleFinder.mrefs:Ljava/util/Set;
2: aload 0
aload 2
invokestatic java.util.Map.copyOf:(Ljava/util/Map;)Ljava/util/Map;
putfield jdk.internal.module.SystemModuleFinders$SystemModuleFinder.nameToModule:Ljava/util/Map;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/module/SystemModuleFinders$SystemModuleFinder;
0 4 1 mrefs Ljava/util/Set<Ljava/lang/module/ModuleReference;>;
0 4 2 nameToModule Ljava/util/Map<Ljava/lang/String;Ljava/lang/module/ModuleReference;>;
Signature: (Ljava/util/Set<Ljava/lang/module/ModuleReference;>;Ljava/util/Map<Ljava/lang/String;Ljava/lang/module/ModuleReference;>;)V
MethodParameters:
Name Flags
mrefs
nameToModule
public java.util.Optional<java.lang.module.ModuleReference> find(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.internal.module.SystemModuleFinders$SystemModuleFinder.nameToModule:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.module.ModuleReference
invokestatic java.util.Optional.ofNullable:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/SystemModuleFinders$SystemModuleFinder;
0 2 1 name Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Optional<Ljava/lang/module/ModuleReference;>;
MethodParameters:
Name Flags
name
public java.util.Set<java.lang.module.ModuleReference> findAll();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.module.SystemModuleFinders$SystemModuleFinder.mrefs:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/SystemModuleFinders$SystemModuleFinder;
Signature: ()Ljava/util/Set<Ljava/lang/module/ModuleReference;>;
}
SourceFile: "SystemModuleFinders.java"
NestHost: jdk.internal.module.SystemModuleFinders
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
private SystemModuleFinder = jdk.internal.module.SystemModuleFinders$SystemModuleFinder of jdk.internal.module.SystemModuleFinders