final class com.mongodb.connection.netty.NettyBufferProvider implements com.mongodb.connection.BufferProvider
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.mongodb.connection.netty.NettyBufferProvider
super_class: java.lang.Object
{
private final io.netty.buffer.ByteBufAllocator allocator;
descriptor: Lio/netty/buffer/ByteBufAllocator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic io.netty.buffer.PooledByteBufAllocator.DEFAULT:Lio/netty/buffer/PooledByteBufAllocator;
putfield com.mongodb.connection.netty.NettyBufferProvider.allocator:Lio/netty/buffer/ByteBufAllocator;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/connection/netty/NettyBufferProvider;
void <init>(io.netty.buffer.ByteBufAllocator);
descriptor: (Lio/netty/buffer/ByteBufAllocator;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.mongodb.connection.netty.NettyBufferProvider.allocator:Lio/netty/buffer/ByteBufAllocator;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/connection/netty/NettyBufferProvider;
0 3 1 allocator Lio/netty/buffer/ByteBufAllocator;
MethodParameters:
Name Flags
allocator final
public org.bson.ByteBuf getBuffer(int);
descriptor: (I)Lorg/bson/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new com.mongodb.connection.netty.NettyByteBuf
dup
aload 0
getfield com.mongodb.connection.netty.NettyBufferProvider.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
iload 1
invokeinterface io.netty.buffer.ByteBufAllocator.directBuffer:(II)Lio/netty/buffer/ByteBuf;
invokespecial com.mongodb.connection.netty.NettyByteBuf.<init>:(Lio/netty/buffer/ByteBuf;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/connection/netty/NettyBufferProvider;
0 1 1 size I
MethodParameters:
Name Flags
size final
}
SourceFile: "NettyBufferProvider.java"