public final class org.glassfish.grizzly.Context$MinimalisticArrayList<E>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.glassfish.grizzly.Context$MinimalisticArrayList
super_class: java.lang.Object
{
private E[] array;
descriptor: [Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: [TE;
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private void <init>(java.lang.Class<E>, );
descriptor: (Ljava/lang/Class;I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
iload 2
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.Object[]
putfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;
0 3 1 clazz Ljava/lang/Class<TE;>;
0 3 2 initialCapacity I
Signature: (Ljava/lang/Class<TE;>;I)V
MethodParameters:
Name Flags
clazz final
initialCapacity final
public void add();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.glassfish.grizzly.Context$MinimalisticArrayList.ensureCapacity:()V
1: aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
aload 0
dup
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
dup_x1
iconst_1
iadd
putfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
aload 1
aastore
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;
0 3 1 listener TE;
Signature: (TE;)V
MethodParameters:
Name Flags
listener final
public boolean contains();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.glassfish.grizzly.Context$MinimalisticArrayList.indexOf:(Ljava/lang/Object;)I
iconst_m1
if_icmpeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;
0 2 1 listener TE;
Signature: (TE;)Z
MethodParameters:
Name Flags
listener final
private boolean remove();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.glassfish.grizzly.Context$MinimalisticArrayList.indexOf:(Ljava/lang/Object;)I
istore 2
start local 2 1: iload 2
iconst_m1
if_icmpne 3
2: iconst_0
ireturn
3: StackMap locals: int
StackMap stack:
iload 2
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
iconst_1
isub
if_icmpge 5
4: aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
iload 2
iconst_1
iadd
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
iload 2
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
iload 2
isub
iconst_1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: StackMap locals:
StackMap stack:
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
aload 0
dup
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
iconst_1
isub
dup_x1
putfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
aconst_null
aastore
6: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;
0 7 1 listener TE;
1 7 2 idx I
Signature: (TE;)Z
MethodParameters:
Name Flags
listener final
public void copyFrom(org.glassfish.grizzly.Context$MinimalisticArrayList<E>);
descriptor: (Lorg/glassfish/grizzly/Context$MinimalisticArrayList;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
arraylength
if_icmple 4
1: aload 0
aload 1
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
aload 1
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
putfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
2: aload 0
aload 1
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
putfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
3: goto 11
4: StackMap locals:
StackMap stack:
aload 1
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
iconst_0
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
iconst_0
aload 1
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 1
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
istore 2
start local 2 6: goto 9
7: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
iload 2
aconst_null
aastore
8: iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
if_icmplt 7
end local 2 10: aload 0
aload 1
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
putfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;
0 12 1 list Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;
6 10 2 i I
Signature: (Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;)V
MethodParameters:
Name Flags
list final
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;
public E[] array();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;
Signature: ()[TE;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
iload 1
aconst_null
aastore
3: iinc 1 1
StackMap locals:
StackMap stack:
4: iload 1
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
if_icmplt 2
end local 1 5: aload 0
iconst_0
putfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;
1 5 1 i I
private int indexOf();
descriptor: (Ljava/lang/Object;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
iload 2
aaload
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iload 2
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
if_icmplt 2
end local 2 6: iconst_m1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;
0 7 1 listener TE;
1 6 2 i I
Signature: (TE;)I
MethodParameters:
Name Flags
listener final
private void ensureCapacity();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
arraylength
if_icmpne 2
1: aload 0
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
aload 0
getfield org.glassfish.grizzly.Context$MinimalisticArrayList.size:I
iconst_2
iadd
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
putfield org.glassfish.grizzly.Context$MinimalisticArrayList.array:[Ljava/lang/Object;
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/glassfish/grizzly/Context$MinimalisticArrayList<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "Context.java"
NestHost: org.glassfish.grizzly.Context
InnerClasses:
protected final MinimalisticArrayList = org.glassfish.grizzly.Context$MinimalisticArrayList of org.glassfish.grizzly.Context