public class io.vertx.ext.shell.impl.ShellServerImpl implements io.vertx.ext.shell.ShellServer
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.vertx.ext.shell.impl.ShellServerImpl
  super_class: java.lang.Object
{
  private final io.vertx.core.Vertx vertx;
    descriptor: Lio/vertx/core/Vertx;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.CopyOnWriteArrayList<io.vertx.ext.shell.command.CommandResolver> resolvers;
    descriptor: Ljava/util/concurrent/CopyOnWriteArrayList;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/concurrent/CopyOnWriteArrayList<Lio/vertx/ext/shell/command/CommandResolver;>;

  private final io.vertx.ext.shell.system.impl.InternalCommandManager commandManager;
    descriptor: Lio/vertx/ext/shell/system/impl/InternalCommandManager;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.List<io.vertx.ext.shell.term.TermServer> termServers;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Lio/vertx/ext/shell/term/TermServer;>;

  private final long timeoutMillis;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long reaperInterval;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

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

  private long timerID;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private final java.util.Map<java.lang.String, io.vertx.ext.shell.impl.ShellImpl> sessions;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/String;Lio/vertx/ext/shell/impl/ShellImpl;>;

  private final io.vertx.core.Promise<java.lang.Void> sessionsClosed;
    descriptor: Lio/vertx/core/Promise;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lio/vertx/core/Promise<Ljava/lang/Void;>;

  private io.vertx.core.Handler<io.vertx.ext.shell.Shell> shellHandler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/Handler<Lio/vertx/ext/shell/Shell;>;

  public void <init>(io.vertx.core.Vertx, io.vertx.ext.shell.ShellServerOptions);
    descriptor: (Lio/vertx/core/Vertx;Lio/vertx/ext/shell/ShellServerOptions;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 1 // io.vertx.core.Vertx vertx
        start local 2 // io.vertx.ext.shell.ShellServerOptions options
         0: .line 82
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 76
            aload 0 /* this */
            iconst_1
            putfield io.vertx.ext.shell.impl.ShellServerImpl.closed:Z
         2: .line 77
            aload 0 /* this */
            ldc -1
            putfield io.vertx.ext.shell.impl.ShellServerImpl.timerID:J
         3: .line 79
            aload 0 /* this */
            invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
            putfield io.vertx.ext.shell.impl.ShellServerImpl.sessionsClosed:Lio/vertx/core/Promise;
         4: .line 83
            aload 0 /* this */
            aload 1 /* vertx */
            putfield io.vertx.ext.shell.impl.ShellServerImpl.vertx:Lio/vertx/core/Vertx;
         5: .line 84
            aload 0 /* this */
            aload 2 /* options */
            invokevirtual io.vertx.ext.shell.ShellServerOptions.getWelcomeMessage:()Ljava/lang/String;
            putfield io.vertx.ext.shell.impl.ShellServerImpl.welcomeMessage:Ljava/lang/String;
         6: .line 85
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield io.vertx.ext.shell.impl.ShellServerImpl.termServers:Ljava/util/List;
         7: .line 86
            aload 0 /* this */
            aload 2 /* options */
            invokevirtual io.vertx.ext.shell.ShellServerOptions.getSessionTimeout:()J
            putfield io.vertx.ext.shell.impl.ShellServerImpl.timeoutMillis:J
         8: .line 87
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield io.vertx.ext.shell.impl.ShellServerImpl.sessions:Ljava/util/Map;
         9: .line 88
            aload 0 /* this */
            aload 2 /* options */
            invokevirtual io.vertx.ext.shell.ShellServerOptions.getReaperInterval:()J
            putfield io.vertx.ext.shell.impl.ShellServerImpl.reaperInterval:J
        10: .line 89
            aload 0 /* this */
            new java.util.concurrent.CopyOnWriteArrayList
            dup
            invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
            putfield io.vertx.ext.shell.impl.ShellServerImpl.resolvers:Ljava/util/concurrent/CopyOnWriteArrayList;
        11: .line 90
            aload 0 /* this */
            new io.vertx.ext.shell.system.impl.InternalCommandManager
            dup
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.resolvers:Ljava/util/concurrent/CopyOnWriteArrayList;
            invokespecial io.vertx.ext.shell.system.impl.InternalCommandManager.<init>:(Ljava/util/List;)V
            putfield io.vertx.ext.shell.impl.ShellServerImpl.commandManager:Lio/vertx/ext/shell/system/impl/InternalCommandManager;
        12: .line 93
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.resolvers:Ljava/util/concurrent/CopyOnWriteArrayList;
            aload 1 /* vertx */
            invokedynamic commands(Lio/vertx/core/Vertx;)Lio/vertx/ext/shell/command/CommandResolver;
              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/util/List;
                  io/vertx/ext/shell/impl/ShellServerImpl.lambda$0(Lio/vertx/core/Vertx;)Ljava/util/List; (6)
                  ()Ljava/util/List;
            invokevirtual java.util.concurrent.CopyOnWriteArrayList.add:(Ljava/lang/Object;)Z
            pop
        13: .line 100
            return
        end local 2 // io.vertx.ext.shell.ShellServerOptions options
        end local 1 // io.vertx.core.Vertx vertx
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   14     0     this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0   14     1    vertx  Lio/vertx/core/Vertx;
            0   14     2  options  Lio/vertx/ext/shell/ShellServerOptions;
    MethodParameters:
         Name  Flags
      vertx    
      options  

  public synchronized io.vertx.ext.shell.ShellServer registerCommandResolver(io.vertx.ext.shell.command.CommandResolver);
    descriptor: (Lio/vertx/ext/shell/command/CommandResolver;)Lio/vertx/ext/shell/ShellServer;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 1 // io.vertx.ext.shell.command.CommandResolver resolver
         0: .line 104
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.resolvers:Ljava/util/concurrent/CopyOnWriteArrayList;
            iconst_0
            aload 1 /* resolver */
            invokevirtual java.util.concurrent.CopyOnWriteArrayList.add:(ILjava/lang/Object;)V
         1: .line 105
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.ext.shell.command.CommandResolver resolver
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0    2     1  resolver  Lio/vertx/ext/shell/command/CommandResolver;
    MethodParameters:
          Name  Flags
      resolver  

  public synchronized io.vertx.ext.shell.ShellServer registerTermServer(io.vertx.ext.shell.term.TermServer);
    descriptor: (Lio/vertx/ext/shell/term/TermServer;)Lio/vertx/ext/shell/ShellServer;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 1 // io.vertx.ext.shell.term.TermServer termServer
         0: .line 110
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.termServers:Ljava/util/List;
            aload 1 /* termServer */
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         1: .line 111
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.ext.shell.term.TermServer termServer
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0        this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0    2     1  termServer  Lio/vertx/ext/shell/term/TermServer;
    MethodParameters:
            Name  Flags
      termServer  

  private void handleTerm(io.vertx.ext.shell.term.Term);
    descriptor: (Lio/vertx/ext/shell/term/Term;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 1 // io.vertx.ext.shell.term.Term term
         0: .line 115
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 117
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.closed:Z
            ifeq 5
         2: .line 118
            aload 1 /* term */
            invokeinterface io.vertx.ext.shell.term.Term.close:()V
         3: .line 119
            aload 2
            monitorexit
         4: return
         5: .line 115
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl
      StackMap stack:
            aload 2
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
         9: .line 122
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* term */
            invokevirtual io.vertx.ext.shell.impl.ShellServerImpl.createShell:(Lio/vertx/ext/shell/term/Term;)Lio/vertx/ext/shell/impl/ShellImpl;
            astore 2 /* session */
        start local 2 // io.vertx.ext.shell.impl.ShellImpl session
        10: .line 123
            aload 2 /* session */
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.welcomeMessage:Ljava/lang/String;
            invokevirtual io.vertx.ext.shell.impl.ShellImpl.setWelcome:(Ljava/lang/String;)V
        11: .line 124
            aload 2 /* session */
            getfield io.vertx.ext.shell.impl.ShellImpl.closedPromise:Lio/vertx/core/Promise;
            invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
            aload 0 /* this */
            aload 2 /* session */
            invokedynamic handle(Lio/vertx/ext/shell/impl/ShellServerImpl;Lio/vertx/ext/shell/impl/ShellImpl;)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/impl/ShellServerImpl.lambda$6(Lio/vertx/ext/shell/impl/ShellImpl;Lio/vertx/core/AsyncResult;)V (7)
                  (Lio/vertx/core/AsyncResult;)V
            invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
            pop
        12: .line 134
            aload 2 /* session */
            invokevirtual io.vertx.ext.shell.impl.ShellImpl.init:()Lio/vertx/ext/shell/impl/ShellImpl;
            pop
        13: .line 135
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.shellHandler:Lio/vertx/core/Handler;
            ifnull 15
        14: .line 136
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.shellHandler:Lio/vertx/core/Handler;
            aload 2 /* session */
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        15: .line 138
      StackMap locals: io.vertx.ext.shell.impl.ShellImpl
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.sessions:Ljava/util/Map;
            aload 2 /* session */
            getfield io.vertx.ext.shell.impl.ShellImpl.id:Ljava/lang/String;
            aload 2 /* session */
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        16: .line 139
            aload 2 /* session */
            invokevirtual io.vertx.ext.shell.impl.ShellImpl.readline:()V
        17: .line 140
            return
        end local 2 // io.vertx.ext.shell.impl.ShellImpl session
        end local 1 // io.vertx.ext.shell.term.Term term
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   18     0     this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0   18     1     term  Lio/vertx/ext/shell/term/Term;
           10   18     2  session  Lio/vertx/ext/shell/impl/ShellImpl;
      Exception table:
        from    to  target  type
           1     4       7  any
           5     6       7  any
           7     8       7  any
    MethodParameters:
      Name  Flags
      term  

  public io.vertx.ext.shell.ShellServer listen(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/shell/ShellServer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 1 // io.vertx.core.Handler listenHandler
         0: .line 145
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         1: .line 146
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.closed:Z
            ifne 3
         2: .line 147
            new java.lang.IllegalStateException
            dup
            ldc "Server listening"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 149
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl io.vertx.core.Handler top io.vertx.ext.shell.impl.ShellServerImpl
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.termServers:Ljava/util/List;
            astore 2 /* toStart */
        start local 2 // java.util.List toStart
         4: .line 145
            aload 3
            monitorexit
         5: goto 8
        end local 2 // java.util.List toStart
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: aload 3
            monitorexit
         7: athrow
        start local 2 // java.util.List toStart
         8: .line 151
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl io.vertx.core.Handler java.util.List
      StackMap stack:
            new java.util.concurrent.atomic.AtomicInteger
            dup
            aload 2 /* toStart */
            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
         9: .line 152
            aload 3 /* count */
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            ifne 18
        10: .line 153
            aload 0 /* this */
            dup
            astore 4
            monitorenter
        11: .line 154
            aload 0 /* this */
            iconst_0
            putfield io.vertx.ext.shell.impl.ShellServerImpl.closed:Z
        12: .line 153
            aload 4
            monitorexit
        13: goto 16
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl io.vertx.core.Handler java.util.List java.util.concurrent.atomic.AtomicInteger io.vertx.ext.shell.impl.ShellServerImpl
      StackMap stack: java.lang.Throwable
        14: aload 4
            monitorexit
        15: athrow
        16: .line 156
      StackMap locals:
      StackMap stack:
            aload 1 /* listenHandler */
            invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        17: .line 157
            aload 0 /* this */
            areturn
        18: .line 159
      StackMap locals:
      StackMap stack:
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            astore 4 /* failed */
        start local 4 // java.util.concurrent.atomic.AtomicBoolean failed
        19: .line 160
            aload 0 /* this */
            aload 4 /* failed */
            aload 3 /* count */
            aload 1 /* listenHandler */
            aload 2 /* toStart */
            invokedynamic handle(Lio/vertx/ext/shell/impl/ShellServerImpl;Ljava/util/concurrent/atomic/AtomicBoolean;Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/Handler;Ljava/util/List;)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/impl/ShellServerImpl.lambda$7(Ljava/util/concurrent/atomic/AtomicBoolean;Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/Handler;Ljava/util/List;Lio/vertx/core/AsyncResult;)V (7)
                  (Lio/vertx/core/AsyncResult;)V
            astore 5 /* handler */
        start local 5 // io.vertx.core.Handler handler
        20: .line 177
            aload 2 /* toStart */
            aload 0 /* this */
            aload 5 /* handler */
            invokedynamic accept(Lio/vertx/ext/shell/impl/ShellServerImpl;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/impl/ShellServerImpl.lambda$9(Lio/vertx/core/Handler;Lio/vertx/ext/shell/term/TermServer;)V (7)
                  (Lio/vertx/ext/shell/term/TermServer;)V
            invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
        21: .line 190
            aload 0 /* this */
            areturn
        end local 5 // io.vertx.core.Handler handler
        end local 4 // java.util.concurrent.atomic.AtomicBoolean failed
        end local 3 // java.util.concurrent.atomic.AtomicInteger count
        end local 2 // java.util.List toStart
        end local 1 // io.vertx.core.Handler listenHandler
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   22     0           this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0   22     1  listenHandler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
            4    6     2        toStart  Ljava/util/List<Lio/vertx/ext/shell/term/TermServer;>;
            8   22     2        toStart  Ljava/util/List<Lio/vertx/ext/shell/term/TermServer;>;
            9   22     3          count  Ljava/util/concurrent/atomic/AtomicInteger;
           19   22     4         failed  Ljava/util/concurrent/atomic/AtomicBoolean;
           20   22     5        handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Lio/vertx/ext/shell/term/TermServer;>;>;
      Exception table:
        from    to  target  type
           1     5       6  any
           6     7       6  any
          11    13      14  any
          14    15      14  any
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)Lio/vertx/ext/shell/ShellServer;
    MethodParameters:
               Name  Flags
      listenHandler  

  private void evictSessions(long);
    descriptor: (J)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=8, args_size=2
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 1 // long timerID
         0: .line 194
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 3 /* now */
        start local 3 // long now
         1: .line 195
            new java.util.HashSet
            dup
            invokespecial java.util.HashSet.<init>:()V
            astore 5 /* toClose */
        start local 5 // java.util.Set toClose
         2: .line 196
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.sessions:Ljava/util/Map;
            invokeinterface java.util.Map.values:()Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 7
            goto 6
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl long long java.util.Set top java.util.Iterator
      StackMap stack:
         3: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast io.vertx.ext.shell.impl.ShellImpl
            astore 6 /* session */
        start local 6 // io.vertx.ext.shell.impl.ShellImpl session
         4: .line 197
            lload 3 /* now */
            aload 6 /* session */
            invokevirtual io.vertx.ext.shell.impl.ShellImpl.lastAccessedTime:()J
            lsub
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.timeoutMillis:J
            lcmp
            ifle 6
         5: .line 198
            aload 5 /* toClose */
            aload 6 /* session */
            invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
            pop
        end local 6 // io.vertx.ext.shell.impl.ShellImpl session
         6: .line 196
      StackMap locals:
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 3
         7: .line 201
            aload 5 /* toClose */
            invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
            astore 7
            goto 10
      StackMap locals:
      StackMap stack:
         8: aload 7
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast io.vertx.ext.shell.impl.ShellImpl
            astore 6 /* session */
        start local 6 // io.vertx.ext.shell.impl.ShellImpl session
         9: .line 202
            aload 6 /* session */
            invokevirtual io.vertx.ext.shell.impl.ShellImpl.close:()V
        end local 6 // io.vertx.ext.shell.impl.ShellImpl session
        10: .line 201
      StackMap locals:
      StackMap stack:
            aload 7
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        11: .line 204
            aload 0 /* this */
            invokevirtual io.vertx.ext.shell.impl.ShellServerImpl.setTimer:()V
        12: .line 205
            return
        end local 5 // java.util.Set toClose
        end local 3 // long now
        end local 1 // long timerID
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   13     0     this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0   13     1  timerID  J
            1   13     3      now  J
            2   13     5  toClose  Ljava/util/Set<Lio/vertx/ext/shell/impl/ShellImpl;>;
            4    6     6  session  Lio/vertx/ext/shell/impl/ShellImpl;
            9   10     6  session  Lio/vertx/ext/shell/impl/ShellImpl;
    MethodParameters:
         Name  Flags
      timerID  

  private synchronized void setTimer();
    descriptor: ()V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
         0: .line 208
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.closed:Z
            ifne 2
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.reaperInterval:J
            lconst_0
            lcmp
            ifle 2
         1: .line 209
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.vertx:Lio/vertx/core/Vertx;
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.reaperInterval:J
            aload 0 /* this */
            invokedynamic handle(Lio/vertx/ext/shell/impl/ShellServerImpl;)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/impl/ShellServerImpl.evictSessions(J)V (7)
                  (Ljava/lang/Long;)V
            invokeinterface io.vertx.core.Vertx.setTimer:(JLio/vertx/core/Handler;)J
            putfield io.vertx.ext.shell.impl.ShellServerImpl.timerID:J
         2: .line 211
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/vertx/ext/shell/impl/ShellServerImpl;

  public synchronized io.vertx.ext.shell.Shell createShell();
    descriptor: ()Lio/vertx/ext/shell/Shell;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
         0: .line 215
            aload 0 /* this */
            aconst_null
            invokevirtual io.vertx.ext.shell.impl.ShellServerImpl.createShell:(Lio/vertx/ext/shell/term/Term;)Lio/vertx/ext/shell/impl/ShellImpl;
            areturn
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/ext/shell/impl/ShellServerImpl;

  public synchronized io.vertx.ext.shell.impl.ShellImpl createShell(io.vertx.ext.shell.term.Term);
    descriptor: (Lio/vertx/ext/shell/term/Term;)Lio/vertx/ext/shell/impl/ShellImpl;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 1 // io.vertx.ext.shell.term.Term term
         0: .line 220
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.closed:Z
            ifeq 2
         1: .line 221
            new java.lang.IllegalStateException
            dup
            ldc "Closed"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 223
      StackMap locals:
      StackMap stack:
            new io.vertx.ext.shell.impl.ShellImpl
            dup
            aload 1 /* term */
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.commandManager:Lio/vertx/ext/shell/system/impl/InternalCommandManager;
            invokespecial io.vertx.ext.shell.impl.ShellImpl.<init>:(Lio/vertx/ext/shell/term/Term;Lio/vertx/ext/shell/system/impl/InternalCommandManager;)V
            areturn
        end local 1 // io.vertx.ext.shell.term.Term term
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0    3     1  term  Lio/vertx/ext/shell/term/Term;
    MethodParameters:
      Name  Flags
      term  

  public void close(io.vertx.core.Handler<io.vertx.core.AsyncResult<java.lang.Void>>);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 1 // io.vertx.core.Handler completionHandler
         0: .line 230
            aload 0 /* this */
            dup
            astore 4
            monitorenter
         1: .line 231
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.closed:Z
            ifeq 5
         2: .line 232
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            astore 2 /* toStop */
        start local 2 // java.util.List toStop
         3: .line 233
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            astore 3 /* toClose */
        start local 3 // java.util.List toClose
         4: .line 234
            goto 12
        end local 3 // java.util.List toClose
        end local 2 // java.util.List toStop
         5: .line 235
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl io.vertx.core.Handler top top io.vertx.ext.shell.impl.ShellServerImpl
      StackMap stack:
            aload 0 /* this */
            iconst_1
            putfield io.vertx.ext.shell.impl.ShellServerImpl.closed:Z
         6: .line 236
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.timerID:J
            ldc -1
            lcmp
            ifeq 8
         7: .line 237
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.vertx:Lio/vertx/core/Vertx;
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.timerID:J
            invokeinterface io.vertx.core.Vertx.cancelTimer:(J)Z
            pop
         8: .line 239
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.termServers:Ljava/util/List;
            astore 2 /* toStop */
        start local 2 // java.util.List toStop
         9: .line 240
            new java.util.ArrayList
            dup
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.sessions:Ljava/util/Map;
            invokeinterface java.util.Map.values:()Ljava/util/Collection;
            invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
            astore 3 /* toClose */
        start local 3 // java.util.List toClose
        10: .line 241
            aload 3 /* toClose */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 12
        11: .line 242
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.sessionsClosed:Lio/vertx/core/Promise;
            invokeinterface io.vertx.core.Promise.complete:()V
        12: .line 230
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl io.vertx.core.Handler java.util.List java.util.List io.vertx.ext.shell.impl.ShellServerImpl
      StackMap stack:
            aload 4
            monitorexit
        13: goto 16
        end local 3 // java.util.List toClose
        end local 2 // java.util.List toStop
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl io.vertx.core.Handler top top io.vertx.ext.shell.impl.ShellServerImpl
      StackMap stack: java.lang.Throwable
        14: aload 4
            monitorexit
        15: athrow
        start local 2 // java.util.List toStop
        start local 3 // java.util.List toClose
        16: .line 246
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl io.vertx.core.Handler java.util.List java.util.List
      StackMap stack:
            aload 2 /* toStop */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 19
            aload 3 /* toClose */
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 19
        17: .line 247
            aload 1 /* completionHandler */
            invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        18: .line 248
            goto 24
        19: .line 249
      StackMap locals:
      StackMap stack:
            new java.util.concurrent.atomic.AtomicInteger
            dup
            iconst_1
            aload 3 /* toClose */
            invokeinterface java.util.List.size:()I
            iadd
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
            astore 4 /* count */
        start local 4 // java.util.concurrent.atomic.AtomicInteger count
        20: .line 250
            aload 4 /* count */
            aload 1 /* completionHandler */
            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/impl/ShellServerImpl.lambda$14(Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/Handler;Lio/vertx/core/AsyncResult;)V (6)
                  (Lio/vertx/core/AsyncResult;)V
            astore 5 /* handler */
        start local 5 // io.vertx.core.Handler handler
        21: .line 255
            aload 3 /* toClose */
            invokedynamic accept()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/impl/ShellImpl.close()V (5)
                  (Lio/vertx/ext/shell/impl/ShellImpl;)V
            invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
        22: .line 256
            aload 2 /* toStop */
            aload 5 /* handler */
            invokedynamic accept(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/impl/ShellServerImpl.lambda$16(Lio/vertx/core/Handler;Lio/vertx/ext/shell/term/TermServer;)V (6)
                  (Lio/vertx/ext/shell/term/TermServer;)V
            invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
        23: .line 257
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.sessionsClosed:Lio/vertx/core/Promise;
            invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
            aload 5 /* handler */
            invokeinterface io.vertx.core.Future.setHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
            pop
        end local 5 // io.vertx.core.Handler handler
        end local 4 // java.util.concurrent.atomic.AtomicInteger count
        24: .line 259
      StackMap locals:
      StackMap stack:
            return
        end local 3 // java.util.List toClose
        end local 2 // java.util.List toStop
        end local 1 // io.vertx.core.Handler completionHandler
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0   25     0               this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0   25     1  completionHandler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
            3    5     2             toStop  Ljava/util/List<Lio/vertx/ext/shell/term/TermServer;>;
            9   14     2             toStop  Ljava/util/List<Lio/vertx/ext/shell/term/TermServer;>;
           16   25     2             toStop  Ljava/util/List<Lio/vertx/ext/shell/term/TermServer;>;
            4    5     3            toClose  Ljava/util/List<Lio/vertx/ext/shell/impl/ShellImpl;>;
           10   14     3            toClose  Ljava/util/List<Lio/vertx/ext/shell/impl/ShellImpl;>;
           16   25     3            toClose  Ljava/util/List<Lio/vertx/ext/shell/impl/ShellImpl;>;
           20   24     4              count  Ljava/util/concurrent/atomic/AtomicInteger;
           21   24     5            handler  Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;
      Exception table:
        from    to  target  type
           1    13      14  any
          14    15      14  any
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;>;)V
    MethodParameters:
                   Name  Flags
      completionHandler  

  public void shellHandler(io.vertx.core.Handler<io.vertx.ext.shell.Shell>);
    descriptor: (Lio/vertx/core/Handler;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 1 // io.vertx.core.Handler shellHandler
         0: .line 263
            aload 0 /* this */
            aload 1 /* shellHandler */
            putfield io.vertx.ext.shell.impl.ShellServerImpl.shellHandler:Lio/vertx/core/Handler;
         1: .line 264
            return
        end local 1 // io.vertx.core.Handler shellHandler
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0    2     1  shellHandler  Lio/vertx/core/Handler<Lio/vertx/ext/shell/Shell;>;
    Signature: (Lio/vertx/core/Handler<Lio/vertx/ext/shell/Shell;>;)V
    MethodParameters:
              Name  Flags
      shellHandler  

  public io.vertx.ext.shell.Shell createShell(io.vertx.ext.shell.term.Term);
    descriptor: (Lio/vertx/ext/shell/term/Term;)Lio/vertx/ext/shell/Shell;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.vertx.ext.shell.impl.ShellServerImpl.createShell:(Lio/vertx/ext/shell/term/Term;)Lio/vertx/ext/shell/impl/ShellImpl;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static java.util.List lambda$0(io.vertx.core.Vertx);
    descriptor: (Lio/vertx/core/Vertx;)Ljava/util/List;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=5, locals=1, args_size=1
         0: .line 99
            iconst_5
            anewarray io.vertx.ext.shell.command.Command
            dup
            iconst_0
         1: .line 94
            ldc "exit"
            invokestatic io.vertx.ext.shell.command.CommandBuilder.command:(Ljava/lang/String;)Lio/vertx/ext/shell/command/CommandBuilder;
            invokedynamic handle()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/impl/ShellServerImpl.lambda$1(Lio/vertx/ext/shell/command/CommandProcess;)V (6)
                  (Lio/vertx/ext/shell/command/CommandProcess;)V
            invokeinterface io.vertx.ext.shell.command.CommandBuilder.processHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/shell/command/CommandBuilder;
            aload 0
            invokeinterface io.vertx.ext.shell.command.CommandBuilder.build:(Lio/vertx/core/Vertx;)Lio/vertx/ext/shell/command/Command;
            aastore
            dup
            iconst_1
         2: .line 95
            ldc "logout"
            invokestatic io.vertx.ext.shell.command.CommandBuilder.command:(Ljava/lang/String;)Lio/vertx/ext/shell/command/CommandBuilder;
            invokedynamic handle()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/impl/ShellServerImpl.lambda$2(Lio/vertx/ext/shell/command/CommandProcess;)V (6)
                  (Lio/vertx/ext/shell/command/CommandProcess;)V
            invokeinterface io.vertx.ext.shell.command.CommandBuilder.processHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/shell/command/CommandBuilder;
            aload 0
            invokeinterface io.vertx.ext.shell.command.CommandBuilder.build:(Lio/vertx/core/Vertx;)Lio/vertx/ext/shell/command/Command;
            aastore
            dup
            iconst_2
         3: .line 96
            ldc "jobs"
            invokestatic io.vertx.ext.shell.command.CommandBuilder.command:(Ljava/lang/String;)Lio/vertx/ext/shell/command/CommandBuilder;
            invokedynamic handle()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/impl/ShellServerImpl.lambda$3(Lio/vertx/ext/shell/command/CommandProcess;)V (6)
                  (Lio/vertx/ext/shell/command/CommandProcess;)V
            invokeinterface io.vertx.ext.shell.command.CommandBuilder.processHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/shell/command/CommandBuilder;
            aload 0
            invokeinterface io.vertx.ext.shell.command.CommandBuilder.build:(Lio/vertx/core/Vertx;)Lio/vertx/ext/shell/command/Command;
            aastore
            dup
            iconst_3
         4: .line 97
            ldc "fg"
            invokestatic io.vertx.ext.shell.command.CommandBuilder.command:(Ljava/lang/String;)Lio/vertx/ext/shell/command/CommandBuilder;
            invokedynamic handle()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/impl/ShellServerImpl.lambda$4(Lio/vertx/ext/shell/command/CommandProcess;)V (6)
                  (Lio/vertx/ext/shell/command/CommandProcess;)V
            invokeinterface io.vertx.ext.shell.command.CommandBuilder.processHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/shell/command/CommandBuilder;
            aload 0
            invokeinterface io.vertx.ext.shell.command.CommandBuilder.build:(Lio/vertx/core/Vertx;)Lio/vertx/ext/shell/command/Command;
            aastore
            dup
            iconst_4
         5: .line 98
            ldc "bg"
            invokestatic io.vertx.ext.shell.command.CommandBuilder.command:(Ljava/lang/String;)Lio/vertx/ext/shell/command/CommandBuilder;
            invokedynamic handle()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/impl/ShellServerImpl.lambda$5(Lio/vertx/ext/shell/command/CommandProcess;)V (6)
                  (Lio/vertx/ext/shell/command/CommandProcess;)V
            invokeinterface io.vertx.ext.shell.command.CommandBuilder.processHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/shell/command/CommandBuilder;
            aload 0
            invokeinterface io.vertx.ext.shell.command.CommandBuilder.build:(Lio/vertx/core/Vertx;)Lio/vertx/ext/shell/command/Command;
            aastore
         6: .line 93
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void lambda$6(io.vertx.ext.shell.impl.ShellImpl, io.vertx.core.AsyncResult);
    descriptor: (Lio/vertx/ext/shell/impl/ShellImpl;Lio/vertx/core/AsyncResult;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=5, args_size=3
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 2 // io.vertx.core.AsyncResult ar
         0: .line 126
            aload 0 /* this */
            dup
            astore 4
            monitorenter
         1: .line 127
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.sessions:Ljava/util/Map;
            aload 1
            getfield io.vertx.ext.shell.impl.ShellImpl.id:Ljava/lang/String;
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 128
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.sessions:Ljava/util/Map;
            invokeinterface java.util.Map.isEmpty:()Z
            ifeq 3
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.closed:Z
            ifeq 3
            iconst_1
            goto 4
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl io.vertx.ext.shell.impl.ShellImpl io.vertx.core.AsyncResult top io.vertx.ext.shell.impl.ShellServerImpl
      StackMap stack:
         3: iconst_0
      StackMap locals:
      StackMap stack: int
         4: istore 3 /* completeSessionClosed */
        start local 3 // boolean completeSessionClosed
         5: .line 126
            aload 4
            monitorexit
         6: goto 9
        end local 3 // boolean completeSessionClosed
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 4
            monitorexit
         8: athrow
        start local 3 // boolean completeSessionClosed
         9: .line 130
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl io.vertx.ext.shell.impl.ShellImpl io.vertx.core.AsyncResult int
      StackMap stack:
            iload 3 /* completeSessionClosed */
            ifeq 11
        10: .line 131
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.sessionsClosed:Lio/vertx/core/Promise;
            invokeinterface io.vertx.core.Promise.complete:()V
        end local 3 // boolean completeSessionClosed
        11: .line 133
      StackMap locals:
      StackMap stack:
            return
        end local 2 // io.vertx.core.AsyncResult ar
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0   12     0                   this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0   12     2                     ar  Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
            5    7     3  completeSessionClosed  Z
            9   11     3  completeSessionClosed  Z
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any

  private void lambda$7(java.util.concurrent.atomic.AtomicBoolean, java.util.concurrent.atomic.AtomicInteger, io.vertx.core.Handler, java.util.List, io.vertx.core.AsyncResult);
    descriptor: (Ljava/util/concurrent/atomic/AtomicBoolean;Ljava/util/concurrent/atomic/AtomicInteger;Lio/vertx/core/Handler;Ljava/util/List;Lio/vertx/core/AsyncResult;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=7, args_size=6
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 5 // io.vertx.core.AsyncResult ar
         0: .line 161
            aload 5 /* ar */
            invokeinterface io.vertx.core.AsyncResult.failed:()Z
            ifeq 2
         1: .line 162
            aload 1
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
         2: .line 164
      StackMap locals:
      StackMap stack:
            aload 2
            invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
            ifne 15
         3: .line 165
            aload 1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
            ifeq 7
         4: .line 166
            aload 3
            aload 5 /* ar */
            invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
            invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         5: .line 167
            aload 4
            invokedynamic accept()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/term/TermServer.close()V (9 itf)
                  (Lio/vertx/ext/shell/term/TermServer;)V
            invokeinterface java.util.List.forEach:(Ljava/util/function/Consumer;)V
         6: .line 168
            goto 15
         7: .line 169
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 6
            monitorenter
         8: .line 170
            aload 0 /* this */
            iconst_0
            putfield io.vertx.ext.shell.impl.ShellServerImpl.closed:Z
         9: .line 169
            aload 6
            monitorexit
        10: goto 13
      StackMap locals: io.vertx.ext.shell.impl.ShellServerImpl java.util.concurrent.atomic.AtomicBoolean java.util.concurrent.atomic.AtomicInteger io.vertx.core.Handler java.util.List io.vertx.core.AsyncResult io.vertx.ext.shell.impl.ShellServerImpl
      StackMap stack: java.lang.Throwable
        11: aload 6
            monitorexit
        12: athrow
        13: .line 172
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.vertx.ext.shell.impl.ShellServerImpl.setTimer:()V
        14: .line 173
            aload 3
            invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
        15: .line 176
      StackMap locals:
      StackMap stack:
            return
        end local 5 // io.vertx.core.AsyncResult ar
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   16     0  this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0   16     5    ar  Lio/vertx/core/AsyncResult<Lio/vertx/ext/shell/term/TermServer;>;
      Exception table:
        from    to  target  type
           8    10      11  any
          11    12      11  any

  private void lambda$9(io.vertx.core.Handler, io.vertx.ext.shell.term.TermServer);
    descriptor: (Lio/vertx/core/Handler;Lio/vertx/ext/shell/term/TermServer;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 2 // io.vertx.ext.shell.term.TermServer termServer
         0: .line 178
            aload 2 /* termServer */
            instanceof io.vertx.ext.shell.term.impl.SSHServer
            ifeq 2
         1: .line 179
            aload 2 /* termServer */
            checkcast io.vertx.ext.shell.term.impl.SSHServer
            aload 0 /* this */
            invokedynamic handle(Lio/vertx/ext/shell/impl/ShellServerImpl;)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/impl/ShellServerImpl.lambda$10(Lio/vertx/ext/shell/term/impl/SSHExec;)V (7)
                  (Lio/vertx/ext/shell/term/impl/SSHExec;)V
            invokevirtual io.vertx.ext.shell.term.impl.SSHServer.setExecHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/shell/term/TermServer;
            pop
         2: .line 187
      StackMap locals:
      StackMap stack:
            aload 2 /* termServer */
            aload 0 /* this */
            invokedynamic handle(Lio/vertx/ext/shell/impl/ShellServerImpl;)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/impl/ShellServerImpl.handleTerm(Lio/vertx/ext/shell/term/Term;)V (7)
                  (Lio/vertx/ext/shell/term/Term;)V
            invokeinterface io.vertx.ext.shell.term.TermServer.termHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/shell/term/TermServer;
            pop
         3: .line 188
            aload 2 /* termServer */
            aload 1
            invokeinterface io.vertx.ext.shell.term.TermServer.listen:(Lio/vertx/core/Handler;)Lio/vertx/ext/shell/term/TermServer;
            pop
         4: .line 189
            return
        end local 2 // io.vertx.ext.shell.term.TermServer termServer
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0        this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0    5     2  termServer  Lio/vertx/ext/shell/term/TermServer;

  private static void lambda$14(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 ar
         0: .line 251
            aload 0
            invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
            ifne 2
         1: .line 252
            aload 1
            invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         2: .line 254
      StackMap locals:
      StackMap stack:
            return
        end local 2 // io.vertx.core.AsyncResult ar
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     2    ar  Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;

  private static void lambda$16(io.vertx.core.Handler, io.vertx.ext.shell.term.TermServer);
    descriptor: (Lio/vertx/core/Handler;Lio/vertx/ext/shell/term/TermServer;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
        start local 1 // io.vertx.ext.shell.term.TermServer termServer
         0: .line 256
            aload 1 /* termServer */
            aload 0
            invokeinterface io.vertx.ext.shell.term.TermServer.close:(Lio/vertx/core/Handler;)V
            return
        end local 1 // io.vertx.ext.shell.term.TermServer termServer
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    1     1  termServer  Lio/vertx/ext/shell/term/TermServer;

  private static void lambda$1(io.vertx.ext.shell.command.CommandProcess);
    descriptor: (Lio/vertx/ext/shell/command/CommandProcess;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // io.vertx.ext.shell.command.CommandProcess process
         0: .line 94
            return
        end local 0 // io.vertx.ext.shell.command.CommandProcess process
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  process  Lio/vertx/ext/shell/command/CommandProcess;

  private static void lambda$2(io.vertx.ext.shell.command.CommandProcess);
    descriptor: (Lio/vertx/ext/shell/command/CommandProcess;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // io.vertx.ext.shell.command.CommandProcess process
         0: .line 95
            return
        end local 0 // io.vertx.ext.shell.command.CommandProcess process
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  process  Lio/vertx/ext/shell/command/CommandProcess;

  private static void lambda$3(io.vertx.ext.shell.command.CommandProcess);
    descriptor: (Lio/vertx/ext/shell/command/CommandProcess;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // io.vertx.ext.shell.command.CommandProcess process
         0: .line 96
            return
        end local 0 // io.vertx.ext.shell.command.CommandProcess process
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  process  Lio/vertx/ext/shell/command/CommandProcess;

  private static void lambda$4(io.vertx.ext.shell.command.CommandProcess);
    descriptor: (Lio/vertx/ext/shell/command/CommandProcess;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // io.vertx.ext.shell.command.CommandProcess process
         0: .line 97
            return
        end local 0 // io.vertx.ext.shell.command.CommandProcess process
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  process  Lio/vertx/ext/shell/command/CommandProcess;

  private static void lambda$5(io.vertx.ext.shell.command.CommandProcess);
    descriptor: (Lio/vertx/ext/shell/command/CommandProcess;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // io.vertx.ext.shell.command.CommandProcess process
         0: .line 98
            return
        end local 0 // io.vertx.ext.shell.command.CommandProcess process
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  process  Lio/vertx/ext/shell/command/CommandProcess;

  private void lambda$10(io.vertx.ext.shell.term.impl.SSHExec);
    descriptor: (Lio/vertx/ext/shell/term/impl/SSHExec;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
        start local 1 // io.vertx.ext.shell.term.impl.SSHExec exec
         0: .line 180
            aload 0 /* this */
            getfield io.vertx.ext.shell.impl.ShellServerImpl.commandManager:Lio/vertx/ext/shell/system/impl/InternalCommandManager;
            aload 1 /* exec */
            invokevirtual io.vertx.ext.shell.term.impl.SSHExec.command:()Ljava/lang/String;
            invokevirtual io.vertx.ext.shell.system.impl.InternalCommandManager.createProcess:(Ljava/lang/String;)Lio/vertx/ext/shell/system/Process;
            astore 2 /* process */
        start local 2 // io.vertx.ext.shell.system.Process process
         1: .line 181
            aload 2 /* process */
            new io.vertx.ext.shell.session.impl.SessionImpl
            dup
            invokespecial io.vertx.ext.shell.session.impl.SessionImpl.<init>:()V
            invokeinterface io.vertx.ext.shell.system.Process.setSession:(Lio/vertx/ext/shell/session/Session;)Lio/vertx/ext/shell/system/Process;
            pop
         2: .line 182
            aload 2 /* process */
            aload 1 /* exec */
            invokeinterface io.vertx.ext.shell.system.Process.setTty:(Lio/vertx/ext/shell/term/Tty;)Lio/vertx/ext/shell/system/Process;
            pop
         3: .line 183
            aload 2 /* process */
            aload 1 /* exec */
            dup
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            pop
            invokedynamic handle(Lio/vertx/ext/shell/term/impl/SSHExec;)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/term/impl/SSHExec.end(I)V (5)
                  (Ljava/lang/Integer;)V
            invokeinterface io.vertx.ext.shell.system.Process.terminatedHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/shell/system/Process;
            pop
         4: .line 184
            aload 2 /* process */
            iconst_1
            invokeinterface io.vertx.ext.shell.system.Process.run:(Z)V
        end local 2 // io.vertx.ext.shell.system.Process process
         5: .line 185
            return
        end local 1 // io.vertx.ext.shell.term.impl.SSHExec exec
        end local 0 // io.vertx.ext.shell.impl.ShellServerImpl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lio/vertx/ext/shell/impl/ShellServerImpl;
            0    6     1     exec  Lio/vertx/ext/shell/term/impl/SSHExec;
            1    5     2  process  Lio/vertx/ext/shell/system/Process;
}
SourceFile: "ShellServerImpl.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles