class jdk.jshell.TaskFactory$AnalyzeTask extends jdk.jshell.TaskFactory$BaseTask
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.jshell.TaskFactory$AnalyzeTask
super_class: jdk.jshell.TaskFactory$BaseTask
{
private final java.lang.Iterable<? extends com.sun.source.tree.CompilationUnitTree> cuts;
descriptor: Ljava/lang/Iterable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Iterable<+Lcom/sun/source/tree/CompilationUnitTree;>;
final jdk.jshell.TaskFactory this$0;
descriptor: Ljdk/jshell/TaskFactory;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private void <init>(jdk.jshell.TaskFactory$SourceHandler<jdk.jshell.OuterWrap>, com.sun.tools.javac.api.JavacTaskImpl, javax.tools.DiagnosticCollector<javax.tools.JavaFileObject>);
descriptor: (Ljdk/jshell/TaskFactory;Ljdk/jshell/TaskFactory$SourceHandler;Lcom/sun/tools/javac/api/JavacTaskImpl;Ljavax/tools/DiagnosticCollector;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield jdk.jshell.TaskFactory$AnalyzeTask.this$0:Ljdk/jshell/TaskFactory;
1: aload 0
aload 1
aload 2
aload 3
aload 4
invokespecial jdk.jshell.TaskFactory$BaseTask.<init>:(Ljdk/jshell/TaskFactory;Ljdk/jshell/TaskFactory$SourceHandler;Lcom/sun/tools/javac/api/JavacTaskImpl;Ljavax/tools/DiagnosticCollector;)V
2: aload 0
aload 0
invokevirtual jdk.jshell.TaskFactory$AnalyzeTask.analyze:()Ljava/lang/Iterable;
putfield jdk.jshell.TaskFactory$AnalyzeTask.cuts:Ljava/lang/Iterable;
3: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/jshell/TaskFactory$AnalyzeTask;
0 4 2 sh Ljdk/jshell/TaskFactory$SourceHandler<Ljdk/jshell/OuterWrap;>;
0 4 3 task Lcom/sun/tools/javac/api/JavacTaskImpl;
0 4 4 diagnostics Ljavax/tools/DiagnosticCollector<Ljavax/tools/JavaFileObject;>;
Signature: (Ljdk/jshell/TaskFactory$SourceHandler<Ljdk/jshell/OuterWrap;>;Lcom/sun/tools/javac/api/JavacTaskImpl;Ljavax/tools/DiagnosticCollector<Ljavax/tools/JavaFileObject;>;)V
MethodParameters:
Name Flags
this$0 final
sh
task
diagnostics
private java.lang.Iterable<? extends com.sun.source.tree.CompilationUnitTree> analyze();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.TaskFactory$AnalyzeTask.task:Lcom/sun/tools/javac/api/JavacTaskImpl;
invokevirtual com.sun.tools.javac.api.JavacTaskImpl.parse:()Ljava/lang/Iterable;
astore 1
start local 1 1: aload 0
getfield jdk.jshell.TaskFactory$AnalyzeTask.task:Lcom/sun/tools/javac/api/JavacTaskImpl;
invokevirtual com.sun.tools.javac.api.JavacTaskImpl.analyze:()Ljava/lang/Iterable;
pop
2: aload 1
3: areturn
end local 1 4: StackMap locals:
StackMap stack: java.lang.Exception
astore 1
start local 1 5: new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Exception during analyze - "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljdk/jshell/TaskFactory$AnalyzeTask;
1 4 1 cuts Ljava/lang/Iterable<+Lcom/sun/source/tree/CompilationUnitTree;>;
5 6 1 ex Ljava/lang/Exception;
Exception table:
from to target type
0 3 4 Class java.lang.Exception
Signature: ()Ljava/lang/Iterable<+Lcom/sun/source/tree/CompilationUnitTree;>;
java.lang.Iterable<? extends com.sun.source.tree.CompilationUnitTree> cuTrees();
descriptor: ()Ljava/lang/Iterable;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.TaskFactory$AnalyzeTask.cuts:Ljava/lang/Iterable;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/TaskFactory$AnalyzeTask;
Signature: ()Ljava/lang/Iterable<+Lcom/sun/source/tree/CompilationUnitTree;>;
javax.lang.model.util.Elements getElements();
descriptor: ()Ljavax/lang/model/util/Elements;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.TaskFactory$AnalyzeTask.task:Lcom/sun/tools/javac/api/JavacTaskImpl;
invokevirtual com.sun.tools.javac.api.JavacTaskImpl.getElements:()Ljavax/lang/model/util/Elements;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/TaskFactory$AnalyzeTask;
javax.lang.model.util.Types getTypes();
descriptor: ()Ljavax/lang/model/util/Types;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.jshell.TaskFactory$AnalyzeTask.task:Lcom/sun/tools/javac/api/JavacTaskImpl;
invokevirtual com.sun.tools.javac.api.JavacTaskImpl.getTypes:()Ljavax/lang/model/util/Types;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/jshell/TaskFactory$AnalyzeTask;
}
SourceFile: "TaskFactory.java"
NestHost: jdk.jshell.TaskFactory
InnerClasses:
AnalyzeTask = jdk.jshell.TaskFactory$AnalyzeTask of jdk.jshell.TaskFactory
abstract BaseTask = jdk.jshell.TaskFactory$BaseTask of jdk.jshell.TaskFactory
private abstract SourceHandler = jdk.jshell.TaskFactory$SourceHandler of jdk.jshell.TaskFactory