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
void <init>(jdk.jshell.TaskFactory, jdk.jshell.OuterWrap, java.lang.String[]);
descriptor: (Ljdk/jshell/TaskFactory;Ljdk/jshell/OuterWrap;[Ljava/lang/String;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=4, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic java.util.Collections.singletonList:(Ljava/lang/Object;)Ljava/util/List;
aload 3
invokespecial jdk.jshell.TaskFactory$AnalyzeTask.<init>:(Ljdk/jshell/TaskFactory;Ljava/util/Collection;[Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/jshell/TaskFactory$AnalyzeTask;
0 2 2 wrap Ljdk/jshell/OuterWrap;
0 2 3 extraArgs [Ljava/lang/String;
MethodParameters:
Name Flags
this$0 final
wrap final
extraArgs
void <init>(java.util.Collection<jdk.jshell.OuterWrap>, java.lang.String[]);
descriptor: (Ljdk/jshell/TaskFactory;Ljava/util/Collection;[Ljava/lang/String;)V
flags: (0x0080) ACC_VARARGS
Code:
stack=8, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
1: new jdk.jshell.TaskFactory$WrapSourceHandler
dup
aload 1
invokespecial jdk.jshell.TaskFactory$WrapSourceHandler.<init>:(Ljdk/jshell/TaskFactory;)V
2: iconst_3
anewarray java.lang.String
dup
iconst_0
3: ldc "--should-stop:at=FLOW"
aastore
dup
iconst_1
ldc "-Xlint:unchecked"
aastore
dup
iconst_2
4: ldc "-proc:none"
aastore
5: aload 3
6: invokestatic jdk.jshell.Util.join:([Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
invokespecial jdk.jshell.TaskFactory$AnalyzeTask.<init>:(Ljdk/jshell/TaskFactory;Ljava/util/stream/Stream;Ljdk/jshell/TaskFactory$SourceHandler;[Ljava/lang/String;)V
7: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/jshell/TaskFactory$AnalyzeTask;
0 8 2 wraps Ljava/util/Collection<Ljdk/jshell/OuterWrap;>;
0 8 3 extraArgs [Ljava/lang/String;
Signature: (Ljava/util/Collection<Ljdk/jshell/OuterWrap;>;[Ljava/lang/String;)V
MethodParameters:
Name Flags
this$0 final
wraps final
extraArgs
private <T> void <init>(java.util.stream.Stream<T>, jdk.jshell.TaskFactory$SourceHandler<T>, java.lang.String[]);
descriptor: (Ljdk/jshell/TaskFactory;Ljava/util/stream/Stream;Ljdk/jshell/TaskFactory$SourceHandler;[Ljava/lang/String;)V
flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
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;Ljava/util/stream/Stream;Ljdk/jshell/TaskFactory$SourceHandler;[Ljava/lang/String;)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 stream Ljava/util/stream/Stream<TT;>;
0 4 3 sourceHandler Ljdk/jshell/TaskFactory$SourceHandler<TT;>;
0 4 4 extraOptions [Ljava/lang/String;
Signature: <T:Ljava/lang/Object;>(Ljava/util/stream/Stream<TT;>;Ljdk/jshell/TaskFactory$SourceHandler<TT;>;[Ljava/lang/String;)V
MethodParameters:
Name Flags
this$0 final
stream final
sourceHandler
extraOptions
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
private WrapSourceHandler = jdk.jshell.TaskFactory$WrapSourceHandler of jdk.jshell.TaskFactory