class jdk.jshell.SourceCodeAnalysisImpl$3 implements java.util.Iterator<com.sun.source.tree.Scope>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.SourceCodeAnalysisImpl$3
super_class: java.lang.Object
{
private com.sun.source.tree.Scope currentScope;
descriptor: Lcom/sun/source/tree/Scope;
flags: (0x0002) ACC_PRIVATE
final jdk.jshell.SourceCodeAnalysisImpl this$0;
descriptor: Ljdk/jshell/SourceCodeAnalysisImpl;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(jdk.jshell.SourceCodeAnalysisImpl, com.sun.source.tree.Scope);
descriptor: (Ljdk/jshell/SourceCodeAnalysisImpl;Lcom/sun/source/tree/Scope;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 0: aload 0
aload 1
putfield jdk.jshell.SourceCodeAnalysisImpl$3.this$0:Ljdk/jshell/SourceCodeAnalysisImpl;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield jdk.jshell.SourceCodeAnalysisImpl$3.currentScope:Lcom/sun/source/tree/Scope;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/jshell/SourceCodeAnalysisImpl$3;
MethodParameters:
Name Flags
this$0 final
val$scope final
public boolean hasNext();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.SourceCodeAnalysisImpl$3.currentScope:Lcom/sun/source/tree/Scope;
ifnull 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 Ljdk/jshell/SourceCodeAnalysisImpl$3;
public com.sun.source.tree.Scope next();
descriptor: ()Lcom/sun/source/tree/Scope;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jshell.SourceCodeAnalysisImpl$3.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.SourceCodeAnalysisImpl$3.currentScope:Lcom/sun/source/tree/Scope;
astore 2
3: aload 0
aload 0
getfield jdk.jshell.SourceCodeAnalysisImpl$3.currentScope:Lcom/sun/source/tree/Scope;
invokeinterface com.sun.source.tree.Scope.getEnclosingScope:()Lcom/sun/source/tree/Scope;
putfield jdk.jshell.SourceCodeAnalysisImpl$3.currentScope:Lcom/sun/source/tree/Scope;
4: aload 2
areturn
5: StackMap locals:
StackMap stack: java.lang.Throwable
astore 1
6: aload 0
aload 0
getfield jdk.jshell.SourceCodeAnalysisImpl$3.currentScope:Lcom/sun/source/tree/Scope;
invokeinterface com.sun.source.tree.Scope.getEnclosingScope:()Lcom/sun/source/tree/Scope;
putfield jdk.jshell.SourceCodeAnalysisImpl$3.currentScope:Lcom/sun/source/tree/Scope;
7: aload 1
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jshell/SourceCodeAnalysisImpl$3;
Exception table:
from to target type
2 3 5 any
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.SourceCodeAnalysisImpl$3.next:()Lcom/sun/source/tree/Scope;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Iterator<Lcom/sun/source/tree/Scope;>;
SourceFile: "SourceCodeAnalysisImpl.java"
EnclosingMethod: jdk.jshell.SourceCodeAnalysisImpl.lambda$49:(Lcom/sun/source/tree/Scope;)Ljava/util/Iterator;
NestHost: jdk.jshell.SourceCodeAnalysisImpl
InnerClasses:
jdk.jshell.SourceCodeAnalysisImpl$3