class io.vertx.core.file.impl.AsyncFileImpl$2 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$2
super_class: java.lang.Object
{
long pos;
descriptor: J
flags: (0x0000)
final io.vertx.core.file.impl.AsyncFileImpl this$0;
descriptor: Lio/vertx/core/file/impl/AsyncFileImpl;
flags: (0x1010) 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.buffer.Buffer val$writeBuff;
descriptor: Lio/vertx/core/buffer/Buffer;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final int val$offset;
descriptor: I
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.buffer.Buffer, int, io.vertx.core.Handler);
descriptor: (Lio/vertx/core/file/impl/AsyncFileImpl;JLjava/nio/ByteBuffer;Lio/vertx/core/buffer/Buffer;ILio/vertx/core/Handler;)V
flags: (0x0000)
Code:
stack=3, locals=8, args_size=7
start local 0 0: aload 0
aload 1
putfield io.vertx.core.file.impl.AsyncFileImpl$2.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
aload 0
aload 4
putfield io.vertx.core.file.impl.AsyncFileImpl$2.val$buff:Ljava/nio/ByteBuffer;
aload 0
aload 5
putfield io.vertx.core.file.impl.AsyncFileImpl$2.val$writeBuff:Lio/vertx/core/buffer/Buffer;
aload 0
iload 6
putfield io.vertx.core.file.impl.AsyncFileImpl$2.val$offset:I
aload 0
aload 7
putfield io.vertx.core.file.impl.AsyncFileImpl$2.val$handler:Lio/vertx/core/Handler;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 2
putfield io.vertx.core.file.impl.AsyncFileImpl$2.pos:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/file/impl/AsyncFileImpl$2;
MethodParameters:
Name Flags
this$0 final
val$position final
val$buff final
val$writeBuff final
val$offset final
val$handler final
private void done();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
getfield io.vertx.core.file.impl.AsyncFileImpl.context:Lio/vertx/core/impl/ContextInternal;
aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$buff:Ljava/nio/ByteBuffer;
aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$writeBuff:Lio/vertx/core/buffer/Buffer;
aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$offset:I
aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$handler:Lio/vertx/core/Handler;
invokedynamic handle(Ljava/nio/ByteBuffer;Lio/vertx/core/buffer/Buffer;ILio/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$2.lambda$0(Ljava/nio/ByteBuffer;Lio/vertx/core/buffer/Buffer;ILio/vertx/core/Handler;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.runOnContext:(Lio/vertx/core/Handler;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/file/impl/AsyncFileImpl$2;
public void completed(java.lang.Integer, java.lang.Object);
descriptor: (Ljava/lang/Integer;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual java.lang.Integer.intValue:()I
iconst_m1
if_icmpne 3
1: aload 0
invokevirtual io.vertx.core.file.impl.AsyncFileImpl$2.done:()V
2: goto 8
StackMap locals:
StackMap stack:
3: aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$buff:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
ifeq 7
4: aload 0
dup
getfield io.vertx.core.file.impl.AsyncFileImpl$2.pos:J
aload 1
invokevirtual java.lang.Integer.intValue:()I
i2l
ladd
putfield io.vertx.core.file.impl.AsyncFileImpl$2.pos:J
5: aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$writeBuff:Lio/vertx/core/buffer/Buffer;
aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$offset:I
aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$buff:Ljava/nio/ByteBuffer;
aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.pos:J
aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$handler:Lio/vertx/core/Handler;
invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doRead:(Lio/vertx/core/buffer/Buffer;ILjava/nio/ByteBuffer;JLio/vertx/core/Handler;)V
6: goto 8
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.vertx.core.file.impl.AsyncFileImpl$2.done:()V
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/vertx/core/file/impl/AsyncFileImpl$2;
0 9 1 bytesRead Ljava/lang/Integer;
0 9 2 attachment Ljava/lang/Object;
MethodParameters:
Name Flags
bytesRead
attachment
public void failed(java.lang.Throwable, java.lang.Object);
descriptor: (Ljava/lang/Throwable;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.this$0:Lio/vertx/core/file/impl/AsyncFileImpl;
getfield io.vertx.core.file.impl.AsyncFileImpl.context:Lio/vertx/core/impl/ContextInternal;
aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$handler:Lio/vertx/core/Handler;
aload 1
invokedynamic handle(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$2.lambda$1(Lio/vertx/core/Handler;Ljava/lang/Throwable;Ljava/lang/Void;)V (6)
(Ljava/lang/Void;)V
invokeinterface io.vertx.core.impl.ContextInternal.runOnContext:(Lio/vertx/core/Handler;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/file/impl/AsyncFileImpl$2;
0 2 1 t Ljava/lang/Throwable;
0 2 2 attachment Ljava/lang/Object;
MethodParameters:
Name Flags
t
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: aload 0
aload 1
checkcast java.lang.Integer
aload 2
checkcast java.lang.Object
invokevirtual io.vertx.core.file.impl.AsyncFileImpl$2.completed:(Ljava/lang/Integer;Ljava/lang/Object;)V
return
LocalVariableTable:
Start End Slot Name Signature
private static void lambda$0(java.nio.ByteBuffer, io.vertx.core.buffer.Buffer, int, io.vertx.core.Handler, java.lang.Void);
descriptor: (Ljava/nio/ByteBuffer;Lio/vertx/core/buffer/Buffer;ILio/vertx/core/Handler;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=5
start local 4 0: aload 0
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
1: aload 1
iload 2
aload 0
invokeinterface io.vertx.core.buffer.Buffer.setBytes:(ILjava/nio/ByteBuffer;)Lio/vertx/core/buffer/Buffer;
pop
2: aload 0
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
pop
3: aload 3
aload 1
invokestatic io.vertx.core.Future.succeededFuture:(Ljava/lang/Object;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
4: return
end local 4 LocalVariableTable:
Start End Slot Name Signature
0 5 4 v Ljava/lang/Void;
private static void lambda$1(io.vertx.core.Handler, java.lang.Throwable, java.lang.Void);
descriptor: (Lio/vertx/core/Handler;Ljava/lang/Throwable;Ljava/lang/Void;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=3, args_size=3
start local 2 0: aload 0
aload 1
invokestatic io.vertx.core.Future.failedFuture:(Ljava/lang/Throwable;)Lio/vertx/core/Future;
invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
return
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 v Ljava/lang/Void;
}
Signature: Ljava/lang/Object;Ljava/nio/channels/CompletionHandler<Ljava/lang/Integer;Ljava/lang/Object;>;
SourceFile: "AsyncFileImpl.java"
EnclosingMethod: io.vertx.core.file.impl.AsyncFileImpl.doRead:(Lio/vertx/core/buffer/Buffer;ILjava/nio/ByteBuffer;JLio/vertx/core/Handler;)V
NestHost: io.vertx.core.file.impl.AsyncFileImpl
InnerClasses:
io.vertx.core.file.impl.AsyncFileImpl$2
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles