final class jdk.jshell.TaskFactory$TaskListenerImpl implements com.sun.source.util.TaskListener
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.jshell.TaskFactory$TaskListenerImpl
super_class: java.lang.Object
{
private final com.sun.tools.javac.util.Context context;
descriptor: Lcom/sun/tools/javac/util/Context;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final jdk.jshell.JShell state;
descriptor: Ljdk/jshell/JShell;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<com.sun.tools.javac.code.Symbol$VarSymbol, com.sun.tools.javac.code.Type> var2OriginalType;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lcom/sun/tools/javac/code/Symbol$VarSymbol;Lcom/sun/tools/javac/code/Type;>;
private boolean variablesSet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>(com.sun.tools.javac.util.Context, jdk.jshell.JShell);
descriptor: (Lcom/sun/tools/javac/util/Context;Ljdk/jshell/JShell;)V
flags: (0x0001) ACC_PUBLIC
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
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield jdk.jshell.TaskFactory$TaskListenerImpl.var2OriginalType:Ljava/util/Map;
2: aload 0
iconst_0
putfield jdk.jshell.TaskFactory$TaskListenerImpl.variablesSet:Z
3: aload 0
aload 1
putfield jdk.jshell.TaskFactory$TaskListenerImpl.context:Lcom/sun/tools/javac/util/Context;
4: aload 0
aload 2
putfield jdk.jshell.TaskFactory$TaskListenerImpl.state:Ljdk/jshell/JShell;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jshell/TaskFactory$TaskListenerImpl;
0 6 1 context Lcom/sun/tools/javac/util/Context;
0 6 2 state Ljdk/jshell/JShell;
MethodParameters:
Name Flags
context
state
public void started(com.sun.source.util.TaskEvent);
descriptor: (Lcom/sun/source/util/TaskEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=9, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.source.util.TaskEvent.getKind:()Lcom/sun/source/util/TaskEvent$Kind;
getstatic com.sun.source.util.TaskEvent$Kind.GENERATE:Lcom/sun/source/util/TaskEvent$Kind;
if_acmpeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.sun.source.util.TaskEvent.getCompilationUnit:()Lcom/sun/source/tree/CompilationUnitTree;
invokeinterface com.sun.source.tree.CompilationUnitTree.getTypeDecls:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 14
StackMap locals: jdk.jshell.TaskFactory$TaskListenerImpl com.sun.source.util.TaskEvent top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.source.tree.Tree
astore 2
start local 2 4: aload 2
checkcast com.sun.source.tree.ClassTree
astore 4
start local 4 5: aload 4
invokeinterface com.sun.source.tree.ClassTree.getMembers:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 13
StackMap locals: jdk.jshell.TaskFactory$TaskListenerImpl com.sun.source.util.TaskEvent com.sun.source.tree.Tree java.util.Iterator com.sun.source.tree.ClassTree top java.util.Iterator
StackMap stack:
6: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.source.tree.Tree
astore 5
start local 5 7: aload 5
invokeinterface com.sun.source.tree.Tree.getKind:()Lcom/sun/source/tree/Tree$Kind;
getstatic com.sun.source.tree.Tree$Kind.VARIABLE:Lcom/sun/source/tree/Tree$Kind;
if_acmpeq 9
8: goto 13
9: StackMap locals: jdk.jshell.TaskFactory$TaskListenerImpl com.sun.source.util.TaskEvent com.sun.source.tree.Tree java.util.Iterator com.sun.source.tree.ClassTree com.sun.source.tree.Tree java.util.Iterator
StackMap stack:
aload 5
checkcast com.sun.tools.javac.tree.JCTree$JCVariableDecl
getfield com.sun.tools.javac.tree.JCTree$JCVariableDecl.sym:Lcom/sun/tools/javac/code/Symbol$VarSymbol;
astore 7
start local 7 10: aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.var2OriginalType:Ljava/util/Map;
aload 7
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.tools.javac.code.Type
astore 8
start local 8 11: aload 8
ifnull 13
12: aload 7
aload 8
putfield com.sun.tools.javac.code.Symbol$VarSymbol.type:Lcom/sun/tools/javac/code/Type;
end local 8 end local 7 end local 5 13: StackMap locals: jdk.jshell.TaskFactory$TaskListenerImpl com.sun.source.util.TaskEvent com.sun.source.tree.Tree java.util.Iterator com.sun.source.tree.ClassTree top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 4 end local 2 14: StackMap locals: jdk.jshell.TaskFactory$TaskListenerImpl com.sun.source.util.TaskEvent top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/jshell/TaskFactory$TaskListenerImpl;
0 16 1 e Lcom/sun/source/util/TaskEvent;
4 14 2 clazz Lcom/sun/source/tree/Tree;
5 14 4 ct Lcom/sun/source/tree/ClassTree;
7 13 5 member Lcom/sun/source/tree/Tree;
10 13 7 vsym Lcom/sun/tools/javac/code/Symbol$VarSymbol;
11 13 8 original Lcom/sun/tools/javac/code/Type;
MethodParameters:
Name Flags
e
public void finished(com.sun.source.util.TaskEvent);
descriptor: (Lcom/sun/source/util/TaskEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.source.util.TaskEvent.getKind:()Lcom/sun/source/util/TaskEvent$Kind;
getstatic com.sun.source.util.TaskEvent$Kind.ENTER:Lcom/sun/source/util/TaskEvent$Kind;
if_acmpne 1
aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.variablesSet:Z
ifeq 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.state:Ljdk/jshell/JShell;
getfield jdk.jshell.JShell.maps:Ljdk/jshell/SnippetMaps;
3: invokevirtual jdk.jshell.SnippetMaps.snippetList:()Ljava/util/List;
4: invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
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
jdk/jshell/TaskFactory$TaskListenerImpl.lambda$0(Ljdk/jshell/Snippet;)Z (6)
(Ljdk/jshell/Snippet;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
6: 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
jdk/jshell/TaskFactory$TaskListenerImpl.lambda$1(Ljdk/jshell/Snippet;)Z (6)
(Ljdk/jshell/Snippet;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
7: 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
jdk/jshell/TaskFactory$TaskListenerImpl.lambda$2(Ljdk/jshell/Snippet;)Z (6)
(Ljdk/jshell/Snippet;)Z
invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
8: aload 0
invokedynamic accept(Ljdk/jshell/TaskFactory$TaskListenerImpl;)Ljava/util/function/Consumer;
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;)V
jdk/jshell/TaskFactory$TaskListenerImpl.lambda$3(Ljdk/jshell/Snippet;)V (7)
(Ljdk/jshell/Snippet;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
9: aload 0
iconst_1
putfield jdk.jshell.TaskFactory$TaskListenerImpl.variablesSet:Z
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/jshell/TaskFactory$TaskListenerImpl;
0 11 1 e Lcom/sun/source/util/TaskEvent;
MethodParameters:
Name Flags
e
private void setVariableType(jdk.jshell.VarSnippet);
descriptor: (Ljdk/jshell/VarSnippet;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=19, args_size=2
start local 0 start local 1 0: aload 1
getfield jdk.jshell.VarSnippet.fullTypeName:Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: return
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.code.Symtab.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/code/Symtab;
astore 3
start local 3 4: aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.util.Names.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Names;
astore 4
start local 4 5: aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.util.Log.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/util/Log;
astore 5
start local 5 6: aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.parser.ParserFactory.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/parser/ParserFactory;
astore 6
start local 6 7: aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.comp.Attr.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Attr;
astore 7
start local 7 8: aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.comp.Enter.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Enter;
astore 8
start local 8 9: aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.context:Lcom/sun/tools/javac/util/Context;
invokestatic com.sun.tools.javac.comp.Resolve.instance:(Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/comp/Resolve;
checkcast jdk.jshell.TaskFactory$DisableAccessibilityResolve
astore 9
start local 9 10: aload 3
aload 3
getfield com.sun.tools.javac.code.Symtab.unnamedModule:Lcom/sun/tools/javac/code/Symbol$ModuleSymbol;
aload 4
aload 1
invokevirtual jdk.jshell.VarSnippet.classFullName:()Ljava/lang/String;
invokevirtual com.sun.tools.javac.util.Names.fromString:(Ljava/lang/String;)Lcom/sun/tools/javac/util/Name;
invokevirtual com.sun.tools.javac.code.Symtab.getClass:(Lcom/sun/tools/javac/code/Symbol$ModuleSymbol;Lcom/sun/tools/javac/util/Name;)Lcom/sun/tools/javac/code/Symbol$ClassSymbol;
astore 10
start local 10 11: aload 10
ifnull 12
aload 10
invokevirtual com.sun.tools.javac.code.Symbol$ClassSymbol.isCompleted:()Z
ifne 13
12: StackMap locals: jdk.jshell.TaskFactory$TaskListenerImpl jdk.jshell.VarSnippet java.lang.String com.sun.tools.javac.code.Symtab com.sun.tools.javac.util.Names com.sun.tools.javac.util.Log com.sun.tools.javac.parser.ParserFactory com.sun.tools.javac.comp.Attr com.sun.tools.javac.comp.Enter jdk.jshell.TaskFactory$DisableAccessibilityResolve com.sun.tools.javac.code.Symbol$ClassSymbol
StackMap stack:
return
13: StackMap locals:
StackMap stack:
aload 10
invokevirtual com.sun.tools.javac.code.Symbol$ClassSymbol.members:()Lcom/sun/tools/javac/code/Scope$WriteableScope;
aload 4
aload 1
invokevirtual jdk.jshell.VarSnippet.name:()Ljava/lang/String;
invokevirtual com.sun.tools.javac.util.Names.fromString:(Ljava/lang/String;)Lcom/sun/tools/javac/util/Name;
invokedynamic accepts()Lcom/sun/tools/javac/util/Filter;
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
jdk/jshell/TaskFactory$TaskListenerImpl.lambda$4(Lcom/sun/tools/javac/code/Symbol;)Z (6)
(Lcom/sun/tools/javac/code/Symbol;)Z
invokevirtual com.sun.tools.javac.code.Scope$WriteableScope.findFirst:(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/util/Filter;)Lcom/sun/tools/javac/code/Symbol;
checkcast com.sun.tools.javac.code.Symbol$VarSymbol
astore 11
start local 11 14: aload 11
ifnull 31
aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.var2OriginalType:Ljava/util/Map;
aload 11
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 31
15: aload 5
aconst_null
invokevirtual com.sun.tools.javac.util.Log.useSource:(Ljavax/tools/JavaFileObject;)Ljavax/tools/JavaFileObject;
astore 12
start local 12 16: new com.sun.tools.javac.util.Log$DiscardDiagnosticHandler
dup
aload 5
invokespecial com.sun.tools.javac.util.Log$DiscardDiagnosticHandler.<init>:(Lcom/sun/tools/javac/util/Log;)V
astore 13
start local 13 17: new java.lang.StringBuilder
dup
ldc "("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ")x\u0000"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.toCharArray:()[C
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
iconst_3
iadd
invokestatic java.nio.CharBuffer.wrap:([CII)Ljava/nio/CharBuffer;
astore 14
start local 14 18: aload 6
aload 14
iconst_0
iconst_0
iconst_0
invokevirtual com.sun.tools.javac.parser.ParserFactory.newParser:(Ljava/lang/CharSequence;ZZZ)Lcom/sun/tools/javac/parser/JavacParser;
astore 15
start local 15 19: aload 15
invokeinterface com.sun.tools.javac.parser.Parser.parseExpression:()Lcom/sun/tools/javac/tree/JCTree$JCExpression;
astore 16
start local 16 20: aload 16
getstatic com.sun.tools.javac.tree.JCTree$Tag.TYPECAST:Lcom/sun/tools/javac/tree/JCTree$Tag;
invokevirtual com.sun.tools.javac.tree.JCTree$JCExpression.hasTag:(Lcom/sun/tools/javac/tree/JCTree$Tag;)Z
ifeq 29
21: aload 0
getfield jdk.jshell.TaskFactory$TaskListenerImpl.var2OriginalType:Ljava/util/Map;
aload 11
aload 11
getfield com.sun.tools.javac.code.Symbol$VarSymbol.type:Lcom/sun/tools/javac/code/Type;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
22: aload 16
checkcast com.sun.tools.javac.tree.JCTree$JCTypeCast
astore 17
start local 17 23: aload 9
aload 11
aload 7
aload 17
aload 8
invokedynamic run(Lcom/sun/tools/javac/code/Symbol$VarSymbol;Lcom/sun/tools/javac/comp/Attr;Lcom/sun/tools/javac/tree/JCTree$JCTypeCast;Lcom/sun/tools/javac/comp/Enter;)Ljava/lang/Runnable;
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:
()V
jdk/jshell/TaskFactory$TaskListenerImpl.lambda$5(Lcom/sun/tools/javac/code/Symbol$VarSymbol;Lcom/sun/tools/javac/comp/Attr;Lcom/sun/tools/javac/tree/JCTree$JCTypeCast;Lcom/sun/tools/javac/comp/Enter;)V (6)
()V
invokevirtual jdk.jshell.TaskFactory$DisableAccessibilityResolve.runWithoutAccessChecks:(Ljava/lang/Runnable;)V
end local 17 end local 16 end local 15 end local 14 24: goto 29
StackMap locals: jdk.jshell.TaskFactory$TaskListenerImpl jdk.jshell.VarSnippet java.lang.String com.sun.tools.javac.code.Symtab com.sun.tools.javac.util.Names com.sun.tools.javac.util.Log com.sun.tools.javac.parser.ParserFactory com.sun.tools.javac.comp.Attr com.sun.tools.javac.comp.Enter jdk.jshell.TaskFactory$DisableAccessibilityResolve com.sun.tools.javac.code.Symbol$ClassSymbol com.sun.tools.javac.code.Symbol$VarSymbol javax.tools.JavaFileObject com.sun.tools.javac.util.Log$DiscardDiagnosticHandler
StackMap stack: java.lang.Throwable
25: astore 18
26: aload 5
aload 13
invokevirtual com.sun.tools.javac.util.Log.popDiagnosticHandler:(Lcom/sun/tools/javac/util/Log$DiagnosticHandler;)V
27: aload 5
aload 12
invokevirtual com.sun.tools.javac.util.Log.useSource:(Ljavax/tools/JavaFileObject;)Ljavax/tools/JavaFileObject;
pop
28: aload 18
athrow
29: StackMap locals:
StackMap stack:
aload 5
aload 13
invokevirtual com.sun.tools.javac.util.Log.popDiagnosticHandler:(Lcom/sun/tools/javac/util/Log$DiagnosticHandler;)V
30: aload 5
aload 12
invokevirtual com.sun.tools.javac.util.Log.useSource:(Ljavax/tools/JavaFileObject;)Ljavax/tools/JavaFileObject;
pop
end local 13 end local 12 31: StackMap locals:
StackMap stack:
return
end local 11 end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 32 0 this Ljdk/jshell/TaskFactory$TaskListenerImpl;
0 32 1 s Ljdk/jshell/VarSnippet;
1 32 2 typeName Ljava/lang/String;
4 32 3 syms Lcom/sun/tools/javac/code/Symtab;
5 32 4 names Lcom/sun/tools/javac/util/Names;
6 32 5 log Lcom/sun/tools/javac/util/Log;
7 32 6 parserFactory Lcom/sun/tools/javac/parser/ParserFactory;
8 32 7 attr Lcom/sun/tools/javac/comp/Attr;
9 32 8 enter Lcom/sun/tools/javac/comp/Enter;
10 32 9 rs Ljdk/jshell/TaskFactory$DisableAccessibilityResolve;
11 32 10 clazz Lcom/sun/tools/javac/code/Symbol$ClassSymbol;
14 32 11 field Lcom/sun/tools/javac/code/Symbol$VarSymbol;
16 31 12 prev Ljavax/tools/JavaFileObject;
17 31 13 h Lcom/sun/tools/javac/util/Log$DiscardDiagnosticHandler;
18 24 14 buf Ljava/nio/CharBuffer;
19 24 15 parser Lcom/sun/tools/javac/parser/Parser;
20 24 16 expr Lcom/sun/tools/javac/tree/JCTree$JCExpression;
23 24 17 tree Lcom/sun/tools/javac/tree/JCTree$JCTypeCast;
Exception table:
from to target type
17 25 25 any
MethodParameters:
Name Flags
s
private static boolean lambda$0(jdk.jshell.Snippet);
descriptor: (Ljdk/jshell/Snippet;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jshell.Snippet.status:()Ljdk/jshell/Snippet$Status;
getstatic jdk.jshell.Snippet$Status.VALID:Ljdk/jshell/Snippet$Status;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 s Ljdk/jshell/Snippet;
private static boolean lambda$1(jdk.jshell.Snippet);
descriptor: (Ljdk/jshell/Snippet;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jshell.Snippet.kind:()Ljdk/jshell/Snippet$Kind;
getstatic jdk.jshell.Snippet$Kind.VAR:Ljdk/jshell/Snippet$Kind;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 s Ljdk/jshell/Snippet;
private static boolean lambda$2(jdk.jshell.Snippet);
descriptor: (Ljdk/jshell/Snippet;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.jshell.Snippet.subKind:()Ljdk/jshell/Snippet$SubKind;
getstatic jdk.jshell.Snippet$SubKind.VAR_DECLARATION_WITH_INITIALIZER_SUBKIND:Ljdk/jshell/Snippet$SubKind;
if_acmpeq 2
1: aload 0
invokevirtual jdk.jshell.Snippet.subKind:()Ljdk/jshell/Snippet$SubKind;
getstatic jdk.jshell.Snippet$SubKind.TEMP_VAR_EXPRESSION_SUBKIND:Ljdk/jshell/Snippet$SubKind;
if_acmpeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 s Ljdk/jshell/Snippet;
private void lambda$3(jdk.jshell.Snippet);
descriptor: (Ljdk/jshell/Snippet;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
checkcast jdk.jshell.VarSnippet
invokevirtual jdk.jshell.TaskFactory$TaskListenerImpl.setVariableType:(Ljdk/jshell/VarSnippet;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/TaskFactory$TaskListenerImpl;
0 1 1 s Ljdk/jshell/Snippet;
private static boolean lambda$4(com.sun.tools.javac.code.Symbol);
descriptor: (Lcom/sun/tools/javac/code/Symbol;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.javac.code.Symbol.kind:Lcom/sun/tools/javac/code/Kinds$Kind;
getstatic com.sun.tools.javac.code.Kinds$Kind.VAR:Lcom/sun/tools/javac/code/Kinds$Kind;
if_acmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 sym Lcom/sun/tools/javac/code/Symbol;
private static void lambda$5(com.sun.tools.javac.code.Symbol$VarSymbol, com.sun.tools.javac.comp.Attr, com.sun.tools.javac.tree.JCTree$JCTypeCast, com.sun.tools.javac.comp.Enter);
descriptor: (Lcom/sun/tools/javac/code/Symbol$VarSymbol;Lcom/sun/tools/javac/comp/Attr;Lcom/sun/tools/javac/tree/JCTree$JCTypeCast;Lcom/sun/tools/javac/comp/Enter;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
getfield com.sun.tools.javac.tree.JCTree$JCTypeCast.clazz:Lcom/sun/tools/javac/tree/JCTree;
1: aload 3
invokevirtual com.sun.tools.javac.comp.Enter.getEnvs:()Ljava/lang/Iterable;
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.sun.tools.javac.comp.Env
getfield com.sun.tools.javac.comp.Env.enclClass:Lcom/sun/tools/javac/tree/JCTree$JCClassDecl;
getfield com.sun.tools.javac.tree.JCTree$JCClassDecl.sym:Lcom/sun/tools/javac/code/Symbol$ClassSymbol;
2: invokevirtual com.sun.tools.javac.comp.Attr.attribType:(Lcom/sun/tools/javac/tree/JCTree;Lcom/sun/tools/javac/code/Symbol$TypeSymbol;)Lcom/sun/tools/javac/code/Type;
putfield com.sun.tools.javac.code.Symbol$VarSymbol.type:Lcom/sun/tools/javac/code/Type;
3: return
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "TaskFactory.java"
NestHost: jdk.jshell.TaskFactory
InnerClasses:
public final Kind = com.sun.source.tree.Tree$Kind of com.sun.source.tree.Tree
public final Kind = com.sun.source.util.TaskEvent$Kind of com.sun.source.util.TaskEvent
public final Kind = com.sun.tools.javac.code.Kinds$Kind of com.sun.tools.javac.code.Kinds
public abstract WriteableScope = com.sun.tools.javac.code.Scope$WriteableScope of com.sun.tools.javac.code.Scope
public ClassSymbol = com.sun.tools.javac.code.Symbol$ClassSymbol of com.sun.tools.javac.code.Symbol
public ModuleSymbol = com.sun.tools.javac.code.Symbol$ModuleSymbol of com.sun.tools.javac.code.Symbol
public abstract TypeSymbol = com.sun.tools.javac.code.Symbol$TypeSymbol of com.sun.tools.javac.code.Symbol
public VarSymbol = com.sun.tools.javac.code.Symbol$VarSymbol of com.sun.tools.javac.code.Symbol
public JCClassDecl = com.sun.tools.javac.tree.JCTree$JCClassDecl of com.sun.tools.javac.tree.JCTree
public abstract JCExpression = com.sun.tools.javac.tree.JCTree$JCExpression of com.sun.tools.javac.tree.JCTree
public JCTypeCast = com.sun.tools.javac.tree.JCTree$JCTypeCast of com.sun.tools.javac.tree.JCTree
public JCVariableDecl = com.sun.tools.javac.tree.JCTree$JCVariableDecl of com.sun.tools.javac.tree.JCTree
public final Tag = com.sun.tools.javac.tree.JCTree$Tag of com.sun.tools.javac.tree.JCTree
public abstract DiagnosticHandler = com.sun.tools.javac.util.Log$DiagnosticHandler of com.sun.tools.javac.util.Log
public DiscardDiagnosticHandler = com.sun.tools.javac.util.Log$DiscardDiagnosticHandler of com.sun.tools.javac.util.Log
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Kind = jdk.jshell.Snippet$Kind of jdk.jshell.Snippet
public final Status = jdk.jshell.Snippet$Status of jdk.jshell.Snippet
public final SubKind = jdk.jshell.Snippet$SubKind of jdk.jshell.Snippet
private final DisableAccessibilityResolve = jdk.jshell.TaskFactory$DisableAccessibilityResolve of jdk.jshell.TaskFactory
private final TaskListenerImpl = jdk.jshell.TaskFactory$TaskListenerImpl of jdk.jshell.TaskFactory