class jdk.nio.zipfs.ZipDirectoryStream implements java.nio.file.DirectoryStream<java.nio.file.Path>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.nio.zipfs.ZipDirectoryStream
super_class: java.lang.Object
{
private final jdk.nio.zipfs.ZipFileSystem zipfs;
descriptor: Ljdk/nio/zipfs/ZipFileSystem;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.nio.zipfs.ZipPath dir;
descriptor: Ljdk/nio/zipfs/ZipPath;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.nio.file.DirectoryStream$Filter<? super java.nio.file.Path> filter;
descriptor: Ljava/nio/file/DirectoryStream$Filter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/nio/file/DirectoryStream$Filter<-Ljava/nio/file/Path;>;
private volatile boolean isClosed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.util.Iterator<java.nio.file.Path> itr;
descriptor: Ljava/util/Iterator;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
Signature: Ljava/util/Iterator<Ljava/nio/file/Path;>;
void <init>(jdk.nio.zipfs.ZipPath, java.nio.file.DirectoryStream$Filter<? super java.nio.file.Path>);
descriptor: (Ljdk/nio/zipfs/ZipPath;Ljava/nio/file/DirectoryStream$Filter;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual jdk.nio.zipfs.ZipPath.getFileSystem:()Ljdk/nio/zipfs/ZipFileSystem;
putfield jdk.nio.zipfs.ZipDirectoryStream.zipfs:Ljdk/nio/zipfs/ZipFileSystem;
2: aload 0
aload 1
putfield jdk.nio.zipfs.ZipDirectoryStream.dir:Ljdk/nio/zipfs/ZipPath;
3: aload 0
aload 2
putfield jdk.nio.zipfs.ZipDirectoryStream.filter:Ljava/nio/file/DirectoryStream$Filter;
4: aload 0
getfield jdk.nio.zipfs.ZipDirectoryStream.zipfs:Ljdk/nio/zipfs/ZipFileSystem;
aload 1
invokevirtual jdk.nio.zipfs.ZipPath.getResolvedPath:()[B
invokevirtual jdk.nio.zipfs.ZipFileSystem.isDirectory:([B)Z
ifne 6
5: new java.nio.file.NotDirectoryException
dup
aload 1
invokevirtual jdk.nio.zipfs.ZipPath.toString:()Ljava/lang/String;
invokespecial java.nio.file.NotDirectoryException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: jdk.nio.zipfs.ZipDirectoryStream jdk.nio.zipfs.ZipPath java.nio.file.DirectoryStream$Filter
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/nio/zipfs/ZipDirectoryStream;
0 7 1 dir Ljdk/nio/zipfs/ZipPath;
0 7 2 filter Ljava/nio/file/DirectoryStream$Filter<-Ljava/nio/file/Path;>;
Exceptions:
throws java.io.IOException
Signature: (Ljdk/nio/zipfs/ZipPath;Ljava/nio/file/DirectoryStream$Filter<-Ljava/nio/file/Path;>;)V
MethodParameters:
Name Flags
dir
filter
public synchronized java.util.Iterator<java.nio.file.Path> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.nio.zipfs.ZipDirectoryStream.isClosed:Z
ifeq 2
1: new java.nio.file.ClosedDirectoryStreamException
dup
invokespecial java.nio.file.ClosedDirectoryStreamException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.nio.zipfs.ZipDirectoryStream.itr:Ljava/util/Iterator;
ifnull 4
3: new java.lang.IllegalStateException
dup
ldc "Iterator has already been returned"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.nio.zipfs.ZipDirectoryStream.zipfs:Ljdk/nio/zipfs/ZipFileSystem;
aload 0
getfield jdk.nio.zipfs.ZipDirectoryStream.dir:Ljdk/nio/zipfs/ZipPath;
aload 0
getfield jdk.nio.zipfs.ZipDirectoryStream.filter:Ljava/nio/file/DirectoryStream$Filter;
invokevirtual jdk.nio.zipfs.ZipFileSystem.iteratorOf:(Ljdk/nio/zipfs/ZipPath;Ljava/nio/file/DirectoryStream$Filter;)Ljava/util/Iterator;
putfield jdk.nio.zipfs.ZipDirectoryStream.itr:Ljava/util/Iterator;
5: goto 8
StackMap locals:
StackMap stack: java.io.IOException
6: astore 1
start local 1 7: new java.nio.file.DirectoryIteratorException
dup
aload 1
invokespecial java.nio.file.DirectoryIteratorException.<init>:(Ljava/io/IOException;)V
athrow
end local 1 8: StackMap locals:
StackMap stack:
new jdk.nio.zipfs.ZipDirectoryStream$1
dup
aload 0
invokespecial jdk.nio.zipfs.ZipDirectoryStream$1.<init>:(Ljdk/nio/zipfs/ZipDirectoryStream;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/nio/zipfs/ZipDirectoryStream;
7 8 1 e Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
Signature: ()Ljava/util/Iterator<Ljava/nio/file/Path;>;
public synchronized void close();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield jdk.nio.zipfs.ZipDirectoryStream.isClosed:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/nio/zipfs/ZipDirectoryStream;
Exceptions:
throws java.io.IOException
}
Signature: Ljava/lang/Object;Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
SourceFile: "ZipDirectoryStream.java"
NestMembers:
jdk.nio.zipfs.ZipDirectoryStream$1
InnerClasses:
public abstract Filter = java.nio.file.DirectoryStream$Filter of java.nio.file.DirectoryStream
jdk.nio.zipfs.ZipDirectoryStream$1