class jdk.tools.jlink.internal.plugins.SystemModulesPlugin$1 implements java.lang.module.ModuleFinder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.tools.jlink.internal.plugins.SystemModulesPlugin$1
super_class: java.lang.Object
{
private final java.util.Map val$namesToReference;
descriptor: Ljava/util/Map;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.Map);
descriptor: (Ljava/util/Map;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$1.val$namesToReference:Ljava/util/Map;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$1;
MethodParameters:
Name Flags
val$namesToReference final
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.tools.jlink.internal.plugins.SystemModulesPlugin$1.val$namesToReference: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/tools/jlink/internal/plugins/SystemModulesPlugin$1;
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=3, locals=1, args_size=1
start local 0 0: new java.util.HashSet
dup
aload 0
getfield jdk.tools.jlink.internal.plugins.SystemModulesPlugin$1.val$namesToReference:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/SystemModulesPlugin$1;
Signature: ()Ljava/util/Set<Ljava/lang/module/ModuleReference;>;
}
SourceFile: "SystemModulesPlugin.java"
EnclosingMethod: jdk.tools.jlink.internal.plugins.SystemModulesPlugin.finderOf:(Ljava/util/Collection;)Ljava/lang/module/ModuleFinder;
NestHost: jdk.tools.jlink.internal.plugins.SystemModulesPlugin
InnerClasses:
jdk.tools.jlink.internal.plugins.SystemModulesPlugin$1
ModuleInfo = jdk.tools.jlink.internal.plugins.SystemModulesPlugin$ModuleInfo of jdk.tools.jlink.internal.plugins.SystemModulesPlugin