class jdk.internal.module.ModulePatcher$JarResourceFinder implements jdk.internal.module.ModulePatcher$ResourceFinder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.module.ModulePatcher$JarResourceFinder
super_class: java.lang.Object
{
private final java.util.jar.JarFile jf;
descriptor: Ljava/util/jar/JarFile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.net.URL csURL;
descriptor: Ljava/net/URL;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.jar.JarFile
dup
aload 1
invokeinterface java.nio.file.Path.toString:()Ljava/lang/String;
invokespecial java.util.jar.JarFile.<init>:(Ljava/lang/String;)V
putfield jdk.internal.module.ModulePatcher$JarResourceFinder.jf:Ljava/util/jar/JarFile;
2: aload 0
aload 1
invokeinterface java.nio.file.Path.toUri:()Ljava/net/URI;
invokevirtual java.net.URI.toURL:()Ljava/net/URL;
putfield jdk.internal.module.ModulePatcher$JarResourceFinder.csURL:Ljava/net/URL;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/module/ModulePatcher$JarResourceFinder;
0 4 1 path Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.module.ModulePatcher$JarResourceFinder.jf:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.close:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/module/ModulePatcher$JarResourceFinder;
Exceptions:
throws java.io.IOException
public jdk.internal.loader.Resource find(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/loader/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.module.ModulePatcher$JarResourceFinder.jf:Ljava/util/jar/JarFile;
aload 1
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.util.jar.JarEntry
StackMap stack:
new jdk.internal.module.ModulePatcher$JarResourceFinder$1
dup
aload 0
aload 1
aload 2
invokespecial jdk.internal.module.ModulePatcher$JarResourceFinder$1.<init>:(Ljdk/internal/module/ModulePatcher$JarResourceFinder;Ljava/lang/String;Ljava/util/jar/JarEntry;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/module/ModulePatcher$JarResourceFinder;
0 4 1 name Ljava/lang/String;
1 4 2 entry Ljava/util/jar/JarEntry;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
public java.util.stream.Stream<java.lang.String> list();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.module.ModulePatcher$JarResourceFinder.jf:Ljava/util/jar/JarFile;
invokevirtual java.util.jar.JarFile.stream:()Ljava/util/stream/Stream;
invokedynamic apply()Ljava/util/function/Function;
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;)Ljava/lang/Object;
java/util/zip/ZipEntry.getName()Ljava/lang/String; (5)
(Ljava/util/jar/JarEntry;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/ModulePatcher$JarResourceFinder;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/stream/Stream<Ljava/lang/String;>;
}
SourceFile: "ModulePatcher.java"
NestHost: jdk.internal.module.ModulePatcher
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
private JarResourceFinder = jdk.internal.module.ModulePatcher$JarResourceFinder of jdk.internal.module.ModulePatcher
jdk.internal.module.ModulePatcher$JarResourceFinder$1
private abstract ResourceFinder = jdk.internal.module.ModulePatcher$ResourceFinder of jdk.internal.module.ModulePatcher