class com.sun.tools.jdeps.ClassFileReader$JarFileReader extends com.sun.tools.jdeps.ClassFileReader
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdeps.ClassFileReader$JarFileReader
super_class: com.sun.tools.jdeps.ClassFileReader
{
private final java.util.jar.JarFile jarfile;
descriptor: Ljava/util/jar/JarFile;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Runtime$Version version;
descriptor: Ljava/lang/Runtime$Version;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.nio.file.Path, java.lang.Runtime$Version);
descriptor: (Ljava/nio/file/Path;Ljava/lang/Runtime$Version;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 1
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
aload 2
invokestatic com.sun.tools.jdeps.ClassFileReader$JarFileReader.openJarFile:(Ljava/io/File;Ljava/lang/Runtime$Version;)Ljava/util/jar/JarFile;
aload 2
invokespecial com.sun.tools.jdeps.ClassFileReader$JarFileReader.<init>:(Ljava/nio/file/Path;Ljava/util/jar/JarFile;Ljava/lang/Runtime$Version;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/ClassFileReader$JarFileReader;
0 2 1 path Ljava/nio/file/Path;
0 2 2 version Ljava/lang/Runtime$Version;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
version
void <init>(java.nio.file.Path, java.util.jar.JarFile, java.lang.Runtime$Version);
descriptor: (Ljava/nio/file/Path;Ljava/util/jar/JarFile;Ljava/lang/Runtime$Version;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial com.sun.tools.jdeps.ClassFileReader.<init>:(Ljava/nio/file/Path;)V
1: aload 0
aload 2
putfield com.sun.tools.jdeps.ClassFileReader$JarFileReader.jarfile:Ljava/util/jar/JarFile;
2: aload 0
aload 3
putfield com.sun.tools.jdeps.ClassFileReader$JarFileReader.version:Ljava/lang/Runtime$Version;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/jdeps/ClassFileReader$JarFileReader;
0 4 1 path Ljava/nio/file/Path;
0 4 2 jf Ljava/util/jar/JarFile;
0 4 3 version Ljava/lang/Runtime$Version;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
path
jf
version
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.ClassFileReader$JarFileReader.jarfile: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 Lcom/sun/tools/jdeps/ClassFileReader$JarFileReader;
Exceptions:
throws java.io.IOException
private static java.util.jar.JarFile openJarFile(java.io.File, java.lang.Runtime$Version);
descriptor: (Ljava/io/File;Ljava/lang/Runtime$Version;)Ljava/util/jar/JarFile;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 4
1: new java.util.jar.JarFile
dup
aload 0
iconst_0
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;Z)V
astore 2
start local 2 2: aload 2
invokevirtual java.util.jar.JarFile.isMultiRelease:()Z
ifeq 7
3: new com.sun.tools.jdeps.MultiReleaseException
dup
ldc "err.multirelease.option.notfound"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.io.File.getName:()Ljava/lang/String;
aastore
invokespecial com.sun.tools.jdeps.MultiReleaseException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 2 4: StackMap locals:
StackMap stack:
new java.util.jar.JarFile
dup
aload 0
iconst_0
iconst_1
aload 1
invokespecial java.util.jar.JarFile.<init>:(Ljava/io/File;ZILjava/lang/Runtime$Version;)V
astore 2
start local 2 5: aload 2
invokevirtual java.util.jar.JarFile.isMultiRelease:()Z
ifne 7
6: new com.sun.tools.jdeps.MultiReleaseException
dup
ldc "err.multirelease.option.exists"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual java.io.File.getName:()Ljava/lang/String;
aastore
invokespecial com.sun.tools.jdeps.MultiReleaseException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
7: StackMap locals: java.util.jar.JarFile
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 f Ljava/io/File;
0 8 1 version Ljava/lang/Runtime$Version;
2 4 2 jf Ljava/util/jar/JarFile;
5 8 2 jf Ljava/util/jar/JarFile;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
f
version
protected java.util.Set<java.lang.String> scan();
descriptor: ()Ljava/util/Set;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: aload 0
getfield com.sun.tools.jdeps.ClassFileReader$JarFileReader.path:Ljava/nio/file/Path;
invokeinterface java.nio.file.Path.toFile:()Ljava/io/File;
aload 0
getfield com.sun.tools.jdeps.ClassFileReader$JarFileReader.version:Ljava/lang/Runtime$Version;
invokestatic com.sun.tools.jdeps.ClassFileReader$JarFileReader.openJarFile:(Ljava/io/File;Ljava/lang/Runtime$Version;)Ljava/util/jar/JarFile;
astore 3
start local 3 2: aload 3
invokevirtual java.util.jar.JarFile.versionedStream:()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;
3: 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
com/sun/tools/jdeps/ClassFileReader$JarFileReader.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;
4: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
5: aload 3
ifnull 6
aload 3
invokevirtual java.util.jar.JarFile.close:()V
6: StackMap locals: com.sun.tools.jdeps.ClassFileReader$JarFileReader java.lang.Throwable java.lang.Throwable java.util.jar.JarFile
StackMap stack: java.util.Set
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
7: astore 1
8: aload 3
ifnull 9
aload 3
invokevirtual java.util.jar.JarFile.close:()V
end local 3 StackMap locals:
StackMap stack:
9: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
10: astore 2
aload 1
ifnonnull 11
aload 2
astore 1
goto 12
StackMap locals:
StackMap stack:
11: aload 1
aload 2
if_acmpeq 12
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
12: aload 1
athrow
StackMap locals: com.sun.tools.jdeps.ClassFileReader$JarFileReader
StackMap stack: java.io.IOException
13: astore 1
start local 1 14: new java.io.UncheckedIOException
dup
aload 1
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/tools/jdeps/ClassFileReader$JarFileReader;
2 9 3 jf Ljava/util/jar/JarFile;
14 15 1 e Ljava/io/IOException;
Exception table:
from to target type
2 5 7 any
1 6 10 any
7 10 10 any
0 6 13 Class java.io.IOException
7 13 13 Class java.io.IOException
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public com.sun.tools.classfile.ClassFile getClassFile(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/tools/classfile/ClassFile;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 1
bipush 46
invokevirtual java.lang.String.indexOf:(I)I
ifle 10
1: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 2
start local 2 2: new java.lang.StringBuilder
dup
aload 1
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3
start local 3 3: aload 0
getfield com.sun.tools.jdeps.ClassFileReader$JarFileReader.jarfile:Ljava/util/jar/JarFile;
aload 3
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 4
start local 4 4: aload 4
ifnonnull 8
5: aload 0
getfield com.sun.tools.jdeps.ClassFileReader$JarFileReader.jarfile:Ljava/util/jar/JarFile;
new java.lang.StringBuilder
dup
aload 3
iconst_0
iload 2
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "$"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 3
iload 2
iconst_1
iadd
aload 3
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 4
8: StackMap locals: int java.lang.String java.util.jar.JarEntry
StackMap stack:
aload 4
ifnull 13
9: aload 0
aload 0
getfield com.sun.tools.jdeps.ClassFileReader$JarFileReader.jarfile:Ljava/util/jar/JarFile;
aload 4
invokevirtual com.sun.tools.jdeps.ClassFileReader$JarFileReader.readClassFile:(Ljava/util/jar/JarFile;Ljava/util/jar/JarEntry;)Lcom/sun/tools/classfile/ClassFile;
areturn
end local 4 end local 3 end local 2 10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.ClassFileReader$JarFileReader.jarfile:Ljava/util/jar/JarFile;
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.util.jar.JarFile.getJarEntry:(Ljava/lang/String;)Ljava/util/jar/JarEntry;
astore 2
start local 2 11: aload 2
ifnull 13
12: aload 0
aload 0
getfield com.sun.tools.jdeps.ClassFileReader$JarFileReader.jarfile:Ljava/util/jar/JarFile;
aload 2
invokevirtual com.sun.tools.jdeps.ClassFileReader$JarFileReader.readClassFile:(Ljava/util/jar/JarFile;Ljava/util/jar/JarEntry;)Lcom/sun/tools/classfile/ClassFile;
areturn
end local 2 13: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/jdeps/ClassFileReader$JarFileReader;
0 14 1 name Ljava/lang/String;
2 10 2 i I
3 10 3 entryName Ljava/lang/String;
4 10 4 e Ljava/util/jar/JarEntry;
11 13 2 e Ljava/util/jar/JarEntry;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
name
protected com.sun.tools.classfile.ClassFile readClassFile(java.util.jar.JarFile, java.util.jar.JarEntry);
descriptor: (Ljava/util/jar/JarFile;Ljava/util/jar/JarEntry;)Lcom/sun/tools/classfile/ClassFile;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
aconst_null
astore 4
1: aload 1
aload 2
invokevirtual java.util.jar.JarFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
astore 5
start local 5 2: aload 5
invokestatic com.sun.tools.classfile.ClassFile.read:(Ljava/io/InputStream;)Lcom/sun/tools/classfile/ClassFile;
astore 6
start local 6 3: aload 1
invokevirtual java.util.jar.JarFile.isMultiRelease:()Z
ifeq 5
4: aload 1
aload 2
aload 6
invokestatic com.sun.tools.jdeps.VersionHelper.add:(Ljava/util/jar/JarFile;Ljava/util/jar/JarEntry;Lcom/sun/tools/classfile/ClassFile;)V
5: StackMap locals: com.sun.tools.jdeps.ClassFileReader$JarFileReader java.util.jar.JarFile java.util.jar.JarEntry java.lang.Throwable java.lang.Throwable java.io.InputStream com.sun.tools.classfile.ClassFile
StackMap stack:
aload 6
6: aload 5
ifnull 7
aload 5
invokevirtual java.io.InputStream.close:()V
7: StackMap locals:
StackMap stack: com.sun.tools.classfile.ClassFile
areturn
end local 6 StackMap locals: com.sun.tools.jdeps.ClassFileReader$JarFileReader java.util.jar.JarFile java.util.jar.JarEntry java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: java.lang.Throwable
8: astore 3
9: aload 5
ifnull 10
aload 5
invokevirtual java.io.InputStream.close:()V
end local 5 StackMap locals:
StackMap stack:
10: aload 3
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
11: astore 4
aload 3
ifnonnull 12
aload 4
astore 3
goto 13
StackMap locals:
StackMap stack:
12: aload 3
aload 4
if_acmpeq 13
aload 3
aload 4
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
13: aload 3
athrow
StackMap locals: com.sun.tools.jdeps.ClassFileReader$JarFileReader java.util.jar.JarFile java.util.jar.JarEntry
StackMap stack: com.sun.tools.classfile.ConstantPoolException
14: astore 3
start local 3 15: new com.sun.tools.classfile.Dependencies$ClassFileError
dup
aload 3
invokespecial com.sun.tools.classfile.Dependencies$ClassFileError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/tools/jdeps/ClassFileReader$JarFileReader;
0 16 1 jarfile Ljava/util/jar/JarFile;
0 16 2 e Ljava/util/jar/JarEntry;
2 10 5 is Ljava/io/InputStream;
3 8 6 cf Lcom/sun/tools/classfile/ClassFile;
15 16 3 ex Lcom/sun/tools/classfile/ConstantPoolException;
Exception table:
from to target type
2 6 8 any
1 7 11 any
8 11 11 any
0 7 14 Class com.sun.tools.classfile.ConstantPoolException
8 14 14 Class com.sun.tools.classfile.ConstantPoolException
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
jarfile
e
public java.lang.Iterable<com.sun.tools.classfile.ClassFile> getClassFiles();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new com.sun.tools.jdeps.ClassFileReader$JarFileIterator
dup
aload 0
aload 0
aload 0
getfield com.sun.tools.jdeps.ClassFileReader$JarFileReader.jarfile:Ljava/util/jar/JarFile;
invokespecial com.sun.tools.jdeps.ClassFileReader$JarFileIterator.<init>:(Lcom/sun/tools/jdeps/ClassFileReader;Lcom/sun/tools/jdeps/ClassFileReader$JarFileReader;Ljava/util/jar/JarFile;)V
astore 1
start local 1 1: aload 1
invokedynamic iterator(Ljava/util/Iterator;)Ljava/lang/Iterable;
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/util/Iterator;
com/sun/tools/jdeps/ClassFileReader$JarFileReader.lambda$2(Ljava/util/Iterator;)Ljava/util/Iterator; (6)
()Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/ClassFileReader$JarFileReader;
1 2 1 iter Ljava/util/Iterator<Lcom/sun/tools/classfile/ClassFile;>;
Exceptions:
throws java.io.IOException
Signature: ()Ljava/lang/Iterable<Lcom/sun/tools/classfile/ClassFile;>;
private static boolean lambda$1(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc ".class"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 n Ljava/lang/String;
private static java.util.Iterator lambda$2(java.util.Iterator);
descriptor: (Ljava/util/Iterator;)Ljava/util/Iterator;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "ClassFileReader.java"
NestHost: com.sun.tools.jdeps.ClassFileReader
InnerClasses:
public ClassFileError = com.sun.tools.classfile.Dependencies$ClassFileError of com.sun.tools.classfile.Dependencies
JarFileIterator = com.sun.tools.jdeps.ClassFileReader$JarFileIterator of com.sun.tools.jdeps.ClassFileReader
JarFileReader = com.sun.tools.jdeps.ClassFileReader$JarFileReader of com.sun.tools.jdeps.ClassFileReader
public final Version = java.lang.Runtime$Version of java.lang.Runtime
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles