public class io.vertx.ext.shell.system.impl.JobControllerImpl implements io.vertx.ext.shell.system.JobController
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.vertx.ext.shell.system.impl.JobControllerImpl
  super_class: java.lang.Object
{
  io.vertx.core.Handler<io.vertx.ext.shell.system.Job> foregroundUpdatedHandler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0000) 
    Signature: Lio/vertx/core/Handler<Lio/vertx/ext/shell/system/Job;>;

  io.vertx.ext.shell.system.Job foregroundJob;
    descriptor: Lio/vertx/ext/shell/system/Job;
    flags: (0x0000) 

  private final java.util.SortedMap<java.lang.Integer, io.vertx.ext.shell.system.impl.JobImpl> jobs;
    descriptor: Ljava/util/SortedMap;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/SortedMap<Ljava/lang/Integer;Lio/vertx/ext/shell/system/impl/JobImpl;>;

  private boolean closed;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
         0: .line 59
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 56
            aload 0 /* this */
            new java.util.TreeMap
            dup
            invokespecial java.util.TreeMap.<init>:()V
            putfield io.vertx.ext.shell.system.impl.JobControllerImpl.jobs:Ljava/util/SortedMap;
         2: .line 57
            aload 0 /* this */
            iconst_0
            putfield io.vertx.ext.shell.system.impl.JobControllerImpl.closed:Z
         3: .line 60
            return
        end local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lio/vertx/ext/shell/system/impl/JobControllerImpl;

  public io.vertx.ext.shell.system.Job foregroundJob();
    descriptor: ()Lio/vertx/ext/shell/system/Job;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
         0: .line 63
            aload 0 /* this */
            getfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundJob:Lio/vertx/ext/shell/system/Job;
            areturn
        end local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/ext/shell/system/impl/JobControllerImpl;

  public synchronized java.util.Set<io.vertx.ext.shell.system.Job> jobs();
    descriptor: ()Ljava/util/Set;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
         0: .line 67
            new java.util.HashSet
            dup
            aload 0 /* this */
            getfield io.vertx.ext.shell.system.impl.JobControllerImpl.jobs:Ljava/util/SortedMap;
            invokeinterface java.util.SortedMap.values:()Ljava/util/Collection;
            invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
            areturn
        end local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/ext/shell/system/impl/JobControllerImpl;
    Signature: ()Ljava/util/Set<Lio/vertx/ext/shell/system/Job;>;

  public synchronized io.vertx.ext.shell.system.Job getJob(int);
    descriptor: (I)Lio/vertx/ext/shell/system/Job;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
        start local 1 // int id
         0: .line 71
            aload 0 /* this */
            getfield io.vertx.ext.shell.system.impl.JobControllerImpl.jobs:Ljava/util/SortedMap;
            iload 1 /* id */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.SortedMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast io.vertx.ext.shell.system.Job
            areturn
        end local 1 // int id
        end local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/ext/shell/system/impl/JobControllerImpl;
            0    1     1    id  I
    MethodParameters:
      Name  Flags
      id    

  synchronized boolean removeJob(int);
    descriptor: (I)Z
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
        start local 1 // int id
         0: .line 75
            aload 0 /* this */
            getfield io.vertx.ext.shell.system.impl.JobControllerImpl.jobs:Ljava/util/SortedMap;
            iload 1 /* id */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface java.util.SortedMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            ifnull 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 1 // int id
        end local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/ext/shell/system/impl/JobControllerImpl;
            0    2     1    id  I
    MethodParameters:
      Name  Flags
      id    

  public io.vertx.ext.shell.system.JobController foregroundUpdatedHandler(io.vertx.core.Handler<io.vertx.ext.shell.system.Job>);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/shell/system/JobController;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
        start local 1 // io.vertx.core.Handler handler
         0: .line 79
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.vertx.ext.shell.system.impl.JobControllerImpl.foregroundUpdatedHandler:Lio/vertx/core/Handler;
         1: .line 80
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0     this  Lio/vertx/ext/shell/system/impl/JobControllerImpl;
            0    2     1  handler  Lio/vertx/core/Handler<Lio/vertx/ext/shell/system/Job;>;
    Signature: (Lio/vertx/core/Handler<Lio/vertx/ext/shell/system/Job;>;)Lio/vertx/ext/shell/system/JobController;
    MethodParameters:
         Name  Flags
      handler  

  public io.vertx.ext.shell.system.Job createJob(io.vertx.ext.shell.system.Process, java.lang.String);
    descriptor: (Lio/vertx/ext/shell/system/Process;Ljava/lang/String;)Lio/vertx/ext/shell/system/Job;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=3
        start local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
        start local 1 // io.vertx.ext.shell.system.Process process
        start local 2 // java.lang.String line
         0: .line 85
            aload 0 /* this */
            getfield io.vertx.ext.shell.system.impl.JobControllerImpl.jobs:Ljava/util/SortedMap;
            invokeinterface java.util.SortedMap.isEmpty:()Z
            ifeq 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: aload 0 /* this */
            getfield io.vertx.ext.shell.system.impl.JobControllerImpl.jobs:Ljava/util/SortedMap;
            invokeinterface java.util.SortedMap.lastKey:()Ljava/lang/Object;
            checkcast java.lang.Integer
            invokevirtual java.lang.Integer.intValue:()I
            iconst_1
            iadd
      StackMap locals:
      StackMap stack: int
         2: istore 3 /* id */
        start local 3 // int id
         3: .line 86
            new io.vertx.ext.shell.system.impl.JobImpl
            dup
            iload 3 /* id */
            aload 0 /* this */
            aload 1 /* process */
            aload 2 /* line */
            invokespecial io.vertx.ext.shell.system.impl.JobImpl.<init>:(ILio/vertx/ext/shell/system/impl/JobControllerImpl;Lio/vertx/ext/shell/system/Process;Ljava/lang/String;)V
            astore 4 /* job */
        start local 4 // io.vertx.ext.shell.system.impl.JobImpl job
         4: .line 87
            aload 0 /* this */
            getfield io.vertx.ext.shell.system.impl.JobControllerImpl.jobs:Ljava/util/SortedMap;
            iload 3 /* id */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aload 4 /* job */
            invokeinterface java.util.SortedMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         5: .line 88
            aload 4 /* job */
            areturn
        end local 4 // io.vertx.ext.shell.system.impl.JobImpl job
        end local 3 // int id
        end local 2 // java.lang.String line
        end local 1 // io.vertx.ext.shell.system.Process process
        end local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lio/vertx/ext/shell/system/impl/JobControllerImpl;
            0    6     1  process  Lio/vertx/ext/shell/system/Process;
            0    6     2     line  Ljava/lang/String;
            3    6     3       id  I
            4    6     4      job  Lio/vertx/ext/shell/system/impl/JobImpl;
    MethodParameters:
         Name  Flags
      process  
      line     

  public void close(io.vertx.core.Handler<java.lang.Void>);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
        start local 1 // io.vertx.core.Handler completionHandler
         0: .line 94
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         1: .line 95
            aload 0 /* this */
            getfield io.vertx.ext.shell.system.impl.JobControllerImpl.closed:Z
            ifeq 4
         2: .line 96
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            astore 2 /* jobs */
        start local 2 // java.util.List jobs
         3: .line 97
            goto 6
        end local 2 // java.util.List jobs
         4: .line 98
      StackMap locals: io.vertx.ext.shell.system.impl.JobControllerImpl io.vertx.core.Handler top io.vertx.ext.shell.system.impl.JobControllerImpl
      StackMap stack:
            new java.util.ArrayList
            dup
            aload 0 /* this */
            getfield io.vertx.ext.shell.system.impl.JobControllerImpl.jobs:Ljava/util/SortedMap;
            invokeinterface java.util.SortedMap.values:()Ljava/util/Collection;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            astore 2 /* jobs */
        start local 2 // java.util.List jobs
         5: .line 99
            aload 0 /* this */
            iconst_1
            putfield io.vertx.ext.shell.system.impl.JobControllerImpl.closed:Z
         6: .line 94
      StackMap locals: io.vertx.ext.shell.system.impl.JobControllerImpl io.vertx.core.Handler java.util.List io.vertx.ext.shell.system.impl.JobControllerImpl
      StackMap stack:
            aload 3
            monitorexit
         7: goto 10
        end local 2 // java.util.List jobs
      StackMap locals: io.vertx.ext.shell.system.impl.JobControllerImpl io.vertx.core.Handler top io.vertx.ext.shell.system.impl.JobControllerImpl
      StackMap stack: java.lang.Throwable
         8: aload 3
            monitorexit
         9: athrow
        start local 2 // java.util.List jobs
        10: .line 102
      StackMap locals: io.vertx.ext.shell.system.impl.JobControllerImpl io.vertx.core.Handler java.util.List
      StackMap stack:
            aload 2 /* jobs */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 13
        11: .line 103
            aload 1 /* completionHandler */
            aconst_null
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        12: .line 104
            goto 15
        13: .line 105
      StackMap locals:
      StackMap stack:
            new java.util.concurrent.atomic.AtomicInteger
            dup
            aload 2 /* jobs */
            invokeinterface java.util.List.size:()I
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
            astore 3 /* count */
        start local 3 // java.util.concurrent.atomic.AtomicInteger count
        14: .line 106
            aload 2 /* jobs */
            aload 3 /* count */
            aload 1 /* completionHandler */
            invokedynamic accept(Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/Handler;)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
                  io/vertx/ext/shell/system/impl/JobControllerImpl.lambda$0(Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/Handler;Lio/vertx/ext/shell/system/impl/JobImpl;)V (6)
                  (Lio/vertx/ext/shell/system/impl/JobImpl;)V
            invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
        end local 3 // java.util.concurrent.atomic.AtomicInteger count
        15: .line 115
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.List jobs
        end local 1 // io.vertx.core.Handler completionHandler
        end local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   16     0               this  Lio/vertx/ext/shell/system/impl/JobControllerImpl;
            0   16     1  completionHandler  Lio/vertx/core/Handler<Ljava/lang/Void;>;
            3    4     2               jobs  Ljava/util/List<Lio/vertx/ext/shell/system/impl/JobImpl;>;
            5    8     2               jobs  Ljava/util/List<Lio/vertx/ext/shell/system/impl/JobImpl;>;
           10   16     2               jobs  Ljava/util/List<Lio/vertx/ext/shell/system/impl/JobImpl;>;
           14   15     3              count  Ljava/util/concurrent/atomic/AtomicInteger;
      Exception table:
        from    to  target  type
           1     7       8  any
           8     9       8  any
    Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)V
    MethodParameters:
                   Name  Flags
      completionHandler  

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
         0: .line 119
            aload 0 /* this */
            aconst_null
            invokevirtual io.vertx.ext.shell.system.impl.JobControllerImpl.close:(Lio/vertx/core/Handler;)V
         1: .line 120
            return
        end local 0 // io.vertx.ext.shell.system.impl.JobControllerImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/ext/shell/system/impl/JobControllerImpl;

  private static void lambda$0(java.util.concurrent.atomic.AtomicInteger, io.vertx.core.Handler, io.vertx.ext.shell.system.impl.JobImpl);
    descriptor: (Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/Handler;Lio/vertx/ext/shell/system/impl/JobImpl;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
        start local 2 // io.vertx.ext.shell.system.impl.JobImpl job
         0: .line 107
            aload 2 /* job */
            getfield io.vertx.ext.shell.system.impl.JobImpl.terminatePromise:Lio/vertx/core/Promise;
            invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
            aload 0
            aload 1
            invokedynamic handle(Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/Handler;)Lio/vertx/core/Handler;
              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
                  io/vertx/ext/shell/system/impl/JobControllerImpl.lambda$1(Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
                  (Lio/vertx/core/AsyncResult;)V
            invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
            pop
         1: .line 112
            aload 2 /* job */
            invokevirtual io.vertx.ext.shell.system.impl.JobImpl.terminate:()V
         2: .line 113
            return
        end local 2 // io.vertx.ext.shell.system.impl.JobImpl job
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     2   job  Lio/vertx/ext/shell/system/impl/JobImpl;

  private static void lambda$1(java.util.concurrent.atomic.AtomicInteger, io.vertx.core.Handler, io.vertx.core.AsyncResult);
    descriptor: (Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=3
        start local 2 // io.vertx.core.AsyncResult v
         0: .line 108
            aload 0
            invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
            ifne 2
            aload 1
            ifnull 2
         1: .line 109
            aload 1
            aconst_null
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         2: .line 111
      StackMap locals:
      StackMap stack:
            return
        end local 2 // io.vertx.core.AsyncResult v
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     2     v  Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
}
SourceFile: "JobControllerImpl.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles