public final class org.apache.lucene.util.ArrayUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.util.ArrayUtil
super_class: java.lang.Object
{
public static final int MAX_ARRAY_LENGTH;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
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=2, locals=0, args_size=0
0: ldc Lorg/apache/lucene/util/ArrayUtil;
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 org.apache.lucene.util.ArrayUtil.$assertionsDisabled:Z
3: ldc 2147483647
getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_ARRAY_HEADER:I
isub
putstatic org.apache.lucene.util.ArrayUtil.MAX_ARRAY_LENGTH:I
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/ArrayUtil;
public static int parseInt(char[], int, int);
descriptor: ([CII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
bipush 10
invokestatic org.apache.lucene.util.ArrayUtil.parseInt:([CIII)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 chars [C
0 1 1 offset I
0 1 2 len I
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
chars
offset
len
public static int parseInt(char[], int, int, int);
descriptor: ([CIII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
ifnull 2
iload 3
iconst_2
if_icmplt 2
1: iload 3
bipush 36
if_icmple 3
2: StackMap locals:
StackMap stack:
new java.lang.NumberFormatException
dup
invokespecial java.lang.NumberFormatException.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 4: iload 2
ifne 6
5: new java.lang.NumberFormatException
dup
ldc "chars length is 0"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: int
StackMap stack:
aload 0
iload 1
iload 4
iadd
caload
bipush 45
if_icmpne 7
iconst_1
goto 8
StackMap locals:
StackMap stack:
7: iconst_0
StackMap locals:
StackMap stack: int
8: istore 5
start local 5 9: iload 5
ifeq 11
iinc 4 1
iload 4
iload 2
if_icmpne 11
10: new java.lang.NumberFormatException
dup
ldc "can't convert to an int"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals: int
StackMap stack:
iload 5
ifeq 14
12: iinc 1 1
13: iinc 2 -1
14: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
iload 3
iload 5
invokestatic org.apache.lucene.util.ArrayUtil.parse:([CIIIZ)I
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 chars [C
0 15 1 offset I
0 15 2 len I
0 15 3 radix I
4 15 4 i I
9 15 5 negative Z
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
chars
offset
len
radix
private static int parse(char[], int, int, int, boolean);
descriptor: ([CIIIZ)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc -2147483648
iload 3
idiv
istore 5
start local 5 1: iconst_0
istore 6
start local 6 2: iconst_0
istore 7
start local 7 3: goto 14
4: StackMap locals: int int int
StackMap stack:
aload 0
iload 7
iload 1
iadd
caload
iload 3
invokestatic java.lang.Character.digit:(CI)I
istore 8
start local 8 5: iload 8
iconst_m1
if_icmpne 7
6: new java.lang.NumberFormatException
dup
ldc "Unable to parse"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: int
StackMap stack:
iload 5
iload 6
if_icmple 9
8: new java.lang.NumberFormatException
dup
ldc "Unable to parse"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
iload 6
iload 3
imul
iload 8
isub
istore 9
start local 9 10: iload 9
iload 6
if_icmple 12
11: new java.lang.NumberFormatException
dup
ldc "Unable to parse"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals: int
StackMap stack:
iload 9
istore 6
end local 9 end local 8 13: iinc 7 1
StackMap locals:
StackMap stack:
14: iload 7
iload 2
if_icmplt 4
end local 7 15: iload 4
ifne 19
16: iload 6
ineg
istore 6
17: iload 6
ifge 19
18: new java.lang.NumberFormatException
dup
ldc "Unable to parse"
invokespecial java.lang.NumberFormatException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
iload 6
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 chars [C
0 20 1 offset I
0 20 2 len I
0 20 3 radix I
0 20 4 negative Z
1 20 5 max I
2 20 6 result I
3 15 7 i I
5 13 8 digit I
10 13 9 next I
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
chars
offset
len
radix
negative
public static int oversize(int, int);
descriptor: (II)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: iload 0
ifge 2
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "invalid array size "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iload 0
getstatic org.apache.lucene.util.ArrayUtil.MAX_ARRAY_LENGTH:I
if_icmple 6
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "requested array size "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " exceeds maximum array in java ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic org.apache.lucene.util.ArrayUtil.MAX_ARRAY_LENGTH:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
iload 0
iconst_3
ishr
istore 2
start local 2 7: iload 2
iconst_3
if_icmpge 9
8: iconst_3
istore 2
9: StackMap locals: int
StackMap stack:
iload 0
iload 2
iadd
istore 3
start local 3 10: iload 3
bipush 7
iadd
iflt 11
iload 3
bipush 7
iadd
getstatic org.apache.lucene.util.ArrayUtil.MAX_ARRAY_LENGTH:I
if_icmple 12
11: StackMap locals: int
StackMap stack:
getstatic org.apache.lucene.util.ArrayUtil.MAX_ARRAY_LENGTH:I
ireturn
12: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.util.Constants.JRE_IS_64BIT:Z
ifeq 18
13: iload 1
tableswitch { // 1 - 8
1: 16
2: 15
3: 17
4: 14
5: 17
6: 17
7: 17
8: 17
default: 17
}
14: StackMap locals:
StackMap stack:
iload 3
iconst_1
iadd
ldc 2147483646
iand
ireturn
15: StackMap locals:
StackMap stack:
iload 3
iconst_3
iadd
ldc 2147483644
iand
ireturn
16: StackMap locals:
StackMap stack:
iload 3
bipush 7
iadd
ldc 2147483640
iand
ireturn
17: StackMap locals:
StackMap stack:
iload 3
ireturn
18: StackMap locals:
StackMap stack:
iload 1
tableswitch { // 1 - 8
1: 20
2: 19
3: 21
4: 21
5: 21
6: 21
7: 21
8: 21
default: 21
}
19: StackMap locals:
StackMap stack:
iload 3
iconst_1
iadd
ldc 2147483646
iand
ireturn
20: StackMap locals:
StackMap stack:
iload 3
iconst_3
iadd
ldc 2147483644
iand
ireturn
21: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 minTargetSize I
0 22 1 bytesPerElement I
7 22 2 extra I
10 22 3 newSize I
MethodParameters:
Name Flags
minTargetSize
bytesPerElement
public static <T> T[] growExact(T[], );
descriptor: ([Ljava/lang/Object;I)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
ldc [Ljava/lang/Object;
if_acmpne 3
2: iload 1
anewarray java.lang.Object
goto 4
3: StackMap locals: java.lang.Class
StackMap stack:
aload 2
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
iload 1
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.Object[]
4: StackMap locals:
StackMap stack: java.lang.Object[]
astore 3
start local 3 5: aload 0
iconst_0
aload 3
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [Ljava/lang/Object;
0 7 1 newLength I
1 7 2 type Ljava/lang/Class<+[Ljava/lang/Object;>;
5 7 3 copy [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;I)[TT;
MethodParameters:
Name Flags
array
newLength
public static <T> T[] grow(T[], );
descriptor: ([Ljava/lang/Object;I)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.util.ArrayUtil.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "size must be positive (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "): likely integer overflow?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
arraylength
iload 1
if_icmpge 4
2: iload 1
getstatic org.apache.lucene.util.RamUsageEstimator.NUM_BYTES_OBJECT_REF:I
invokestatic org.apache.lucene.util.ArrayUtil.oversize:(II)I
istore 2
start local 2 3: aload 0
iload 2
invokestatic org.apache.lucene.util.ArrayUtil.growExact:([Ljava/lang/Object;I)[Ljava/lang/Object;
areturn
end local 2 4: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 array [Ljava/lang/Object;
0 5 1 minSize I
3 4 2 newLength I
Signature: <T:Ljava/lang/Object;>([TT;I)[TT;
MethodParameters:
Name Flags
array
minSize
public static short[] growExact(short[], int);
descriptor: ([SI)[S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 9
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [S
0 3 1 newLength I
1 3 2 copy [S
MethodParameters:
Name Flags
array
newLength
public static short[] grow(short[], int);
descriptor: ([SI)[S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.util.ArrayUtil.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "size must be positive (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "): likely integer overflow?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
arraylength
iload 1
if_icmpge 3
2: aload 0
iload 1
iconst_2
invokestatic org.apache.lucene.util.ArrayUtil.oversize:(II)I
invokestatic org.apache.lucene.util.ArrayUtil.growExact:([SI)[S
areturn
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 array [S
0 4 1 minSize I
MethodParameters:
Name Flags
array
minSize
public static short[] grow(short[]);
descriptor: ([S)[S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
aload 0
arraylength
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([SI)[S
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [S
MethodParameters:
Name Flags
array
public static float[] growExact(float[], int);
descriptor: ([FI)[F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 6
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [F
0 3 1 newLength I
1 3 2 copy [F
MethodParameters:
Name Flags
array
newLength
public static float[] grow(float[], int);
descriptor: ([FI)[F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.util.ArrayUtil.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "size must be positive (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "): likely integer overflow?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
arraylength
iload 1
if_icmpge 5
2: iload 1
iconst_4
invokestatic org.apache.lucene.util.ArrayUtil.oversize:(II)I
newarray 6
astore 2
start local 2 3: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 2
areturn
end local 2 5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 array [F
0 6 1 minSize I
3 5 2 copy [F
MethodParameters:
Name Flags
array
minSize
public static float[] grow(float[]);
descriptor: ([F)[F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
aload 0
arraylength
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([FI)[F
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [F
MethodParameters:
Name Flags
array
public static double[] growExact(double[], int);
descriptor: ([DI)[D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 7
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [D
0 3 1 newLength I
1 3 2 copy [D
MethodParameters:
Name Flags
array
newLength
public static double[] grow(double[], int);
descriptor: ([DI)[D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.util.ArrayUtil.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "size must be positive (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "): likely integer overflow?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
arraylength
iload 1
if_icmpge 3
2: aload 0
iload 1
bipush 8
invokestatic org.apache.lucene.util.ArrayUtil.oversize:(II)I
invokestatic org.apache.lucene.util.ArrayUtil.growExact:([DI)[D
areturn
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 array [D
0 4 1 minSize I
MethodParameters:
Name Flags
array
minSize
public static double[] grow(double[]);
descriptor: ([D)[D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
aload 0
arraylength
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([DI)[D
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [D
MethodParameters:
Name Flags
array
public static int[] growExact(int[], int);
descriptor: ([II)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 10
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [I
0 3 1 newLength I
1 3 2 copy [I
MethodParameters:
Name Flags
array
newLength
public static int[] grow(int[], int);
descriptor: ([II)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.util.ArrayUtil.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "size must be positive (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "): likely integer overflow?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
arraylength
iload 1
if_icmpge 3
2: aload 0
iload 1
iconst_4
invokestatic org.apache.lucene.util.ArrayUtil.oversize:(II)I
invokestatic org.apache.lucene.util.ArrayUtil.growExact:([II)[I
areturn
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 array [I
0 4 1 minSize I
MethodParameters:
Name Flags
array
minSize
public static int[] grow(int[]);
descriptor: ([I)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
aload 0
arraylength
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([II)[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [I
MethodParameters:
Name Flags
array
public static long[] growExact(long[], int);
descriptor: ([JI)[J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 11
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [J
0 3 1 newLength I
1 3 2 copy [J
MethodParameters:
Name Flags
array
newLength
public static long[] grow(long[], int);
descriptor: ([JI)[J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.util.ArrayUtil.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "size must be positive (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "): likely integer overflow?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
arraylength
iload 1
if_icmpge 3
2: aload 0
iload 1
bipush 8
invokestatic org.apache.lucene.util.ArrayUtil.oversize:(II)I
invokestatic org.apache.lucene.util.ArrayUtil.growExact:([JI)[J
areturn
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 array [J
0 4 1 minSize I
MethodParameters:
Name Flags
array
minSize
public static long[] grow(long[]);
descriptor: ([J)[J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
aload 0
arraylength
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([JI)[J
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [J
MethodParameters:
Name Flags
array
public static byte[] growExact(byte[], int);
descriptor: ([BI)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 8
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [B
0 3 1 newLength I
1 3 2 copy [B
MethodParameters:
Name Flags
array
newLength
public static byte[] grow(byte[], int);
descriptor: ([BI)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.util.ArrayUtil.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "size must be positive (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "): likely integer overflow?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
arraylength
iload 1
if_icmpge 3
2: aload 0
iload 1
iconst_1
invokestatic org.apache.lucene.util.ArrayUtil.oversize:(II)I
invokestatic org.apache.lucene.util.ArrayUtil.growExact:([BI)[B
areturn
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 array [B
0 4 1 minSize I
MethodParameters:
Name Flags
array
minSize
public static byte[] grow(byte[]);
descriptor: ([B)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
aload 0
arraylength
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([BI)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [B
MethodParameters:
Name Flags
array
public static char[] growExact(char[], int);
descriptor: ([CI)[C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: iload 1
newarray 5
astore 2
start local 2 1: aload 0
iconst_0
aload 2
iconst_0
aload 0
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [C
0 3 1 newLength I
1 3 2 copy [C
MethodParameters:
Name Flags
array
newLength
public static char[] grow(char[], int);
descriptor: ([CI)[C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.util.ArrayUtil.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "size must be positive (got "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "): likely integer overflow?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
arraylength
iload 1
if_icmpge 3
2: aload 0
iload 1
iconst_2
invokestatic org.apache.lucene.util.ArrayUtil.oversize:(II)I
invokestatic org.apache.lucene.util.ArrayUtil.growExact:([CI)[C
areturn
3: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 array [C
0 4 1 minSize I
MethodParameters:
Name Flags
array
minSize
public static char[] grow(char[]);
descriptor: ([C)[C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
aload 0
arraylength
iadd
invokestatic org.apache.lucene.util.ArrayUtil.grow:([CI)[C
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 array [C
MethodParameters:
Name Flags
array
public static int hashCode(char[], int, int);
descriptor: ([CII)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iload 2
iconst_1
isub
istore 4
start local 4 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 3
bipush 31
imul
aload 0
iload 4
caload
iadd
istore 3
4: iinc 4 -1
StackMap locals:
StackMap stack:
5: iload 4
iload 1
if_icmpge 3
end local 4 6: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 array [C
0 7 1 start I
0 7 2 end I
1 7 3 code I
2 6 4 i I
MethodParameters:
Name Flags
array
start
end
public static <T> void swap(T[], int, );
descriptor: ([Ljava/lang/Object;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aaload
astore 3
start local 3 1: aload 0
iload 1
aload 0
iload 2
aaload
aastore
2: aload 0
iload 2
aload 3
aastore
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 arr [Ljava/lang/Object;
0 4 1 i I
0 4 2 j I
1 4 3 tmp TT;
Signature: <T:Ljava/lang/Object;>([TT;II)V
MethodParameters:
Name Flags
arr
i
j
public static <T> void introSort(T[], int, int, java.util.Comparator<? super T>);
descriptor: ([Ljava/lang/Object;IILjava/util/Comparator;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 1
isub
iconst_1
if_icmpgt 1
return
1: StackMap locals:
StackMap stack:
new org.apache.lucene.util.ArrayIntroSorter
dup
aload 0
aload 3
invokespecial org.apache.lucene.util.ArrayIntroSorter.<init>:([Ljava/lang/Object;Ljava/util/Comparator;)V
iload 1
iload 2
invokevirtual org.apache.lucene.util.ArrayIntroSorter.sort:(II)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a [Ljava/lang/Object;
0 3 1 fromIndex I
0 3 2 toIndex I
0 3 3 comp Ljava/util/Comparator<-TT;>;
Signature: <T:Ljava/lang/Object;>([TT;IILjava/util/Comparator<-TT;>;)V
MethodParameters:
Name Flags
a
fromIndex
toIndex
comp
public static <T> void introSort(T[], java.util.Comparator<? super T>);
descriptor: ([Ljava/lang/Object;Ljava/util/Comparator;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aload 0
arraylength
aload 1
invokestatic org.apache.lucene.util.ArrayUtil.introSort:([Ljava/lang/Object;IILjava/util/Comparator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a [Ljava/lang/Object;
0 2 1 comp Ljava/util/Comparator<-TT;>;
Signature: <T:Ljava/lang/Object;>([TT;Ljava/util/Comparator<-TT;>;)V
MethodParameters:
Name Flags
a
comp
public static <T extends java.lang.Comparable<? super T>> void introSort(T[], int, );
descriptor: ([Ljava/lang/Comparable;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
iconst_1
if_icmpgt 1
return
1: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokestatic java.util.Comparator.naturalOrder:()Ljava/util/Comparator;
invokestatic org.apache.lucene.util.ArrayUtil.introSort:([Ljava/lang/Object;IILjava/util/Comparator;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a [Ljava/lang/Comparable;
0 3 1 fromIndex I
0 3 2 toIndex I
Signature: <T::Ljava/lang/Comparable<-TT;>;>([TT;II)V
MethodParameters:
Name Flags
a
fromIndex
toIndex
public static <T extends java.lang.Comparable<? super T>> void introSort();
descriptor: ([Ljava/lang/Comparable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
arraylength
invokestatic org.apache.lucene.util.ArrayUtil.introSort:([Ljava/lang/Comparable;II)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a [Ljava/lang/Comparable;
Signature: <T::Ljava/lang/Comparable<-TT;>;>([TT;)V
MethodParameters:
Name Flags
a
public static <T> void timSort(T[], int, int, java.util.Comparator<? super T>);
descriptor: ([Ljava/lang/Object;IILjava/util/Comparator;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
iload 1
isub
iconst_1
if_icmpgt 1
return
1: StackMap locals:
StackMap stack:
new org.apache.lucene.util.ArrayTimSorter
dup
aload 0
aload 3
aload 0
arraylength
bipush 64
idiv
invokespecial org.apache.lucene.util.ArrayTimSorter.<init>:([Ljava/lang/Object;Ljava/util/Comparator;I)V
iload 1
iload 2
invokevirtual org.apache.lucene.util.ArrayTimSorter.sort:(II)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a [Ljava/lang/Object;
0 3 1 fromIndex I
0 3 2 toIndex I
0 3 3 comp Ljava/util/Comparator<-TT;>;
Signature: <T:Ljava/lang/Object;>([TT;IILjava/util/Comparator<-TT;>;)V
MethodParameters:
Name Flags
a
fromIndex
toIndex
comp
public static <T> void timSort(T[], java.util.Comparator<? super T>);
descriptor: ([Ljava/lang/Object;Ljava/util/Comparator;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aload 0
arraylength
aload 1
invokestatic org.apache.lucene.util.ArrayUtil.timSort:([Ljava/lang/Object;IILjava/util/Comparator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a [Ljava/lang/Object;
0 2 1 comp Ljava/util/Comparator<-TT;>;
Signature: <T:Ljava/lang/Object;>([TT;Ljava/util/Comparator<-TT;>;)V
MethodParameters:
Name Flags
a
comp
public static <T extends java.lang.Comparable<? super T>> void timSort(T[], int, );
descriptor: ([Ljava/lang/Comparable;II)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
iconst_1
if_icmpgt 1
return
1: StackMap locals:
StackMap stack:
aload 0
iload 1
iload 2
invokestatic java.util.Comparator.naturalOrder:()Ljava/util/Comparator;
invokestatic org.apache.lucene.util.ArrayUtil.timSort:([Ljava/lang/Object;IILjava/util/Comparator;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a [Ljava/lang/Comparable;
0 3 1 fromIndex I
0 3 2 toIndex I
Signature: <T::Ljava/lang/Comparable<-TT;>;>([TT;II)V
MethodParameters:
Name Flags
a
fromIndex
toIndex
public static <T extends java.lang.Comparable<? super T>> void timSort();
descriptor: ([Ljava/lang/Comparable;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
aload 0
arraylength
invokestatic org.apache.lucene.util.ArrayUtil.timSort:([Ljava/lang/Comparable;II)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 a [Ljava/lang/Comparable;
Signature: <T::Ljava/lang/Comparable<-TT;>;>([TT;)V
MethodParameters:
Name Flags
a
public static <T> void select(T[], int, int, int, java.util.Comparator<? super T>);
descriptor: ([Ljava/lang/Object;IIILjava/util/Comparator;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new org.apache.lucene.util.ArrayUtil$1
dup
aload 0
aload 4
invokespecial org.apache.lucene.util.ArrayUtil$1.<init>:([Ljava/lang/Object;Ljava/util/Comparator;)V
1: iload 1
iload 2
iload 3
invokevirtual org.apache.lucene.util.ArrayUtil$1.select:(III)V
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 arr [Ljava/lang/Object;
0 3 1 from I
0 3 2 to I
0 3 3 k I
0 3 4 comparator Ljava/util/Comparator<-TT;>;
Signature: <T:Ljava/lang/Object;>([TT;IIILjava/util/Comparator<-TT;>;)V
MethodParameters:
Name Flags
arr
from
to
k
comparator
public static byte[] copyOfSubArray(byte[], int, int);
descriptor: ([BII)[B
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
newarray 8
astore 3
start local 3 1: aload 0
iload 1
aload 3
iconst_0
iload 2
iload 1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [B
0 3 1 from I
0 3 2 to I
1 3 3 copy [B
MethodParameters:
Name Flags
array
from
to
public static char[] copyOfSubArray(char[], int, int);
descriptor: ([CII)[C
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
newarray 5
astore 3
start local 3 1: aload 0
iload 1
aload 3
iconst_0
iload 2
iload 1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [C
0 3 1 from I
0 3 2 to I
1 3 3 copy [C
MethodParameters:
Name Flags
array
from
to
public static short[] copyOfSubArray(short[], int, int);
descriptor: ([SII)[S
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
newarray 9
astore 3
start local 3 1: aload 0
iload 1
aload 3
iconst_0
iload 2
iload 1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [S
0 3 1 from I
0 3 2 to I
1 3 3 copy [S
MethodParameters:
Name Flags
array
from
to
public static int[] copyOfSubArray(int[], int, int);
descriptor: ([III)[I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
newarray 10
astore 3
start local 3 1: aload 0
iload 1
aload 3
iconst_0
iload 2
iload 1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [I
0 3 1 from I
0 3 2 to I
1 3 3 copy [I
MethodParameters:
Name Flags
array
from
to
public static long[] copyOfSubArray(long[], int, int);
descriptor: ([JII)[J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
newarray 11
astore 3
start local 3 1: aload 0
iload 1
aload 3
iconst_0
iload 2
iload 1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [J
0 3 1 from I
0 3 2 to I
1 3 3 copy [J
MethodParameters:
Name Flags
array
from
to
public static float[] copyOfSubArray(float[], int, int);
descriptor: ([FII)[F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
newarray 6
astore 3
start local 3 1: aload 0
iload 1
aload 3
iconst_0
iload 2
iload 1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [F
0 3 1 from I
0 3 2 to I
1 3 3 copy [F
MethodParameters:
Name Flags
array
from
to
public static double[] copyOfSubArray(double[], int, int);
descriptor: ([DII)[D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
newarray 7
astore 3
start local 3 1: aload 0
iload 1
aload 3
iconst_0
iload 2
iload 1
isub
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 array [D
0 3 1 from I
0 3 2 to I
1 3 3 copy [D
MethodParameters:
Name Flags
array
from
to
public static <T> T[] copyOfSubArray(T[], int, );
descriptor: ([Ljava/lang/Object;II)[Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
isub
istore 3
start local 3 1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 4
start local 4 2: aload 4
ldc [Ljava/lang/Object;
if_acmpne 4
3: iload 3
anewarray java.lang.Object
goto 5
4: StackMap locals: int java.lang.Class
StackMap stack:
aload 4
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
iload 3
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
checkcast java.lang.Object[]
5: StackMap locals:
StackMap stack: java.lang.Object[]
astore 5
start local 5 6: aload 0
iload 1
aload 5
iconst_0
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
7: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 array [Ljava/lang/Object;
0 8 1 from I
0 8 2 to I
1 8 3 subLength I
2 8 4 type Ljava/lang/Class<+[Ljava/lang/Object;>;
6 8 5 copy [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;II)[TT;
MethodParameters:
Name Flags
array
from
to
}
SourceFile: "ArrayUtil.java"
NestMembers:
org.apache.lucene.util.ArrayUtil$1
InnerClasses:
org.apache.lucene.util.ArrayUtil$1