public class sun.java2d.xr.GrowableByteArray
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.xr.GrowableByteArray
super_class: java.lang.Object
{
byte[] array;
descriptor: [B
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 8
putfield sun.java2d.xr.GrowableByteArray.array:[B
2: aload 0
iconst_0
putfield sun.java2d.xr.GrowableByteArray.size:I
3: aload 0
iload 1
putfield sun.java2d.xr.GrowableByteArray.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/GrowableByteArray;
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.GrowableByteArray.size:I
istore 1
start local 1 1: aload 0
dup
getfield sun.java2d.xr.GrowableByteArray.size:I
aload 0
getfield sun.java2d.xr.GrowableByteArray.cellSize:I
iadd
putfield sun.java2d.xr.GrowableByteArray.size:I
2: aload 0
getfield sun.java2d.xr.GrowableByteArray.size:I
aload 0
getfield sun.java2d.xr.GrowableByteArray.array:[B
arraylength
if_icmplt 4
3: aload 0
invokevirtual sun.java2d.xr.GrowableByteArray.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/GrowableByteArray;
1 5 1 oldSize I
public byte[] getArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.xr.GrowableByteArray.array:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/GrowableByteArray;
public byte[] getSizedArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.xr.GrowableByteArray.array:[B
aload 0
invokevirtual sun.java2d.xr.GrowableByteArray.getSize:()I
invokestatic java.util.Arrays.copyOf:([BI)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/GrowableByteArray;
public final int getByte(int);
descriptor: (I)I
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.java2d.xr.GrowableByteArray.array:[B
aload 0
iload 1
invokevirtual sun.java2d.xr.GrowableByteArray.getCellIndex:(I)I
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/GrowableByteArray;
0 1 1 index I
MethodParameters:
Name Flags
index
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.GrowableByteArray.getNextCellIndex:()I
aload 0
getfield sun.java2d.xr.GrowableByteArray.cellSize:I
idiv
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/GrowableByteArray;
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.GrowableByteArray.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/GrowableByteArray;
0 1 1 cellIndex I
MethodParameters:
Name Flags
cellIndex
public final void addByte(byte);
descriptor: (B)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.GrowableByteArray.getNextIndex:()I
istore 2
start local 2 1: aload 0
getfield sun.java2d.xr.GrowableByteArray.array:[B
iload 2
iload 1
bastore
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/xr/GrowableByteArray;
0 3 1 i B
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.GrowableByteArray.size:I
aload 0
getfield sun.java2d.xr.GrowableByteArray.cellSize:I
idiv
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/GrowableByteArray;
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.GrowableByteArray.size:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/java2d/xr/GrowableByteArray;
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.GrowableByteArray.array:[B
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.GrowableByteArray.array:[B
astore 2
start local 2 2: aload 0
iload 1
newarray 8
putfield sun.java2d.xr.GrowableByteArray.array:[B
3: aload 2
iconst_0
aload 0
getfield sun.java2d.xr.GrowableByteArray.array:[B
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/GrowableByteArray;
1 5 1 newSize I
2 5 2 oldArray [B
}
SourceFile: "GrowableByteArray.java"