final class io.vertx.redis.client.impl.ArrayStack
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.vertx.redis.client.impl.ArrayStack
super_class: java.lang.Object
{
private final java.lang.Object[] stack;
descriptor: [Ljava/lang/Object;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int pointer;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(int);
descriptor: (I)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
iload 1
anewarray java.lang.Object
putfield io.vertx.redis.client.impl.ArrayStack.stack:[Ljava/lang/Object;
2: aload 0
iconst_m1
putfield io.vertx.redis.client.impl.ArrayStack.pointer:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/redis/client/impl/ArrayStack;
0 4 1 size I
MethodParameters:
Name Flags
size
<T> void push();
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.redis.client.impl.ArrayStack.stack:[Ljava/lang/Object;
aload 0
dup
getfield io.vertx.redis.client.impl.ArrayStack.pointer:I
iconst_1
iadd
dup_x1
putfield io.vertx.redis.client.impl.ArrayStack.pointer:I
aload 1
aastore
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/ArrayStack;
0 2 1 item TT;
Signature: <T:Ljava/lang/Object;>(TT;)V
MethodParameters:
Name Flags
item
<T> T pop();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.ArrayStack.stack:[Ljava/lang/Object;
aload 0
getfield io.vertx.redis.client.impl.ArrayStack.pointer:I
aaload
astore 1
start local 1 1: aload 0
getfield io.vertx.redis.client.impl.ArrayStack.stack:[Ljava/lang/Object;
aload 0
dup
getfield io.vertx.redis.client.impl.ArrayStack.pointer:I
dup_x1
iconst_1
isub
putfield io.vertx.redis.client.impl.ArrayStack.pointer:I
aconst_null
aastore
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/redis/client/impl/ArrayStack;
1 3 1 o Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>()TT;
boolean empty();
descriptor: ()Z
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.ArrayStack.pointer:I
iconst_m1
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/redis/client/impl/ArrayStack;
<T> T peek();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.ArrayStack.pointer:I
iconst_m1
if_icmpne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield io.vertx.redis.client.impl.ArrayStack.stack:[Ljava/lang/Object;
aload 0
getfield io.vertx.redis.client.impl.ArrayStack.pointer:I
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/redis/client/impl/ArrayStack;
Signature: <T:Ljava/lang/Object;>()TT;
int size();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.redis.client.impl.ArrayStack.pointer:I
iconst_1
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/redis/client/impl/ArrayStack;
}
SourceFile: "ArrayStack.java"