final class io.netty.handler.codec.redis.RedisDecoder$ToPositiveLongProcessor implements io.netty.util.ByteProcessor
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.netty.handler.codec.redis.RedisDecoder$ToPositiveLongProcessor
super_class: java.lang.Object
{
private long result;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/redis/RedisDecoder$ToPositiveLongProcessor;
public boolean process(byte);
descriptor: (B)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
bipush 48
if_icmplt 1
iload 1
bipush 57
if_icmple 2
1: StackMap locals:
StackMap stack:
new io.netty.handler.codec.redis.RedisCodecException
dup
new java.lang.StringBuilder
dup
ldc "bad byte in number: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial io.netty.handler.codec.redis.RedisCodecException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield io.netty.handler.codec.redis.RedisDecoder$ToPositiveLongProcessor.result:J
ldc 10
lmul
iload 1
bipush 48
isub
i2l
ladd
putfield io.netty.handler.codec.redis.RedisDecoder$ToPositiveLongProcessor.result:J
3: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/handler/codec/redis/RedisDecoder$ToPositiveLongProcessor;
0 4 1 value B
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
value
public long content();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.handler.codec.redis.RedisDecoder$ToPositiveLongProcessor.result:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/handler/codec/redis/RedisDecoder$ToPositiveLongProcessor;
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
lconst_0
putfield io.netty.handler.codec.redis.RedisDecoder$ToPositiveLongProcessor.result:J
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/handler/codec/redis/RedisDecoder$ToPositiveLongProcessor;
}
SourceFile: "RedisDecoder.java"
NestHost: io.netty.handler.codec.redis.RedisDecoder
InnerClasses:
private final ToPositiveLongProcessor = io.netty.handler.codec.redis.RedisDecoder$ToPositiveLongProcessor of io.netty.handler.codec.redis.RedisDecoder