public final class jdk.tools.jaotc.collect.jar.JarSourceProvider implements jdk.tools.jaotc.collect.SourceProvider
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.collect.jar.JarSourceProvider
super_class: java.lang.Object
{
private final java.nio.file.FileSystem fileSystem;
descriptor: Ljava/nio/file/FileSystem;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.tools.jaotc.collect.FileSupport fileSupport;
descriptor: Ljdk/tools/jaotc/collect/FileSupport;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static final java.lang.String TYPE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jar"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
new jdk.tools.jaotc.collect.FileSupport
dup
invokespecial jdk.tools.jaotc.collect.FileSupport.<init>:()V
invokespecial jdk.tools.jaotc.collect.jar.JarSourceProvider.<init>:(Ljdk/tools/jaotc/collect/FileSupport;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/collect/jar/JarSourceProvider;
public void <init>(jdk.tools.jaotc.collect.FileSupport);
descriptor: (Ljdk/tools/jaotc/collect/FileSupport;)V
flags: (0x0001) ACC_PUBLIC
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.tools.jaotc.collect.jar.JarSourceProvider.fileSupport:Ljdk/tools/jaotc/collect/FileSupport;
2: aload 0
invokestatic java.nio.file.FileSystems.getDefault:()Ljava/nio/file/FileSystem;
putfield jdk.tools.jaotc.collect.jar.JarSourceProvider.fileSystem:Ljava/nio/file/FileSystem;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jaotc/collect/jar/JarSourceProvider;
0 4 1 fileSupport Ljdk/tools/jaotc/collect/FileSupport;
MethodParameters:
Name Flags
fileSupport
public jdk.tools.jaotc.collect.ClassSource findSource(java.lang.String, jdk.tools.jaotc.collect.SearchPath);
descriptor: (Ljava/lang/String;Ljdk/tools/jaotc/collect/SearchPath;)Ljdk/tools/jaotc/collect/ClassSource;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.tools.jaotc.collect.jar.JarSourceProvider.fileSystem:Ljava/nio/file/FileSystem;
aload 1
iconst_0
anewarray java.lang.String
invokevirtual java.nio.file.FileSystem.getPath:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 3
start local 3 1: aload 2
aload 0
getfield jdk.tools.jaotc.collect.jar.JarSourceProvider.fileSystem:Ljava/nio/file/FileSystem;
aload 3
iconst_0
anewarray java.lang.String
invokevirtual jdk.tools.jaotc.collect.SearchPath.find:(Ljava/nio/file/FileSystem;Ljava/nio/file/Path;[Ljava/lang/String;)Ljava/nio/file/Path;
astore 4
start local 4 2: aload 0
aload 4
invokevirtual jdk.tools.jaotc.collect.jar.JarSourceProvider.validPath:(Ljava/nio/file/Path;)Z
ifne 4
3: aconst_null
areturn
4: StackMap locals: java.nio.file.Path java.nio.file.Path
StackMap stack:
aload 0
aload 4
invokevirtual jdk.tools.jaotc.collect.jar.JarSourceProvider.createSource:(Ljava/nio/file/Path;)Ljdk/tools/jaotc/collect/ClassSource;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jaotc/collect/jar/JarSourceProvider;
0 5 1 name Ljava/lang/String;
0 5 2 searchPath Ljdk/tools/jaotc/collect/SearchPath;
1 5 3 fileName Ljava/nio/file/Path;
2 5 4 jarFile Ljava/nio/file/Path;
MethodParameters:
Name Flags
name
searchPath
private jdk.tools.jaotc.collect.ClassSource createSource(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Ljdk/tools/jaotc/collect/ClassSource;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.tools.jaotc.collect.jar.JarSourceProvider.fileSupport:Ljdk/tools/jaotc/collect/FileSupport;
aload 1
invokevirtual jdk.tools.jaotc.collect.FileSupport.getJarFileSystemRoot:(Ljava/nio/file/Path;)Ljava/nio/file/Path;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.nio.file.Path
StackMap stack:
aload 0
getfield jdk.tools.jaotc.collect.jar.JarSourceProvider.fileSupport:Ljdk/tools/jaotc/collect/FileSupport;
aload 1
invokevirtual jdk.tools.jaotc.collect.FileSupport.createClassLoader:(Ljava/nio/file/Path;)Ljava/lang/ClassLoader;
astore 3
start local 3 4: new jdk.tools.jaotc.collect.jar.JarFileSource
dup
aload 1
aload 2
aload 3
invokespecial jdk.tools.jaotc.collect.jar.JarFileSource.<init>:(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/lang/ClassLoader;)V
5: areturn
end local 3 end local 2 6: StackMap locals: jdk.tools.jaotc.collect.jar.JarSourceProvider java.nio.file.Path
StackMap stack: java.lang.Exception
pop
7: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/tools/jaotc/collect/jar/JarSourceProvider;
0 8 1 jarFile Ljava/nio/file/Path;
1 6 2 jarRootPath Ljava/nio/file/Path;
4 6 3 classLoader Ljava/lang/ClassLoader;
Exception table:
from to target type
0 2 6 Class java.nio.file.ProviderNotFoundException
3 5 6 Class java.nio.file.ProviderNotFoundException
0 2 6 Class java.net.MalformedURLException
3 5 6 Class java.net.MalformedURLException
MethodParameters:
Name Flags
jarFile
public boolean supports(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc "jar"
aload 1
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/collect/jar/JarSourceProvider;
0 1 1 type Ljava/lang/String;
MethodParameters:
Name Flags
type
private boolean validPath(java.nio.file.Path);
descriptor: (Ljava/nio/file/Path;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 0
getfield jdk.tools.jaotc.collect.jar.JarSourceProvider.fileSupport:Ljdk/tools/jaotc/collect/FileSupport;
aload 1
invokevirtual jdk.tools.jaotc.collect.FileSupport.isDirectory:(Ljava/nio/file/Path;)Z
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/tools/jaotc/collect/jar/JarSourceProvider;
0 2 1 jarFile Ljava/nio/file/Path;
MethodParameters:
Name Flags
jarFile
}
SourceFile: "JarSourceProvider.java"