class io.vertx.core.file.impl.AsyncFileImpl$1 implements java.nio.channels.CompletionHandler<java.lang.Integer, java.lang.Object>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: io.vertx.core.file.impl.AsyncFileImpl$1
  super_class: java.lang.Object
{
  final io.vertx.core.file.impl.AsyncFileImpl this$0;
    descriptor: Lio/vertx/core/file/impl/AsyncFileImpl;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  private final long val$position;
    descriptor: J
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  private final java.nio.ByteBuffer val$buff;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  private final io.vertx.core.Handler val$handler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC

  void <init>(io.vertx.core.file.impl.AsyncFileImpl, long, java.nio.ByteBuffer, io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/file/impl/AsyncFileImpl;JLjava/nio/ByteBuffer;Lio/vertx/core/Handler;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=6, args_size=5
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl$1 this
         0: .line 467
            aload 0 /* this */
            aload 1
            putfield io.vertx.core.file.impl.AsyncFileImpl$1.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
            aload 0 /* this */
            lload 2
            putfield io.vertx.core.file.impl.AsyncFileImpl$1.val$position:J
            aload 0 /* this */
            aload 4
            putfield io.vertx.core.file.impl.AsyncFileImpl$1.val$buff:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            aload 5
            putfield io.vertx.core.file.impl.AsyncFileImpl$1.val$handler:Lio/vertx/core/Handler;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/vertx/core/file/impl/AsyncFileImpl$1;
    MethodParameters:
              Name  Flags
      this$0        final
      val$position  final
      val$buff      final
      val$handler   final

  public void completed(java.lang.Integer, java.lang.Object);
    descriptor: (Ljava/lang/Integer;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=3
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl$1 this
        start local 1 // java.lang.Integer bytesWritten
        start local 2 // java.lang.Object attachment
         0: .line 471
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.val$position:J
            lstore 3 /* pos */
        start local 3 // long pos
         1: .line 473
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.val$buff:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 5
         2: .line 475
            lload 3 /* pos */
            aload 1 /* bytesWritten */
            invokevirtual java.lang.Integer.intValue:()I
            i2l
            ladd
            lstore 3 /* pos */
         3: .line 477
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.val$buff:Ljava/nio/ByteBuffer;
            lload 3 /* pos */
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.val$handler:Lio/vertx/core/Handler;
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl.writeInternal:(Ljava/nio/ByteBuffer;JLio/vertx/core/Handler;)V
         4: .line 478
            goto 6
         5: .line 480
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
            getfield io.vertx.core.file.impl.AsyncFileImpl.context:Lio/vertx/core/impl/ContextInternal;
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.val$buff:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.val$handler:Lio/vertx/core/Handler;
            invokedynamic handle(Lio/vertx/core/file/impl/AsyncFileImpl$1;Ljava/nio/ByteBuffer;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/core/file/impl/AsyncFileImpl$1.lambda$0(Ljava/nio/ByteBuffer;Lio/vertx/core/Handler;Ljava/lang/Void;)V (7)
                  (Ljava/lang/Void;)V
            invokeinterface io.vertx.core.impl.ContextInternal.runOnContext:(Lio/vertx/core/Handler;)V
         6: .line 487
      StackMap locals:
      StackMap stack:
            return
        end local 3 // long pos
        end local 2 // java.lang.Object attachment
        end local 1 // java.lang.Integer bytesWritten
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl$1 this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0          this  Lio/vertx/core/file/impl/AsyncFileImpl$1;
            0    7     1  bytesWritten  Ljava/lang/Integer;
            0    7     2    attachment  Ljava/lang/Object;
            1    7     3           pos  J
    MethodParameters:
              Name  Flags
      bytesWritten  
      attachment    

  public void failed(java.lang.Throwable, java.lang.Object);
    descriptor: (Ljava/lang/Throwable;Ljava/lang/Object;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl$1 this
        start local 1 // java.lang.Throwable exc
        start local 2 // java.lang.Object attachment
         0: .line 490
            aload 1 /* exc */
            instanceof java.lang.Exception
            ifeq 3
         1: .line 491
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
            getfield io.vertx.core.file.impl.AsyncFileImpl.context:Lio/vertx/core/impl/ContextInternal;
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.val$buff:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.val$handler:Lio/vertx/core/Handler;
            aload 1 /* exc */
            invokedynamic handle(Lio/vertx/core/file/impl/AsyncFileImpl$1;Ljava/nio/ByteBuffer;Lio/vertx/core/Handler;Ljava/lang/Throwable;)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/core/file/impl/AsyncFileImpl$1.lambda$1(Ljava/nio/ByteBuffer;Lio/vertx/core/Handler;Ljava/lang/Throwable;Ljava/lang/Void;)V (7)
                  (Ljava/lang/Void;)V
            invokeinterface io.vertx.core.impl.ContextInternal.runOnContext:(Lio/vertx/core/Handler;)V
         2: .line 497
            goto 4
         3: .line 498
      StackMap locals:
      StackMap stack:
            getstatic io.vertx.core.file.impl.AsyncFileImpl.log:Lio/vertx/core/impl/logging/Logger;
            ldc "Error occurred"
            aload 1 /* exc */
            invokeinterface io.vertx.core.impl.logging.Logger.error:(Ljava/lang/Object;Ljava/lang/Throwable;)V
         4: .line 500
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Object attachment
        end local 1 // java.lang.Throwable exc
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl$1 this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    5     0        this  Lio/vertx/core/file/impl/AsyncFileImpl$1;
            0    5     1         exc  Ljava/lang/Throwable;
            0    5     2  attachment  Ljava/lang/Object;
    MethodParameters:
            Name  Flags
      exc         
      attachment  

  public void completed(java.lang.Object, java.lang.Object);
    descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 1
            aload 0
            aload 1
            checkcast java.lang.Integer
            aload 2
            checkcast java.lang.Object
            invokevirtual io.vertx.core.file.impl.AsyncFileImpl$1.completed:(Ljava/lang/Integer;Ljava/lang/Object;)V
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void lambda$0(java.nio.ByteBuffer, io.vertx.core.Handler, java.lang.Void);
    descriptor: (Ljava/nio/ByteBuffer;Lio/vertx/core/Handler;Ljava/lang/Void;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl$1 this
        start local 3 // java.lang.Void v
         0: .line 481
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
            dup
            astore 4
            monitorenter
         1: .line 482
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
            dup
            getfield io.vertx.core.file.impl.AsyncFileImpl.writesOutstanding:J
            aload 1
            invokevirtual java.nio.ByteBuffer.limit:()I
            i2l
            lsub
            putfield io.vertx.core.file.impl.AsyncFileImpl.writesOutstanding:J
         2: .line 481
            aload 4
            monitorexit
         3: goto 6
      StackMap locals: io.vertx.core.file.impl.AsyncFileImpl$1 java.nio.ByteBuffer io.vertx.core.Handler java.lang.Void io.vertx.core.file.impl.AsyncFileImpl
      StackMap stack: java.lang.Throwable
         4: aload 4
            monitorexit
         5: athrow
         6: .line 484
      StackMap locals:
      StackMap stack:
            aload 2
            invokestatic io.vertx.core.Future.succeededFuture:()Lio/vertx/core/Future;
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         7: .line 485
            return
        end local 3 // java.lang.Void v
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lio/vertx/core/file/impl/AsyncFileImpl$1;
            0    8     3     v  Ljava/lang/Void;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any

  private void lambda$1(java.nio.ByteBuffer, io.vertx.core.Handler, java.lang.Throwable, java.lang.Void);
    descriptor: (Ljava/nio/ByteBuffer;Lio/vertx/core/Handler;Ljava/lang/Throwable;Ljava/lang/Void;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=5, locals=6, args_size=5
        start local 0 // io.vertx.core.file.impl.AsyncFileImpl$1 this
        start local 4 // java.lang.Void v
         0: .line 492
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
            dup
            astore 5
            monitorenter
         1: .line 493
            aload 0 /* this */
            getfield io.vertx.core.file.impl.AsyncFileImpl$1.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
            dup
            getfield io.vertx.core.file.impl.AsyncFileImpl.writesOutstanding:J
            aload 1
            invokevirtual java.nio.ByteBuffer.limit:()I
            i2l
            lsub
            putfield io.vertx.core.file.impl.AsyncFileImpl.writesOutstanding:J
         2: .line 492
            aload 5
            monitorexit
         3: goto 6
      StackMap locals: io.vertx.core.file.impl.AsyncFileImpl$1 java.nio.ByteBuffer io.vertx.core.Handler java.lang.Throwable java.lang.Void io.vertx.core.file.impl.AsyncFileImpl
      StackMap stack: java.lang.Throwable
         4: aload 5
            monitorexit
         5: athrow
         6: .line 495
      StackMap locals:
      StackMap stack:
            aload 2
            aload 3
            invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
         7: .line 496
            return
        end local 4 // java.lang.Void v
        end local 0 // io.vertx.core.file.impl.AsyncFileImpl$1 this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lio/vertx/core/file/impl/AsyncFileImpl$1;
            0    8     4     v  Ljava/lang/Void;
      Exception table:
        from    to  target  type
           1     3       4  any
           4     5       4  any
}
Signature: Ljava/lang/Object;Ljava/nio/channels/CompletionHandler<Ljava/lang/Integer;Ljava/lang/Object;>;
SourceFile: "AsyncFileImpl.java"
EnclosingMethod: io.vertx.core.file.impl.AsyncFileImpl.writeInternal:(Ljava/nio/ByteBuffer;JLio/vertx/core/Handler;)V
NestHost: io.vertx.core.file.impl.AsyncFileImpl
InnerClasses:
  io.vertx.core.file.impl.AsyncFileImpl$1
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles