public final class com.android.internal.util.GrowingArrayUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.android.internal.util.GrowingArrayUtils
super_class: java.lang.Object
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: .line 29
ldc Lcom/android/internal/util/GrowingArrayUtils;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.android.internal.util.GrowingArrayUtils.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static <T> T[] append(T[], int, );
descriptor: ([Ljava/lang/Object;ILjava/lang/Object;)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 // java.lang.Object[] array
start local 1 // int currentSize
start local 2 // java.lang.Object element
0: .line 41
getstatic com.android.internal.util.GrowingArrayUtils.$assertionsDisabled:Z
ifne 1
iload 1 /* currentSize */
aload 0 /* array */
arraylength
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 43
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
iconst_1
iadd
aload 0 /* array */
arraylength
if_icmple 6
2: .line 46
aload 0 /* array */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
iload 1 /* currentSize */
invokestatic com.android.internal.util.GrowingArrayUtils.growSize:(I)I
3: .line 45
invokestatic com.android.internal.util.ArrayUtils.newUnpaddedArray:(Ljava/lang/Class;I)[Ljava/lang/Object;
astore 3 /* newArray */
start local 3 // java.lang.Object[] newArray
4: .line 47
aload 0 /* array */
iconst_0
aload 3 /* newArray */
iconst_0
iload 1 /* currentSize */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: .line 48
aload 3 /* newArray */
astore 0 /* array */
end local 3 // java.lang.Object[] newArray
6: .line 50
StackMap locals:
StackMap stack:
aload 0 /* array */
iload 1 /* currentSize */
aload 2 /* element */
aastore
7: .line 51
aload 0 /* array */
areturn
end local 2 // java.lang.Object element
end local 1 // int currentSize
end local 0 // java.lang.Object[] array
LocalVariableTable:
Start End Slot Name Signature
0 8 0 array [Ljava/lang/Object;
0 8 1 currentSize I
0 8 2 element TT;
4 6 3 newArray [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;ITT;)[TT;
MethodParameters:
Name Flags
array
currentSize
element
public static int[] append(int[], int, int);
descriptor: ([III)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 // int[] array
start local 1 // int currentSize
start local 2 // int element
0: .line 58
getstatic com.android.internal.util.GrowingArrayUtils.$assertionsDisabled:Z
ifne 1
iload 1 /* currentSize */
aload 0 /* array */
arraylength
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 60
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
iconst_1
iadd
aload 0 /* array */
arraylength
if_icmple 5
2: .line 61
iload 1 /* currentSize */
invokestatic com.android.internal.util.GrowingArrayUtils.growSize:(I)I
invokestatic com.android.internal.util.ArrayUtils.newUnpaddedIntArray:(I)[I
astore 3 /* newArray */
start local 3 // int[] newArray
3: .line 62
aload 0 /* array */
iconst_0
aload 3 /* newArray */
iconst_0
iload 1 /* currentSize */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: .line 63
aload 3 /* newArray */
astore 0 /* array */
end local 3 // int[] newArray
5: .line 65
StackMap locals:
StackMap stack:
aload 0 /* array */
iload 1 /* currentSize */
iload 2 /* element */
iastore
6: .line 66
aload 0 /* array */
areturn
end local 2 // int element
end local 1 // int currentSize
end local 0 // int[] array
LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [I
0 7 1 currentSize I
0 7 2 element I
3 5 3 newArray [I
MethodParameters:
Name Flags
array
currentSize
element
public static long[] append(long[], int, long);
descriptor: ([JIJ)[J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=5, args_size=3
start local 0 // long[] array
start local 1 // int currentSize
start local 2 // long element
0: .line 73
getstatic com.android.internal.util.GrowingArrayUtils.$assertionsDisabled:Z
ifne 1
iload 1 /* currentSize */
aload 0 /* array */
arraylength
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 75
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
iconst_1
iadd
aload 0 /* array */
arraylength
if_icmple 5
2: .line 76
iload 1 /* currentSize */
invokestatic com.android.internal.util.GrowingArrayUtils.growSize:(I)I
invokestatic com.android.internal.util.ArrayUtils.newUnpaddedLongArray:(I)[J
astore 4 /* newArray */
start local 4 // long[] newArray
3: .line 77
aload 0 /* array */
iconst_0
aload 4 /* newArray */
iconst_0
iload 1 /* currentSize */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: .line 78
aload 4 /* newArray */
astore 0 /* array */
end local 4 // long[] newArray
5: .line 80
StackMap locals:
StackMap stack:
aload 0 /* array */
iload 1 /* currentSize */
lload 2 /* element */
lastore
6: .line 81
aload 0 /* array */
areturn
end local 2 // long element
end local 1 // int currentSize
end local 0 // long[] array
LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [J
0 7 1 currentSize I
0 7 2 element J
3 5 4 newArray [J
MethodParameters:
Name Flags
array
currentSize
element
public static boolean[] append(boolean[], int, boolean);
descriptor: ([ZIZ)[Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 // boolean[] array
start local 1 // int currentSize
start local 2 // boolean element
0: .line 88
getstatic com.android.internal.util.GrowingArrayUtils.$assertionsDisabled:Z
ifne 1
iload 1 /* currentSize */
aload 0 /* array */
arraylength
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 90
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
iconst_1
iadd
aload 0 /* array */
arraylength
if_icmple 5
2: .line 91
iload 1 /* currentSize */
invokestatic com.android.internal.util.GrowingArrayUtils.growSize:(I)I
invokestatic com.android.internal.util.ArrayUtils.newUnpaddedBooleanArray:(I)[Z
astore 3 /* newArray */
start local 3 // boolean[] newArray
3: .line 92
aload 0 /* array */
iconst_0
aload 3 /* newArray */
iconst_0
iload 1 /* currentSize */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: .line 93
aload 3 /* newArray */
astore 0 /* array */
end local 3 // boolean[] newArray
5: .line 95
StackMap locals:
StackMap stack:
aload 0 /* array */
iload 1 /* currentSize */
iload 2 /* element */
bastore
6: .line 96
aload 0 /* array */
areturn
end local 2 // boolean element
end local 1 // int currentSize
end local 0 // boolean[] array
LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [Z
0 7 1 currentSize I
0 7 2 element Z
3 5 3 newArray [Z
MethodParameters:
Name Flags
array
currentSize
element
public static float[] append(float[], int, float);
descriptor: ([FIF)[F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=3
start local 0 // float[] array
start local 1 // int currentSize
start local 2 // float element
0: .line 103
getstatic com.android.internal.util.GrowingArrayUtils.$assertionsDisabled:Z
ifne 1
iload 1 /* currentSize */
aload 0 /* array */
arraylength
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 105
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
iconst_1
iadd
aload 0 /* array */
arraylength
if_icmple 5
2: .line 106
iload 1 /* currentSize */
invokestatic com.android.internal.util.GrowingArrayUtils.growSize:(I)I
invokestatic com.android.internal.util.ArrayUtils.newUnpaddedFloatArray:(I)[F
astore 3 /* newArray */
start local 3 // float[] newArray
3: .line 107
aload 0 /* array */
iconst_0
aload 3 /* newArray */
iconst_0
iload 1 /* currentSize */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: .line 108
aload 3 /* newArray */
astore 0 /* array */
end local 3 // float[] newArray
5: .line 110
StackMap locals:
StackMap stack:
aload 0 /* array */
iload 1 /* currentSize */
fload 2 /* element */
fastore
6: .line 111
aload 0 /* array */
areturn
end local 2 // float element
end local 1 // int currentSize
end local 0 // float[] array
LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [F
0 7 1 currentSize I
0 7 2 element F
3 5 3 newArray [F
MethodParameters:
Name Flags
array
currentSize
element
public static <T> T[] insert(T[], int, int, );
descriptor: ([Ljava/lang/Object;IILjava/lang/Object;)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 // java.lang.Object[] array
start local 1 // int currentSize
start local 2 // int index
start local 3 // java.lang.Object element
0: .line 126
getstatic com.android.internal.util.GrowingArrayUtils.$assertionsDisabled:Z
ifne 1
iload 1 /* currentSize */
aload 0 /* array */
arraylength
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 128
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
iconst_1
iadd
aload 0 /* array */
arraylength
if_icmpgt 5
2: .line 129
aload 0 /* array */
iload 2 /* index */
aload 0 /* array */
iload 2 /* index */
iconst_1
iadd
iload 1 /* currentSize */
iload 2 /* index */
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: .line 130
aload 0 /* array */
iload 2 /* index */
aload 3 /* element */
aastore
4: .line 131
aload 0 /* array */
areturn
5: .line 135
StackMap locals:
StackMap stack:
aload 0 /* array */
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
6: .line 136
iload 1 /* currentSize */
invokestatic com.android.internal.util.GrowingArrayUtils.growSize:(I)I
7: .line 135
invokestatic com.android.internal.util.ArrayUtils.newUnpaddedArray:(Ljava/lang/Class;I)[Ljava/lang/Object;
astore 4 /* newArray */
start local 4 // java.lang.Object[] newArray
8: .line 137
aload 0 /* array */
iconst_0
aload 4 /* newArray */
iconst_0
iload 2 /* index */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: .line 138
aload 4 /* newArray */
iload 2 /* index */
aload 3 /* element */
aastore
10: .line 139
aload 0 /* array */
iload 2 /* index */
aload 4 /* newArray */
iload 2 /* index */
iconst_1
iadd
aload 0 /* array */
arraylength
iload 2 /* index */
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: .line 140
aload 4 /* newArray */
areturn
end local 4 // java.lang.Object[] newArray
end local 3 // java.lang.Object element
end local 2 // int index
end local 1 // int currentSize
end local 0 // java.lang.Object[] array
LocalVariableTable:
Start End Slot Name Signature
0 12 0 array [Ljava/lang/Object;
0 12 1 currentSize I
0 12 2 index I
0 12 3 element TT;
8 12 4 newArray [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;IITT;)[TT;
MethodParameters:
Name Flags
array
currentSize
index
element
public static int[] insert(int[], int, int, int);
descriptor: ([IIII)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 // int[] array
start local 1 // int currentSize
start local 2 // int index
start local 3 // int element
0: .line 147
getstatic com.android.internal.util.GrowingArrayUtils.$assertionsDisabled:Z
ifne 1
iload 1 /* currentSize */
aload 0 /* array */
arraylength
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 149
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
iconst_1
iadd
aload 0 /* array */
arraylength
if_icmpgt 5
2: .line 150
aload 0 /* array */
iload 2 /* index */
aload 0 /* array */
iload 2 /* index */
iconst_1
iadd
iload 1 /* currentSize */
iload 2 /* index */
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: .line 151
aload 0 /* array */
iload 2 /* index */
iload 3 /* element */
iastore
4: .line 152
aload 0 /* array */
areturn
5: .line 155
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
invokestatic com.android.internal.util.GrowingArrayUtils.growSize:(I)I
invokestatic com.android.internal.util.ArrayUtils.newUnpaddedIntArray:(I)[I
astore 4 /* newArray */
start local 4 // int[] newArray
6: .line 156
aload 0 /* array */
iconst_0
aload 4 /* newArray */
iconst_0
iload 2 /* index */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: .line 157
aload 4 /* newArray */
iload 2 /* index */
iload 3 /* element */
iastore
8: .line 158
aload 0 /* array */
iload 2 /* index */
aload 4 /* newArray */
iload 2 /* index */
iconst_1
iadd
aload 0 /* array */
arraylength
iload 2 /* index */
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: .line 159
aload 4 /* newArray */
areturn
end local 4 // int[] newArray
end local 3 // int element
end local 2 // int index
end local 1 // int currentSize
end local 0 // int[] array
LocalVariableTable:
Start End Slot Name Signature
0 10 0 array [I
0 10 1 currentSize I
0 10 2 index I
0 10 3 element I
6 10 4 newArray [I
MethodParameters:
Name Flags
array
currentSize
index
element
public static long[] insert(long[], int, int, long);
descriptor: ([JIIJ)[J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=4
start local 0 // long[] array
start local 1 // int currentSize
start local 2 // int index
start local 3 // long element
0: .line 166
getstatic com.android.internal.util.GrowingArrayUtils.$assertionsDisabled:Z
ifne 1
iload 1 /* currentSize */
aload 0 /* array */
arraylength
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 168
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
iconst_1
iadd
aload 0 /* array */
arraylength
if_icmpgt 5
2: .line 169
aload 0 /* array */
iload 2 /* index */
aload 0 /* array */
iload 2 /* index */
iconst_1
iadd
iload 1 /* currentSize */
iload 2 /* index */
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: .line 170
aload 0 /* array */
iload 2 /* index */
lload 3 /* element */
lastore
4: .line 171
aload 0 /* array */
areturn
5: .line 174
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
invokestatic com.android.internal.util.GrowingArrayUtils.growSize:(I)I
invokestatic com.android.internal.util.ArrayUtils.newUnpaddedLongArray:(I)[J
astore 5 /* newArray */
start local 5 // long[] newArray
6: .line 175
aload 0 /* array */
iconst_0
aload 5 /* newArray */
iconst_0
iload 2 /* index */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: .line 176
aload 5 /* newArray */
iload 2 /* index */
lload 3 /* element */
lastore
8: .line 177
aload 0 /* array */
iload 2 /* index */
aload 5 /* newArray */
iload 2 /* index */
iconst_1
iadd
aload 0 /* array */
arraylength
iload 2 /* index */
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: .line 178
aload 5 /* newArray */
areturn
end local 5 // long[] newArray
end local 3 // long element
end local 2 // int index
end local 1 // int currentSize
end local 0 // long[] array
LocalVariableTable:
Start End Slot Name Signature
0 10 0 array [J
0 10 1 currentSize I
0 10 2 index I
0 10 3 element J
6 10 5 newArray [J
MethodParameters:
Name Flags
array
currentSize
index
element
public static boolean[] insert(boolean[], int, int, boolean);
descriptor: ([ZIIZ)[Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=5, args_size=4
start local 0 // boolean[] array
start local 1 // int currentSize
start local 2 // int index
start local 3 // boolean element
0: .line 185
getstatic com.android.internal.util.GrowingArrayUtils.$assertionsDisabled:Z
ifne 1
iload 1 /* currentSize */
aload 0 /* array */
arraylength
if_icmple 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 187
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
iconst_1
iadd
aload 0 /* array */
arraylength
if_icmpgt 5
2: .line 188
aload 0 /* array */
iload 2 /* index */
aload 0 /* array */
iload 2 /* index */
iconst_1
iadd
iload 1 /* currentSize */
iload 2 /* index */
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: .line 189
aload 0 /* array */
iload 2 /* index */
iload 3 /* element */
bastore
4: .line 190
aload 0 /* array */
areturn
5: .line 193
StackMap locals:
StackMap stack:
iload 1 /* currentSize */
invokestatic com.android.internal.util.GrowingArrayUtils.growSize:(I)I
invokestatic com.android.internal.util.ArrayUtils.newUnpaddedBooleanArray:(I)[Z
astore 4 /* newArray */
start local 4 // boolean[] newArray
6: .line 194
aload 0 /* array */
iconst_0
aload 4 /* newArray */
iconst_0
iload 2 /* index */
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: .line 195
aload 4 /* newArray */
iload 2 /* index */
iload 3 /* element */
bastore
8: .line 196
aload 0 /* array */
iload 2 /* index */
aload 4 /* newArray */
iload 2 /* index */
iconst_1
iadd
aload 0 /* array */
arraylength
iload 2 /* index */
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
9: .line 197
aload 4 /* newArray */
areturn
end local 4 // boolean[] newArray
end local 3 // boolean element
end local 2 // int index
end local 1 // int currentSize
end local 0 // boolean[] array
LocalVariableTable:
Start End Slot Name Signature
0 10 0 array [Z
0 10 1 currentSize I
0 10 2 index I
0 10 3 element Z
6 10 4 newArray [Z
MethodParameters:
Name Flags
array
currentSize
index
element
public static int growSize(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 // int currentSize
0: .line 206
iload 0 /* currentSize */
iconst_4
if_icmpgt 1
bipush 8
goto 2
StackMap locals:
StackMap stack:
1: iload 0 /* currentSize */
iconst_2
imul
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 // int currentSize
LocalVariableTable:
Start End Slot Name Signature
0 3 0 currentSize I
MethodParameters:
Name Flags
currentSize
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // com.android.internal.util.GrowingArrayUtils this
0: .line 210
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.android.internal.util.GrowingArrayUtils this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/android/internal/util/GrowingArrayUtils;
}
SourceFile: "GrowingArrayUtils.java"