class jdk.jshell.MemoryFileManager$1 implements java.util.Iterator<javax.tools.JavaFileObject>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.MemoryFileManager$1
super_class: java.lang.Object
{
boolean stdDone;
descriptor: Z
flags: (0x0000)
java.util.Iterator<? extends javax.tools.JavaFileObject> it;
descriptor: Ljava/util/Iterator;
flags: (0x0000)
Signature: Ljava/util/Iterator<+Ljavax/tools/JavaFileObject;>;
final jdk.jshell.MemoryFileManager this$0;
descriptor: Ljdk/jshell/MemoryFileManager;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.lang.Iterable val$stdList;
descriptor: Ljava/lang/Iterable;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.jshell.MemoryFileManager, java.lang.Iterable);
descriptor: (Ljdk/jshell/MemoryFileManager;Ljava/lang/Iterable;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield jdk.jshell.MemoryFileManager$1.this$0:Ljdk/jshell/MemoryFileManager;
aload 0
aload 2
putfield jdk.jshell.MemoryFileManager$1.val$stdList:Ljava/lang/Iterable;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield jdk.jshell.MemoryFileManager$1.stdDone:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/MemoryFileManager$1;
MethodParameters:
Name Flags
this$0 final
val$stdList 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 jdk.jshell.MemoryFileManager$1.it:Ljava/util/Iterator;
ifnonnull 2
1: aload 0
aload 0
getfield jdk.jshell.MemoryFileManager$1.val$stdList:Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
putfield jdk.jshell.MemoryFileManager$1.it:Ljava/util/Iterator;
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jshell.MemoryFileManager$1.it:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jshell.MemoryFileManager$1.stdDone:Z
ifeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield jdk.jshell.MemoryFileManager$1.stdDone:Z
7: aload 0
aload 0
getfield jdk.jshell.MemoryFileManager$1.this$0:Ljdk/jshell/MemoryFileManager;
invokevirtual jdk.jshell.MemoryFileManager.generatedClasses:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
putfield jdk.jshell.MemoryFileManager$1.it:Ljava/util/Iterator;
8: aload 0
getfield jdk.jshell.MemoryFileManager$1.it:Ljava/util/Iterator;
invokeinterface java.util.Iterator.hasNext:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/jshell/MemoryFileManager$1;
public javax.tools.JavaFileObject next();
descriptor: ()Ljavax/tools/JavaFileObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jshell.MemoryFileManager$1.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 jdk.jshell.MemoryFileManager$1.it:Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.tools.JavaFileObject
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/MemoryFileManager$1;
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 jdk.jshell.MemoryFileManager$1.next:()Ljavax/tools/JavaFileObject;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Ljavax/tools/JavaFileObject;>;
SourceFile: "MemoryFileManager.java"
EnclosingMethod: jdk.jshell.MemoryFileManager.lambda$0:(Ljava/lang/Iterable;)Ljava/util/Iterator;
NestHost: jdk.jshell.MemoryFileManager
InnerClasses:
jdk.jshell.MemoryFileManager$1
OutputMemoryJavaFileObject = jdk.jshell.MemoryFileManager$OutputMemoryJavaFileObject of jdk.jshell.MemoryFileManager