class jdk.internal.module.ModulePatcher$ExplodedResourceFinder implements jdk.internal.module.ModulePatcher$ResourceFinder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.module.ModulePatcher$ExplodedResourceFinder
super_class: java.lang.Object
{
private final java.nio.file.Path dir;
descriptor: Ljava/nio/file/Path;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.internal.module.ModulePatcher$ExplodedResourceFinder.dir:Ljava/nio/file/Path;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/internal/module/ModulePatcher$ExplodedResourceFinder;
0 3 1 dir Ljava/nio/file/Path;
MethodParameters:
Name Flags
dir
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/ModulePatcher$ExplodedResourceFinder;
public jdk.internal.loader.Resource find(java.lang.String);
descriptor: (Ljava/lang/String;)Ljdk/internal/loader/Resource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.module.ModulePatcher$ExplodedResourceFinder.dir:Ljava/nio/file/Path;
aload 1
invokestatic jdk.internal.module.Resources.toFilePath:(Ljava/nio/file/Path;Ljava/lang/String;)Ljava/nio/file/Path;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 0
aload 1
aload 0
getfield jdk.internal.module.ModulePatcher$ExplodedResourceFinder.dir:Ljava/nio/file/Path;
aload 2
invokevirtual jdk.internal.module.ModulePatcher$ExplodedResourceFinder.newResource:(Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljdk/internal/loader/Resource;
areturn
3: StackMap locals: java.nio.file.Path
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/module/ModulePatcher$ExplodedResourceFinder;
0 4 1 name Ljava/lang/String;
1 4 2 file Ljava/nio/file/Path;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
private jdk.internal.loader.Resource newResource(java.lang.String, java.nio.file.Path, java.nio.file.Path);
descriptor: (Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljdk/internal/loader/Resource;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new jdk.internal.module.ModulePatcher$ExplodedResourceFinder$1
dup
aload 0
aload 1
aload 3
aload 2
invokespecial jdk.internal.module.ModulePatcher$ExplodedResourceFinder$1.<init>:(Ljdk/internal/module/ModulePatcher$ExplodedResourceFinder;Ljava/lang/String;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/ModulePatcher$ExplodedResourceFinder;
0 1 1 name Ljava/lang/String;
0 1 2 top Ljava/nio/file/Path;
0 1 3 file Ljava/nio/file/Path;
MethodParameters:
Name Flags
name
top
file
public java.util.stream.Stream<java.lang.String> list();
descriptor: ()Ljava/util/stream/Stream;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.module.ModulePatcher$ExplodedResourceFinder.dir:Ljava/nio/file/Path;
ldc 2147483647
iconst_0
anewarray java.nio.file.FileVisitOption
invokestatic java.nio.file.Files.walk:(Ljava/nio/file/Path;I[Ljava/nio/file/FileVisitOption;)Ljava/util/stream/Stream;
1: aload 0
invokedynamic apply(Ljdk/internal/module/ModulePatcher$ExplodedResourceFinder;)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;
jdk/internal/module/ModulePatcher$ExplodedResourceFinder.lambda$0(Ljava/nio/file/Path;)Ljava/lang/String; (7)
(Ljava/nio/file/Path;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: invokedynamic test()Ljava/util/function/Predicate;
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;)Z
jdk/internal/module/ModulePatcher$ExplodedResourceFinder.lambda$1(Ljava/lang/String;)Z (6)
(Ljava/lang/String;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/internal/module/ModulePatcher$ExplodedResourceFinder;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/util/stream/Stream<Ljava/lang/String;>;
private java.lang.String lambda$0(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljava/lang/String;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.internal.module.ModulePatcher$ExplodedResourceFinder.dir:Ljava/nio/file/Path;
aload 1
invokestatic jdk.internal.module.Resources.toResourceName:(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/ModulePatcher$ExplodedResourceFinder;
0 1 1 f Ljava/nio/file/Path;
private static boolean lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.String.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 s 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 ExplodedResourceFinder = jdk.internal.module.ModulePatcher$ExplodedResourceFinder of jdk.internal.module.ModulePatcher
jdk.internal.module.ModulePatcher$ExplodedResourceFinder$1
private abstract ResourceFinder = jdk.internal.module.ModulePatcher$ResourceFinder of jdk.internal.module.ModulePatcher