class jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator implements java.util.Spliterator<java.lang.String>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator
super_class: java.lang.Object
{
final java.lang.String moduleRoot;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
final java.util.Deque<jdk.internal.jimage.ImageReader$Node> stack;
descriptor: Ljava/util/Deque;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Deque<Ljdk/internal/jimage/ImageReader$Node;>;
java.util.Iterator<jdk.internal.jimage.ImageReader$Node> iterator;
descriptor: Ljava/util/Iterator;
flags: (0x0000)
Signature: Ljava/util/Iterator<Ljdk/internal/jimage/ImageReader$Node;>;
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljdk/internal/module/SystemModuleFinders;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.lang.StringBuilder
dup
ldc "/modules/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.moduleRoot:Ljava/lang/String;
2: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.stack:Ljava/util/Deque;
3: invokestatic jdk.internal.module.SystemModuleFinders$SystemImage.reader:()Ljdk/internal/jimage/ImageReader;
aload 0
getfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.moduleRoot:Ljava/lang/String;
invokevirtual jdk.internal.jimage.ImageReader.findNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
astore 2
start local 2 4: aload 2
ifnull 5
aload 2
invokevirtual jdk.internal.jimage.ImageReader$Node.isDirectory:()Z
ifne 6
5: StackMap locals: jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator java.lang.String jdk.internal.jimage.ImageReader$Node
StackMap stack:
new java.io.IOException
dup
new java.lang.StringBuilder
dup
aload 0
getfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.moduleRoot:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " not a directory"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.stack:Ljava/util/Deque;
aload 2
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
7: aload 0
invokestatic java.util.Collections.emptyIterator:()Ljava/util/Iterator;
putfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.iterator:Ljava/util/Iterator;
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/internal/module/SystemModuleFinders$ModuleContentSpliterator;
0 9 1 module Ljava/lang/String;
4 9 2 dir Ljdk/internal/jimage/ImageReader$Node;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
module
private java.lang.String next();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: goto 9
1: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast jdk.internal.jimage.ImageReader$Node
astore 1
start local 1 2: aload 1
invokevirtual jdk.internal.jimage.ImageReader$Node.getName:()Ljava/lang/String;
astore 2
start local 2 3: aload 1
invokevirtual jdk.internal.jimage.ImageReader$Node.isDirectory:()Z
ifeq 8
4: invokestatic jdk.internal.module.SystemModuleFinders$SystemImage.reader:()Ljdk/internal/jimage/ImageReader;
aload 2
invokevirtual jdk.internal.jimage.ImageReader.findNode:(Ljava/lang/String;)Ljdk/internal/jimage/ImageReader$Node;
astore 3
start local 3 5: getstatic jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.$assertionsDisabled:Z
ifne 6
aload 3
invokevirtual jdk.internal.jimage.ImageReader$Node.isDirectory:()Z
ifne 6
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
6: StackMap locals: jdk.internal.jimage.ImageReader$Node java.lang.String jdk.internal.jimage.ImageReader$Node
StackMap stack:
aload 0
getfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.stack:Ljava/util/Deque;
aload 3
invokeinterface java.util.Deque.push:(Ljava/lang/Object;)V
end local 3 7: goto 9
8: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.moduleRoot:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
end local 2 end local 1 9: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.iterator:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
10: aload 0
getfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.stack:Ljava/util/Deque;
invokeinterface java.util.Deque.isEmpty:()Z
ifeq 12
11: aconst_null
areturn
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.stack:Ljava/util/Deque;
invokeinterface java.util.Deque.poll:()Ljava/lang/Object;
checkcast jdk.internal.jimage.ImageReader$Node
astore 1
start local 1 13: getstatic jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.$assertionsDisabled:Z
ifne 14
aload 1
invokevirtual jdk.internal.jimage.ImageReader$Node.isDirectory:()Z
ifne 14
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
14: StackMap locals: jdk.internal.jimage.ImageReader$Node
StackMap stack:
aload 0
aload 1
invokevirtual jdk.internal.jimage.ImageReader$Node.getChildren:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
putfield jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.iterator:Ljava/util/Iterator;
end local 1 15: goto 9
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/internal/module/SystemModuleFinders$ModuleContentSpliterator;
2 9 1 node Ljdk/internal/jimage/ImageReader$Node;
3 9 2 name Ljava/lang/String;
5 7 3 dir Ljdk/internal/jimage/ImageReader$Node;
13 15 1 dir Ljdk/internal/jimage/ImageReader$Node;
Exceptions:
throws java.io.IOException
public boolean tryAdvance(java.util.function.Consumer<? super java.lang.String>);
descriptor: (Ljava/util/function/Consumer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator.next:()Ljava/lang/String;
astore 2
start local 2 1: goto 4
end local 2 StackMap locals:
StackMap stack: java.io.IOException
2: astore 3
start local 3 3: new java.io.UncheckedIOException
dup
aload 3
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 3 start local 2 4: StackMap locals: java.lang.String
StackMap stack:
aload 2
ifnull 7
5: aload 1
aload 2
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/internal/module/SystemModuleFinders$ModuleContentSpliterator;
0 8 1 action Ljava/util/function/Consumer<-Ljava/lang/String;>;
1 2 2 next Ljava/lang/String;
4 8 2 next Ljava/lang/String;
3 4 3 ioe Ljava/io/IOException;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Signature: (Ljava/util/function/Consumer<-Ljava/lang/String;>;)Z
MethodParameters:
Name Flags
action
public java.util.Spliterator<java.lang.String> trySplit();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/SystemModuleFinders$ModuleContentSpliterator;
Signature: ()Ljava/util/Spliterator<Ljava/lang/String;>;
public int characteristics();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: sipush 1281
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/SystemModuleFinders$ModuleContentSpliterator;
public long estimateSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc 9223372036854775807
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/module/SystemModuleFinders$ModuleContentSpliterator;
}
Signature: Ljava/lang/Object;Ljava/util/Spliterator<Ljava/lang/String;>;
SourceFile: "SystemModuleFinders.java"
NestHost: jdk.internal.module.SystemModuleFinders
InnerClasses:
public abstract Node = jdk.internal.jimage.ImageReader$Node of jdk.internal.jimage.ImageReader
private ModuleContentSpliterator = jdk.internal.module.SystemModuleFinders$ModuleContentSpliterator of jdk.internal.module.SystemModuleFinders
private SystemImage = jdk.internal.module.SystemModuleFinders$SystemImage of jdk.internal.module.SystemModuleFinders