class com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator implements java.util.Iterator<com.sun.tools.classfile.ClassFile>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator
super_class: java.lang.Object
{
private final java.util.List<java.nio.file.Path> entries;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/nio/file/Path;>;
private int index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
final com.sun.tools.jdeps.ClassFileReader$DirectoryReader this$1;
descriptor: Lcom/sun/tools/jdeps/ClassFileReader$DirectoryReader;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(com.sun.tools.jdeps.ClassFileReader$DirectoryReader);
descriptor: (Lcom/sun/tools/jdeps/ClassFileReader$DirectoryReader;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=2
start local 0 0: aload 0
aload 1
putfield com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.this$1:Lcom/sun/tools/jdeps/ClassFileReader$DirectoryReader;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.index:I
2: aconst_null
astore 2
start local 2 3: aconst_null
astore 3
aconst_null
astore 4
4: aload 1
getfield com.sun.tools.jdeps.ClassFileReader$DirectoryReader.path: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;
astore 5
start local 5 5: aload 5
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.isClass(Ljava/nio/file/Path;)Z (6)
(Ljava/nio/file/Path;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.List
7: astore 2
8: aload 5
ifnull 14
aload 5
invokeinterface java.util.stream.Stream.close:()V
goto 14
StackMap locals: com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator com.sun.tools.jdeps.ClassFileReader$DirectoryReader java.util.List java.lang.Throwable java.lang.Throwable java.util.stream.Stream
StackMap stack: java.lang.Throwable
9: astore 3
aload 5
ifnull 10
aload 5
invokeinterface java.util.stream.Stream.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
14: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.entries:Ljava/util/List;
15: aload 0
iconst_0
putfield com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.index:I
16: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/tools/jdeps/ClassFileReader$DirectoryReader$DirectoryIterator;
3 17 2 paths Ljava/util/List<Ljava/nio/file/Path;>;
5 10 5 stream Ljava/util/stream/Stream<Ljava/nio/file/Path;>;
Exception table:
from to target type
5 8 9 any
4 11 11 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
this$0 final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.index:I
aload 0
getfield com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.entries:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/jdeps/ClassFileReader$DirectoryReader$DirectoryIterator;
public com.sun.tools.classfile.ClassFile next();
descriptor: ()Lcom/sun/tools/classfile/ClassFile;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.hasNext:()Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.entries:Ljava/util/List;
aload 0
dup
getfield com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.index:I
dup_x1
iconst_1
iadd
putfield com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.index:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.nio.file.Path
astore 1
start local 1 3: aload 0
getfield com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.this$1:Lcom/sun/tools/jdeps/ClassFileReader$DirectoryReader;
aload 1
invokevirtual com.sun.tools.jdeps.ClassFileReader$DirectoryReader.readClassFile:(Ljava/nio/file/Path;)Lcom/sun/tools/classfile/ClassFile;
4: areturn
5: StackMap locals: com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator java.nio.file.Path
StackMap stack: java.io.IOException
astore 2
start local 2 6: new com.sun.tools.classfile.Dependencies$ClassFileError
dup
aload 2
invokespecial com.sun.tools.classfile.Dependencies$ClassFileError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/tools/jdeps/ClassFileReader$DirectoryReader$DirectoryIterator;
3 7 1 path Ljava/nio/file/Path;
6 7 2 e Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.io.IOException
public void remove();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Not supported yet."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/jdeps/ClassFileReader$DirectoryReader$DirectoryIterator;
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator.next:()Lcom/sun/tools/classfile/ClassFile;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Lcom/sun/tools/classfile/ClassFile;>;
SourceFile: "ClassFileReader.java"
NestHost: com.sun.tools.jdeps.ClassFileReader
InnerClasses:
public ClassFileError = com.sun.tools.classfile.Dependencies$ClassFileError of com.sun.tools.classfile.Dependencies
private DirectoryReader = com.sun.tools.jdeps.ClassFileReader$DirectoryReader of com.sun.tools.jdeps.ClassFileReader
DirectoryIterator = com.sun.tools.jdeps.ClassFileReader$DirectoryReader$DirectoryIterator of com.sun.tools.jdeps.ClassFileReader$DirectoryReader
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles