public class sun.java2d.xr.GrowableIntArray
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.xr.GrowableIntArray
super_class: java.lang.Object
{
int[] array;
descriptor: [I
flags: (0x0000)
int size;
descriptor: I
flags: (0x0000)
int cellSize;
descriptor: I
flags: (0x0000)
public void <init>(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, 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
iload 2
newarray 10
putfield sun.java2d.xr.GrowableIntArray.array:[I
2: aload 0
iconst_0
putfield sun.java2d.xr.GrowableIntArray.size:I
3: aload 0
iload 1
putfield sun.java2d.xr.GrowableIntArray.cellSize:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/xr/GrowableIntArray;
0 5 1 cellSize I
0 5 2 initialSize I
MethodParameters:
Name Flags
cellSize
initialSize
private int getNextCellIndex();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.java2d.xr.GrowableIntArray.size:I
istore 1
start local 1 1: aload 0
dup
getfield sun.java2d.xr.GrowableIntArray.size:I
aload 0
getfield sun.java2d.xr.GrowableIntArray.cellSize:I
iadd
putfield sun.java2d.xr.GrowableIntArray.size:I
2: aload 0
getfield sun.java2d.xr.GrowableIntArray.size:I
aload 0
getfield sun.java2d.xr.GrowableIntArray.array:[I
arraylength
if_icmplt 4
3: aload 0
invokevirtual sun.java2d.xr.GrowableIntArray.growArray:()V
4: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/xr/GrowableIntArray;
1 5 1 oldSize I
public int[] getArray();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.xr.GrowableIntArray.array:[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/GrowableIntArray;
public int[] getSizedArray();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.xr.GrowableIntArray.array:[I
aload 0
invokevirtual sun.java2d.xr.GrowableIntArray.getSize:()I
invokestatic java.util.Arrays.copyOf:([II)[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/GrowableIntArray;
public final int getNextIndex();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.java2d.xr.GrowableIntArray.getNextCellIndex:()I
aload 0
getfield sun.java2d.xr.GrowableIntArray.cellSize:I
idiv
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/GrowableIntArray;
protected final int getCellIndex(int);
descriptor: (I)I
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.xr.GrowableIntArray.cellSize:I
iload 1
imul
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/GrowableIntArray;
0 1 1 cellIndex I
MethodParameters:
Name Flags
cellIndex
public final int getInt(int);
descriptor: (I)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.xr.GrowableIntArray.array:[I
iload 1
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/GrowableIntArray;
0 1 1 cellIndex I
MethodParameters:
Name Flags
cellIndex
public final void addInt(int);
descriptor: (I)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.java2d.xr.GrowableIntArray.getNextIndex:()I
istore 2
start local 2 1: aload 0
getfield sun.java2d.xr.GrowableIntArray.array:[I
iload 2
iload 1
iastore
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/xr/GrowableIntArray;
0 3 1 i I
1 3 2 nextIndex I
MethodParameters:
Name Flags
i
public final int getSize();
descriptor: ()I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.xr.GrowableIntArray.size:I
aload 0
getfield sun.java2d.xr.GrowableIntArray.cellSize:I
idiv
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/GrowableIntArray;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield sun.java2d.xr.GrowableIntArray.size:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/xr/GrowableIntArray;
protected void growArray();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.java2d.xr.GrowableIntArray.array:[I
arraylength
iconst_2
imul
bipush 10
invokestatic java.lang.Math.max:(II)I
istore 1
start local 1 1: aload 0
getfield sun.java2d.xr.GrowableIntArray.array:[I
astore 2
start local 2 2: aload 0
iload 1
newarray 10
putfield sun.java2d.xr.GrowableIntArray.array:[I
3: aload 2
iconst_0
aload 0
getfield sun.java2d.xr.GrowableIntArray.array:[I
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/xr/GrowableIntArray;
1 5 1 newSize I
2 5 2 oldArray [I
}
SourceFile: "GrowableIntArray.java"