final class jdk.internal.jrtfs.JrtDirectoryStream implements java.nio.file.DirectoryStream<java.nio.file.Path>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.internal.jrtfs.JrtDirectoryStream
super_class: java.lang.Object
{
private final jdk.internal.jrtfs.JrtPath dir;
descriptor: Ljdk/internal/jrtfs/JrtPath;
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 boolean isClosed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.Iterator<java.nio.file.Path> itr;
descriptor: Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Iterator<Ljava/nio/file/Path;>;
void <init>(jdk.internal.jrtfs.JrtPath, java.nio.file.DirectoryStream$Filter<? super java.nio.file.Path>);
descriptor: (Ljdk/internal/jrtfs/JrtPath;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
putfield jdk.internal.jrtfs.JrtDirectoryStream.dir:Ljdk/internal/jrtfs/JrtPath;
2: aload 1
getfield jdk.internal.jrtfs.JrtPath.jrtfs:Ljdk/internal/jrtfs/JrtFileSystem;
aload 1
iconst_1
invokevirtual jdk.internal.jrtfs.JrtFileSystem.isDirectory:(Ljdk/internal/jrtfs/JrtPath;Z)Z
ifne 4
3: new java.nio.file.NotDirectoryException
dup
aload 1
invokevirtual jdk.internal.jrtfs.JrtPath.toString:()Ljava/lang/String;
invokespecial java.nio.file.NotDirectoryException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: jdk.internal.jrtfs.JrtDirectoryStream jdk.internal.jrtfs.JrtPath java.nio.file.DirectoryStream$Filter
StackMap stack:
aload 0
aload 2
putfield jdk.internal.jrtfs.JrtDirectoryStream.filter:Ljava/nio/file/DirectoryStream$Filter;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/internal/jrtfs/JrtDirectoryStream;
0 6 1 dir Ljdk/internal/jrtfs/JrtPath;
0 6 2 filter Ljava/nio/file/DirectoryStream$Filter<-Ljava/nio/file/Path;>;
Exceptions:
throws java.io.IOException
Signature: (Ljdk/internal/jrtfs/JrtPath;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.internal.jrtfs.JrtDirectoryStream.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.internal.jrtfs.JrtDirectoryStream.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.internal.jrtfs.JrtDirectoryStream.dir:Ljdk/internal/jrtfs/JrtPath;
getfield jdk.internal.jrtfs.JrtPath.jrtfs:Ljdk/internal/jrtfs/JrtFileSystem;
aload 0
getfield jdk.internal.jrtfs.JrtDirectoryStream.dir:Ljdk/internal/jrtfs/JrtPath;
aload 0
getfield jdk.internal.jrtfs.JrtDirectoryStream.filter:Ljava/nio/file/DirectoryStream$Filter;
invokevirtual jdk.internal.jrtfs.JrtFileSystem.iteratorOf:(Ljdk/internal/jrtfs/JrtPath;Ljava/nio/file/DirectoryStream$Filter;)Ljava/util/Iterator;
putfield jdk.internal.jrtfs.JrtDirectoryStream.itr:Ljava/util/Iterator;
5: goto 8
StackMap locals:
StackMap stack: java.io.IOException
6: astore 1
start local 1 7: new java.lang.IllegalStateException
dup
aload 1
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 8: StackMap locals:
StackMap stack:
new jdk.internal.jrtfs.JrtDirectoryStream$1
dup
aload 0
invokespecial jdk.internal.jrtfs.JrtDirectoryStream$1.<init>:(Ljdk/internal/jrtfs/JrtDirectoryStream;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/jrtfs/JrtDirectoryStream;
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.internal.jrtfs.JrtDirectoryStream.isClosed:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/internal/jrtfs/JrtDirectoryStream;
Exceptions:
throws java.io.IOException
}
Signature: Ljava/lang/Object;Ljava/nio/file/DirectoryStream<Ljava/nio/file/Path;>;
SourceFile: "JrtDirectoryStream.java"
NestMembers:
jdk.internal.jrtfs.JrtDirectoryStream$1
InnerClasses:
public abstract Filter = java.nio.file.DirectoryStream$Filter of java.nio.file.DirectoryStream
jdk.internal.jrtfs.JrtDirectoryStream$1