public final class io.netty.util.internal.RecyclableArrayList extends java.util.ArrayList<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.util.internal.RecyclableArrayList
super_class: java.util.ArrayList
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -8605125654176467947
private static final int DEFAULT_INITIAL_CAPACITY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final io.netty.util.Recycler<io.netty.util.internal.RecyclableArrayList> RECYCLER;
descriptor: Lio/netty/util/Recycler;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Lio/netty/util/Recycler<Lio/netty/util/internal/RecyclableArrayList;>;
private boolean insertSinceRecycled;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private final io.netty.util.Recycler$Handle<io.netty.util.internal.RecyclableArrayList> handle;
descriptor: Lio/netty/util/Recycler$Handle;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/netty/util/Recycler$Handle<Lio/netty/util/internal/RecyclableArrayList;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.netty.util.internal.RecyclableArrayList$1
dup
invokespecial io.netty.util.internal.RecyclableArrayList$1.<init>:()V
putstatic io.netty.util.internal.RecyclableArrayList.RECYCLER:Lio/netty/util/Recycler;
1: return
LocalVariableTable:
Start End Slot Name Signature
public static io.netty.util.internal.RecyclableArrayList newInstance();
descriptor: ()Lio/netty/util/internal/RecyclableArrayList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 8
invokestatic io.netty.util.internal.RecyclableArrayList.newInstance:(I)Lio/netty/util/internal/RecyclableArrayList;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static io.netty.util.internal.RecyclableArrayList newInstance(int);
descriptor: (I)Lio/netty/util/internal/RecyclableArrayList;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic io.netty.util.internal.RecyclableArrayList.RECYCLER:Lio/netty/util/Recycler;
invokevirtual io.netty.util.Recycler.get:()Ljava/lang/Object;
checkcast io.netty.util.internal.RecyclableArrayList
astore 1
start local 1 1: aload 1
iload 0
invokevirtual io.netty.util.internal.RecyclableArrayList.ensureCapacity:(I)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 minCapacity I
1 3 1 ret Lio/netty/util/internal/RecyclableArrayList;
MethodParameters:
Name Flags
minCapacity
private void <init>(io.netty.util.Recycler$Handle<io.netty.util.internal.RecyclableArrayList>);
descriptor: (Lio/netty/util/Recycler$Handle;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
bipush 8
invokespecial io.netty.util.internal.RecyclableArrayList.<init>:(Lio/netty/util/Recycler$Handle;I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/util/internal/RecyclableArrayList;
0 2 1 handle Lio/netty/util/Recycler$Handle<Lio/netty/util/internal/RecyclableArrayList;>;
Signature: (Lio/netty/util/Recycler$Handle<Lio/netty/util/internal/RecyclableArrayList;>;)V
MethodParameters:
Name Flags
handle
private void <init>(io.netty.util.Recycler$Handle<io.netty.util.internal.RecyclableArrayList>, );
descriptor: (Lio/netty/util/Recycler$Handle;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 2
invokespecial java.util.ArrayList.<init>:(I)V
1: aload 0
aload 1
putfield io.netty.util.internal.RecyclableArrayList.handle:Lio/netty/util/Recycler$Handle;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/util/internal/RecyclableArrayList;
0 3 1 handle Lio/netty/util/Recycler$Handle<Lio/netty/util/internal/RecyclableArrayList;>;
0 3 2 initialCapacity I
Signature: (Lio/netty/util/Recycler$Handle<Lio/netty/util/internal/RecyclableArrayList;>;I)V
MethodParameters:
Name Flags
handle
initialCapacity
public boolean addAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic io.netty.util.internal.RecyclableArrayList.checkNullElements:(Ljava/util/Collection;)V
1: aload 0
aload 1
invokespecial java.util.ArrayList.addAll:(Ljava/util/Collection;)Z
ifeq 4
2: aload 0
iconst_1
putfield io.netty.util.internal.RecyclableArrayList.insertSinceRecycled:Z
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/util/internal/RecyclableArrayList;
0 5 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
public boolean addAll(int, java.util.Collection<?>);
descriptor: (ILjava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic io.netty.util.internal.RecyclableArrayList.checkNullElements:(Ljava/util/Collection;)V
1: aload 0
iload 1
aload 2
invokespecial java.util.ArrayList.addAll:(ILjava/util/Collection;)Z
ifeq 4
2: aload 0
iconst_1
putfield io.netty.util.internal.RecyclableArrayList.insertSinceRecycled:Z
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/util/internal/RecyclableArrayList;
0 5 1 index I
0 5 2 c Ljava/util/Collection<*>;
Signature: (ILjava/util/Collection<*>;)Z
MethodParameters:
Name Flags
index
c
private static void checkNullElements(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
instanceof java.util.RandomAccess
ifeq 10
aload 0
instanceof java.util.List
ifeq 10
1: aload 0
checkcast java.util.List
astore 1
start local 1 2: aload 1
invokeinterface java.util.List.size:()I
istore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 8
5: StackMap locals: java.util.List int int
StackMap stack:
aload 1
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
ldc "c contains null values"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 5
end local 3 end local 2 end local 1 9: goto 15
10: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
goto 14
StackMap locals: java.util.Collection top java.util.Iterator
StackMap stack:
11: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 1
start local 1 12: aload 1
ifnonnull 14
13: new java.lang.IllegalArgumentException
dup
ldc "c contains null values"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 14: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
15: StackMap locals: java.util.Collection
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 c Ljava/util/Collection<*>;
2 9 1 list Ljava/util/List<*>;
3 9 2 size I
4 9 3 i I
12 14 1 element Ljava/lang/Object;
Signature: (Ljava/util/Collection<*>;)V
MethodParameters:
Name Flags
c
public boolean add(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "element"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.util.ArrayList.add:(Ljava/lang/Object;)Z
ifeq 5
3: aload 0
iconst_1
putfield io.netty.util.internal.RecyclableArrayList.insertSinceRecycled:Z
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/netty/util/internal/RecyclableArrayList;
0 6 1 element Ljava/lang/Object;
MethodParameters:
Name Flags
element
public void add(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "element"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
invokespecial java.util.ArrayList.add:(ILjava/lang/Object;)V
3: aload 0
iconst_1
putfield io.netty.util.internal.RecyclableArrayList.insertSinceRecycled:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/util/internal/RecyclableArrayList;
0 5 1 index I
0 5 2 element Ljava/lang/Object;
MethodParameters:
Name Flags
index
element
public java.lang.Object set(int, java.lang.Object);
descriptor: (ILjava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "element"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 2
invokespecial java.util.ArrayList.set:(ILjava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 3: aload 0
iconst_1
putfield io.netty.util.internal.RecyclableArrayList.insertSinceRecycled:Z
4: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/util/internal/RecyclableArrayList;
0 5 1 index I
0 5 2 element Ljava/lang/Object;
3 5 3 old Ljava/lang/Object;
MethodParameters:
Name Flags
index
element
public boolean insertSinceRecycled();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.util.internal.RecyclableArrayList.insertSinceRecycled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/netty/util/internal/RecyclableArrayList;
public boolean recycle();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.netty.util.internal.RecyclableArrayList.clear:()V
1: aload 0
iconst_0
putfield io.netty.util.internal.RecyclableArrayList.insertSinceRecycled:Z
2: aload 0
getfield io.netty.util.internal.RecyclableArrayList.handle:Lio/netty/util/Recycler$Handle;
aload 0
invokeinterface io.netty.util.Recycler$Handle.recycle:(Ljava/lang/Object;)V
3: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/netty/util/internal/RecyclableArrayList;
}
Signature: Ljava/util/ArrayList<Ljava/lang/Object;>;
SourceFile: "RecyclableArrayList.java"
NestMembers:
io.netty.util.internal.RecyclableArrayList$1
InnerClasses:
public abstract Handle = io.netty.util.Recycler$Handle of io.netty.util.Recycler
io.netty.util.internal.RecyclableArrayList$1