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.Promise val$promise;
descriptor: Lio/vertx/core/Promise;
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.Promise);
descriptor: (Lio/vertx/core/file/impl/AsyncFileImpl;JLjava/nio/ByteBuffer;Lio/vertx/core/buffer/Buffer;ILio/vertx/core/Promise;)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$promise:Lio/vertx/core/Promise;
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$promise final
private void done();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$buff:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.flip:()Ljava/nio/Buffer;
pop
1: 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;
invokeinterface io.vertx.core.buffer.Buffer.setBytes:(ILjava/nio/ByteBuffer;)Lio/vertx/core/buffer/Buffer;
pop
2: aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$buff:Ljava/nio/ByteBuffer;
invokevirtual java.nio.ByteBuffer.compact:()Ljava/nio/ByteBuffer;
pop
3: aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$promise:Lio/vertx/core/Promise;
aload 0
getfield io.vertx.core.file.impl.AsyncFileImpl$2.val$writeBuff:Lio/vertx/core/buffer/Buffer;
invokeinterface io.vertx.core.Promise.complete:(Ljava/lang/Object;)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 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$promise:Lio/vertx/core/Promise;
invokevirtual io.vertx.core.file.impl.AsyncFileImpl.doRead:(Lio/vertx/core/buffer/Buffer;ILjava/nio/ByteBuffer;JLio/vertx/core/Promise;)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=2, 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.val$promise:Lio/vertx/core/Promise;
aload 1
invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)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
}
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/Promise;)V
NestHost: io.vertx.core.file.impl.AsyncFileImpl
InnerClasses:
io.vertx.core.file.impl.AsyncFileImpl$2