public final class io.netty.channel.DefaultMessageSizeEstimator implements io.netty.channel.MessageSizeEstimator
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.channel.DefaultMessageSizeEstimator
super_class: java.lang.Object
{
public static final io.netty.channel.MessageSizeEstimator DEFAULT;
descriptor: Lio/netty/channel/MessageSizeEstimator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private final io.netty.channel.MessageSizeEstimator$Handle handle;
descriptor: Lio/netty/channel/MessageSizeEstimator$Handle;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new io.netty.channel.DefaultMessageSizeEstimator
dup
bipush 8
invokespecial io.netty.channel.DefaultMessageSizeEstimator.<init>:(I)V
putstatic io.netty.channel.DefaultMessageSizeEstimator.DEFAULT:Lio/netty/channel/MessageSizeEstimator;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
ifge 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unknownSize: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " (expected: >= 0)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: io.netty.channel.DefaultMessageSizeEstimator int
StackMap stack:
aload 0
new io.netty.channel.DefaultMessageSizeEstimator$HandleImpl
dup
iload 1
invokespecial io.netty.channel.DefaultMessageSizeEstimator$HandleImpl.<init>:(I)V
putfield io.netty.channel.DefaultMessageSizeEstimator.handle:Lio/netty/channel/MessageSizeEstimator$Handle;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/channel/DefaultMessageSizeEstimator;
0 5 1 unknownSize I
MethodParameters:
Name Flags
unknownSize
public io.netty.channel.MessageSizeEstimator$Handle newHandle();
descriptor: ()Lio/netty/channel/MessageSizeEstimator$Handle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.DefaultMessageSizeEstimator.handle:Lio/netty/channel/MessageSizeEstimator$Handle;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/channel/DefaultMessageSizeEstimator;
}
SourceFile: "DefaultMessageSizeEstimator.java"
NestMembers:
io.netty.channel.DefaultMessageSizeEstimator$HandleImpl
InnerClasses:
private final HandleImpl = io.netty.channel.DefaultMessageSizeEstimator$HandleImpl of io.netty.channel.DefaultMessageSizeEstimator
public abstract Handle = io.netty.channel.MessageSizeEstimator$Handle of io.netty.channel.MessageSizeEstimator