final class io.vertx.core.net.impl.HandlerManager$Handlers<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.vertx.core.net.impl.HandlerManager$Handlers
super_class: java.lang.Object
{
private int pos;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.util.List<io.vertx.core.net.impl.HandlerHolder<T>> list;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lio/vertx/core/net/impl/HandlerHolder<TT;>;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield io.vertx.core.net.impl.HandlerManager$Handlers.list:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/HandlerManager$Handlers<TT;>;
io.vertx.core.net.impl.HandlerHolder<T> chooseHandler();
descriptor: ()Lio/vertx/core/net/impl/HandlerHolder;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.HandlerManager$Handlers.list:Ljava/util/List;
aload 0
getfield io.vertx.core.net.impl.HandlerManager$Handlers.pos:I
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast io.vertx.core.net.impl.HandlerHolder
astore 1
start local 1 1: aload 0
dup
getfield io.vertx.core.net.impl.HandlerManager$Handlers.pos:I
iconst_1
iadd
putfield io.vertx.core.net.impl.HandlerManager$Handlers.pos:I
2: aload 0
invokevirtual io.vertx.core.net.impl.HandlerManager$Handlers.checkPos:()V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/impl/HandlerManager$Handlers<TT;>;
1 4 1 handler Lio/vertx/core/net/impl/HandlerHolder<TT;>;
Signature: ()Lio/vertx/core/net/impl/HandlerHolder<TT;>;
void addHandler(io.vertx.core.net.impl.HandlerHolder<T>);
descriptor: (Lio/vertx/core/net/impl/HandlerHolder;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.net.impl.HandlerManager$Handlers.list:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/net/impl/HandlerManager$Handlers<TT;>;
0 2 1 handler Lio/vertx/core/net/impl/HandlerHolder<TT;>;
Signature: (Lio/vertx/core/net/impl/HandlerHolder<TT;>;)V
MethodParameters:
Name Flags
handler
boolean removeHandler(io.vertx.core.net.impl.HandlerHolder<T>);
descriptor: (Lio/vertx/core/net/impl/HandlerHolder;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.vertx.core.net.impl.HandlerManager$Handlers.list:Ljava/util/List;
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ifeq 3
1: aload 0
invokevirtual io.vertx.core.net.impl.HandlerManager$Handlers.checkPos:()V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/vertx/core/net/impl/HandlerManager$Handlers<TT;>;
0 4 1 handler Lio/vertx/core/net/impl/HandlerHolder<TT;>;
Signature: (Lio/vertx/core/net/impl/HandlerHolder<TT;>;)Z
MethodParameters:
Name Flags
handler
boolean isEmpty();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.HandlerManager$Handlers.list:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/vertx/core/net/impl/HandlerManager$Handlers<TT;>;
void checkPos();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.vertx.core.net.impl.HandlerManager$Handlers.pos:I
aload 0
getfield io.vertx.core.net.impl.HandlerManager$Handlers.list:Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmpne 2
1: aload 0
iconst_0
putfield io.vertx.core.net.impl.HandlerManager$Handlers.pos:I
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/vertx/core/net/impl/HandlerManager$Handlers<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "HandlerManager.java"
NestHost: io.vertx.core.net.impl.HandlerManager
InnerClasses:
private final Handlers = io.vertx.core.net.impl.HandlerManager$Handlers of io.vertx.core.net.impl.HandlerManager