class jdk.jshell.TaskFactory
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: jdk.jshell.TaskFactory
  super_class: java.lang.Object
{
  private final javax.tools.JavaCompiler compiler;
    descriptor: Ljavax/tools/JavaCompiler;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.jshell.MemoryFileManager fileManager;
    descriptor: Ljdk/jshell/MemoryFileManager;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final jdk.jshell.JShell state;
    descriptor: Ljdk/jshell/JShell;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.lang.String classpath;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private static final java.lang.Runtime$Version INITIAL_SUPPORTED_VER;
    descriptor: Ljava/lang/Runtime$Version;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 77
            ldc "9"
            invokestatic java.lang.Runtime$Version.parse:(Ljava/lang/String;)Ljava/lang/Runtime$Version;
            putstatic jdk.jshell.TaskFactory.INITIAL_SUPPORTED_VER:Ljava/lang/Runtime$Version;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(jdk.jshell.JShell);
    descriptor: (Ljdk/jshell/JShell;)V
    flags: (0x0000) 
    Code:
      stack=7, locals=3, args_size=2
        start local 0 // jdk.jshell.TaskFactory this
        start local 1 // jdk.jshell.JShell state
         0: .line 79
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 76
            aload 0 /* this */
            ldc "java.class.path"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            putfield jdk.jshell.TaskFactory.classpath:Ljava/lang/String;
         2: .line 80
            aload 0 /* this */
            aload 1 /* state */
            putfield jdk.jshell.TaskFactory.state:Ljdk/jshell/JShell;
         3: .line 81
            aload 0 /* this */
            invokestatic javax.tools.ToolProvider.getSystemJavaCompiler:()Ljavax/tools/JavaCompiler;
            putfield jdk.jshell.TaskFactory.compiler:Ljavax/tools/JavaCompiler;
         4: .line 82
            aload 0 /* this */
            getfield jdk.jshell.TaskFactory.compiler:Ljavax/tools/JavaCompiler;
            ifnonnull 6
         5: .line 83
            new java.lang.UnsupportedOperationException
            dup
            ldc "Compiler not available, must be run with full JDK 9."
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 85
      StackMap locals: jdk.jshell.TaskFactory jdk.jshell.JShell
      StackMap stack:
            ldc "java.specification.version"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
            invokestatic java.lang.Runtime$Version.parse:(Ljava/lang/String;)Ljava/lang/Runtime$Version;
            astore 2 /* current */
        start local 2 // java.lang.Runtime$Version current
         7: .line 86
            getstatic jdk.jshell.TaskFactory.INITIAL_SUPPORTED_VER:Ljava/lang/Runtime$Version;
            aload 2 /* current */
            invokevirtual java.lang.Runtime$Version.compareToIgnoreOptional:(Ljava/lang/Runtime$Version;)I
            ifle 9
         8: .line 87
            new java.lang.UnsupportedOperationException
            dup
            ldc "Wrong compiler, must be run with full JDK 9."
            invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
            athrow
         9: .line 89
      StackMap locals: java.lang.Runtime$Version
      StackMap stack:
            aload 0 /* this */
            new jdk.jshell.MemoryFileManager
            dup
        10: .line 90
            aload 0 /* this */
            getfield jdk.jshell.TaskFactory.compiler:Ljavax/tools/JavaCompiler;
            aconst_null
            aconst_null
            aconst_null
            invokeinterface javax.tools.JavaCompiler.getStandardFileManager:(Ljavax/tools/DiagnosticListener;Ljava/util/Locale;Ljava/nio/charset/Charset;)Ljavax/tools/StandardJavaFileManager;
            aload 1 /* state */
            invokespecial jdk.jshell.MemoryFileManager.<init>:(Ljavax/tools/StandardJavaFileManager;Ljdk/jshell/JShell;)V
        11: .line 89
            putfield jdk.jshell.TaskFactory.fileManager:Ljdk/jshell/MemoryFileManager;
        12: .line 91
            return
        end local 2 // java.lang.Runtime$Version current
        end local 1 // jdk.jshell.JShell state
        end local 0 // jdk.jshell.TaskFactory this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   13     0     this  Ljdk/jshell/TaskFactory;
            0   13     1    state  Ljdk/jshell/JShell;
            7   13     2  current  Ljava/lang/Runtime$Version;
    MethodParameters:
       Name  Flags
      state  

  void addToClasspath(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0000) 
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // jdk.jshell.TaskFactory this
        start local 1 // java.lang.String path
         0: .line 94
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            aload 0 /* this */
            getfield jdk.jshell.TaskFactory.classpath:Ljava/lang/String;
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            getstatic java.io.File.pathSeparator:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* path */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            putfield jdk.jshell.TaskFactory.classpath:Ljava/lang/String;
         1: .line 95
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* args */
        start local 2 // java.util.List args
         2: .line 96
            aload 2 /* args */
            aload 0 /* this */
            getfield jdk.jshell.TaskFactory.classpath:Ljava/lang/String;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         3: .line 97
            aload 0 /* this */
            invokevirtual jdk.jshell.TaskFactory.fileManager:()Ljdk/jshell/MemoryFileManager;
            ldc "-classpath"
            aload 2 /* args */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            invokevirtual jdk.jshell.MemoryFileManager.handleOption:(Ljava/lang/String;Ljava/util/Iterator;)Z
            pop
         4: .line 98
            return
        end local 2 // java.util.List args
        end local 1 // java.lang.String path
        end local 0 // jdk.jshell.TaskFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Ljdk/jshell/TaskFactory;
            0    5     1  path  Ljava/lang/String;
            2    5     2  args  Ljava/util/List<Ljava/lang/String;>;
    MethodParameters:
      Name  Flags
      path  

  jdk.jshell.MemoryFileManager fileManager();
    descriptor: ()Ljdk/jshell/MemoryFileManager;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.jshell.TaskFactory this
         0: .line 101
            aload 0 /* this */
            getfield jdk.jshell.TaskFactory.fileManager:Ljdk/jshell/MemoryFileManager;
            areturn
        end local 0 // jdk.jshell.TaskFactory this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/jshell/TaskFactory;

  jdk.jshell.TaskFactory$ParseTask parse(java.lang.String);
    descriptor: (Ljava/lang/String;)Ljdk/jshell/TaskFactory$ParseTask;
    flags: (0x0000) 
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // jdk.jshell.TaskFactory this
        start local 1 // java.lang.String source
         0: .line 106
            new jdk.jshell.TaskFactory$ParseTask
            dup
            aload 0 /* this */
            getfield jdk.jshell.TaskFactory.state:Ljdk/jshell/JShell;
            getfield jdk.jshell.JShell.taskFactory:Ljdk/jshell/TaskFactory;
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            aload 1 /* source */
            iconst_0
            invokespecial jdk.jshell.TaskFactory$ParseTask.<init>:(Ljdk/jshell/TaskFactory;Ljava/lang/String;Z)V
            astore 2 /* pt */
        start local 2 // jdk.jshell.TaskFactory$ParseTask pt
         1: .line 107
            aload 2 /* pt */
            invokevirtual jdk.jshell.TaskFactory$ParseTask.units:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifne 7
         2: .line 108
            aload 2 /* pt */
            invokevirtual jdk.jshell.TaskFactory$ParseTask.units:()Ljava/util/List;
            iconst_0
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            checkcast com.sun.source.tree.Tree
            invokeinterface com.sun.source.tree.Tree.getKind:()Lcom/sun/source/tree/Tree$Kind;
            getstatic com.sun.source.tree.Tree$Kind.EXPRESSION_STATEMENT:Lcom/sun/source/tree/Tree$Kind;
            if_acmpne 7
         3: .line 109
            aload 2 /* pt */
            invokevirtual jdk.jshell.TaskFactory$ParseTask.getDiagnostics:()Ljdk/jshell/DiagList;
            invokevirtual jdk.jshell.DiagList.hasOtherThanNotStatementErrors:()Z
            ifeq 7
         4: .line 113
            new jdk.jshell.TaskFactory$ParseTask
            dup
            aload 0 /* this */
            getfield jdk.jshell.TaskFactory.state:Ljdk/jshell/JShell;
            getfield jdk.jshell.JShell.taskFactory:Ljdk/jshell/TaskFactory;
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            aload 1 /* source */
            iconst_1
            invokespecial jdk.jshell.TaskFactory$ParseTask.<init>:(Ljdk/jshell/TaskFactory;Ljava/lang/String;Z)V
            astore 3 /* ept */
        start local 3 // jdk.jshell.TaskFactory$ParseTask ept
         5: .line 114
            aload 3 /* ept */
            invokevirtual jdk.jshell.TaskFactory$ParseTask.getDiagnostics:()Ljdk/jshell/DiagList;
            invokevirtual jdk.jshell.DiagList.hasOtherThanNotStatementErrors:()Z
            ifne 7
         6: .line 115
            aload 3 /* ept */
            areturn
        end local 3 // jdk.jshell.TaskFactory$ParseTask ept
         7: .line 118
      StackMap locals: jdk.jshell.TaskFactory$ParseTask
      StackMap stack:
            aload 2 /* pt */
            areturn
        end local 2 // jdk.jshell.TaskFactory$ParseTask pt
        end local 1 // java.lang.String source
        end local 0 // jdk.jshell.TaskFactory this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    8     0    this  Ljdk/jshell/TaskFactory;
            0    8     1  source  Ljava/lang/String;
            1    8     2      pt  Ljdk/jshell/TaskFactory$ParseTask;
            5    7     3     ept  Ljdk/jshell/TaskFactory$ParseTask;
    MethodParameters:
        Name  Flags
      source  final

  static jdk.jshell.MemoryFileManager access$0(jdk.jshell.TaskFactory);
    descriptor: (Ljdk/jshell/TaskFactory;)Ljdk/jshell/MemoryFileManager;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 74
            aload 0
            getfield jdk.jshell.TaskFactory.fileManager:Ljdk/jshell/MemoryFileManager;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "TaskFactory.java"
NestMembers:
  jdk.jshell.TaskFactory$AnalyzeTask  jdk.jshell.TaskFactory$BaseTask  jdk.jshell.TaskFactory$CompileTask  jdk.jshell.TaskFactory$ParseTask  jdk.jshell.TaskFactory$SourceHandler  jdk.jshell.TaskFactory$StringSourceHandler  jdk.jshell.TaskFactory$StringSourceHandler$1  jdk.jshell.TaskFactory$WrapSourceHandler
InnerClasses:
  public final Kind = com.sun.source.tree.Tree$Kind of com.sun.source.tree.Tree
  public final Version = java.lang.Runtime$Version of java.lang.Runtime
  AnalyzeTask = jdk.jshell.TaskFactory$AnalyzeTask of jdk.jshell.TaskFactory
  abstract BaseTask = jdk.jshell.TaskFactory$BaseTask of jdk.jshell.TaskFactory
  CompileTask = jdk.jshell.TaskFactory$CompileTask of jdk.jshell.TaskFactory
  ParseTask = jdk.jshell.TaskFactory$ParseTask of jdk.jshell.TaskFactory
  private abstract SourceHandler = jdk.jshell.TaskFactory$SourceHandler of jdk.jshell.TaskFactory
  private StringSourceHandler = jdk.jshell.TaskFactory$StringSourceHandler of jdk.jshell.TaskFactory
  private WrapSourceHandler = jdk.jshell.TaskFactory$WrapSourceHandler of jdk.jshell.TaskFactory