public final class io.netty.channel.PreferHeapByteBufAllocator implements io.netty.buffer.ByteBufAllocator
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.channel.PreferHeapByteBufAllocator
super_class: java.lang.Object
{
private final io.netty.buffer.ByteBufAllocator allocator;
descriptor: Lio/netty/buffer/ByteBufAllocator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(io.netty.buffer.ByteBufAllocator);
descriptor: (Lio/netty/buffer/ByteBufAllocator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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
ldc "allocator"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.netty.buffer.ByteBufAllocator
putfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 3 1 allocator Lio/netty/buffer/ByteBufAllocator;
MethodParameters:
Name Flags
allocator
public io.netty.buffer.ByteBuf buffer();
descriptor: ()Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
invokeinterface io.netty.buffer.ByteBufAllocator.heapBuffer:()Lio/netty/buffer/ByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
public io.netty.buffer.ByteBuf buffer(int);
descriptor: (I)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
invokeinterface io.netty.buffer.ByteBufAllocator.heapBuffer:(I)Lio/netty/buffer/ByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 initialCapacity I
MethodParameters:
Name Flags
initialCapacity
public io.netty.buffer.ByteBuf buffer(int, int);
descriptor: (II)Lio/netty/buffer/ByteBuf;
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.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
iload 2
invokeinterface io.netty.buffer.ByteBufAllocator.heapBuffer:(II)Lio/netty/buffer/ByteBuf;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 initialCapacity I
0 1 2 maxCapacity I
MethodParameters:
Name Flags
initialCapacity
maxCapacity
public io.netty.buffer.ByteBuf ioBuffer();
descriptor: ()Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
invokeinterface io.netty.buffer.ByteBufAllocator.heapBuffer:()Lio/netty/buffer/ByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
public io.netty.buffer.ByteBuf ioBuffer(int);
descriptor: (I)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
invokeinterface io.netty.buffer.ByteBufAllocator.heapBuffer:(I)Lio/netty/buffer/ByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 initialCapacity I
MethodParameters:
Name Flags
initialCapacity
public io.netty.buffer.ByteBuf ioBuffer(int, int);
descriptor: (II)Lio/netty/buffer/ByteBuf;
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.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
iload 2
invokeinterface io.netty.buffer.ByteBufAllocator.heapBuffer:(II)Lio/netty/buffer/ByteBuf;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 initialCapacity I
0 1 2 maxCapacity I
MethodParameters:
Name Flags
initialCapacity
maxCapacity
public io.netty.buffer.ByteBuf heapBuffer();
descriptor: ()Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
invokeinterface io.netty.buffer.ByteBufAllocator.heapBuffer:()Lio/netty/buffer/ByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
public io.netty.buffer.ByteBuf heapBuffer(int);
descriptor: (I)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
invokeinterface io.netty.buffer.ByteBufAllocator.heapBuffer:(I)Lio/netty/buffer/ByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 initialCapacity I
MethodParameters:
Name Flags
initialCapacity
public io.netty.buffer.ByteBuf heapBuffer(int, int);
descriptor: (II)Lio/netty/buffer/ByteBuf;
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.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
iload 2
invokeinterface io.netty.buffer.ByteBufAllocator.heapBuffer:(II)Lio/netty/buffer/ByteBuf;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 initialCapacity I
0 1 2 maxCapacity I
MethodParameters:
Name Flags
initialCapacity
maxCapacity
public io.netty.buffer.ByteBuf directBuffer();
descriptor: ()Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
invokeinterface io.netty.buffer.ByteBufAllocator.directBuffer:()Lio/netty/buffer/ByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
public io.netty.buffer.ByteBuf directBuffer(int);
descriptor: (I)Lio/netty/buffer/ByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
invokeinterface io.netty.buffer.ByteBufAllocator.directBuffer:(I)Lio/netty/buffer/ByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 initialCapacity I
MethodParameters:
Name Flags
initialCapacity
public io.netty.buffer.ByteBuf directBuffer(int, int);
descriptor: (II)Lio/netty/buffer/ByteBuf;
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.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
iload 2
invokeinterface io.netty.buffer.ByteBufAllocator.directBuffer:(II)Lio/netty/buffer/ByteBuf;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 initialCapacity I
0 1 2 maxCapacity I
MethodParameters:
Name Flags
initialCapacity
maxCapacity
public io.netty.buffer.CompositeByteBuf compositeBuffer();
descriptor: ()Lio/netty/buffer/CompositeByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
invokeinterface io.netty.buffer.ByteBufAllocator.compositeHeapBuffer:()Lio/netty/buffer/CompositeByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
public io.netty.buffer.CompositeByteBuf compositeBuffer(int);
descriptor: (I)Lio/netty/buffer/CompositeByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
invokeinterface io.netty.buffer.ByteBufAllocator.compositeHeapBuffer:(I)Lio/netty/buffer/CompositeByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 maxNumComponents I
MethodParameters:
Name Flags
maxNumComponents
public io.netty.buffer.CompositeByteBuf compositeHeapBuffer();
descriptor: ()Lio/netty/buffer/CompositeByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
invokeinterface io.netty.buffer.ByteBufAllocator.compositeHeapBuffer:()Lio/netty/buffer/CompositeByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
public io.netty.buffer.CompositeByteBuf compositeHeapBuffer(int);
descriptor: (I)Lio/netty/buffer/CompositeByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
invokeinterface io.netty.buffer.ByteBufAllocator.compositeHeapBuffer:(I)Lio/netty/buffer/CompositeByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 maxNumComponents I
MethodParameters:
Name Flags
maxNumComponents
public io.netty.buffer.CompositeByteBuf compositeDirectBuffer();
descriptor: ()Lio/netty/buffer/CompositeByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
invokeinterface io.netty.buffer.ByteBufAllocator.compositeDirectBuffer:()Lio/netty/buffer/CompositeByteBuf;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
public io.netty.buffer.CompositeByteBuf compositeDirectBuffer(int);
descriptor: (I)Lio/netty/buffer/CompositeByteBuf;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
invokeinterface io.netty.buffer.ByteBufAllocator.compositeDirectBuffer:(I)Lio/netty/buffer/CompositeByteBuf;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 maxNumComponents I
MethodParameters:
Name Flags
maxNumComponents
public boolean isDirectBufferPooled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
invokeinterface io.netty.buffer.ByteBufAllocator.isDirectBufferPooled:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
public int calculateNewCapacity(int, int);
descriptor: (II)I
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.netty.channel.PreferHeapByteBufAllocator.allocator:Lio/netty/buffer/ByteBufAllocator;
iload 1
iload 2
invokeinterface io.netty.buffer.ByteBufAllocator.calculateNewCapacity:(II)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/PreferHeapByteBufAllocator;
0 1 1 minNewCapacity I
0 1 2 maxCapacity I
MethodParameters:
Name Flags
minNewCapacity
maxCapacity
}
SourceFile: "PreferHeapByteBufAllocator.java"