public abstract class java.awt.image.DataBuffer
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.awt.image.DataBuffer
super_class: java.lang.Object
{
public static final int TYPE_BYTE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int TYPE_USHORT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int TYPE_SHORT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int TYPE_INT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
public static final int TYPE_FLOAT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
public static final int TYPE_DOUBLE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 5
public static final int TYPE_UNDEFINED;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 32
protected int dataType;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int banks;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int offset;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int size;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int[] offsets;
descriptor: [I
flags: (0x0004) ACC_PROTECTED
sun.java2d.StateTrackableDelegate theTrackable;
descriptor: Lsun/java2d/StateTrackableDelegate;
flags: (0x0000)
private static final int[] dataTypeSize;
descriptor: [I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 6
newarray 10
dup
iconst_0
bipush 8
iastore
dup
iconst_1
bipush 16
iastore
dup
iconst_2
bipush 16
iastore
dup
iconst_3
bipush 32
iastore
dup
iconst_4
bipush 32
iastore
dup
iconst_5
bipush 64
iastore
putstatic java.awt.image.DataBuffer.dataTypeSize:[I
1: new java.awt.image.DataBuffer$1
dup
invokespecial java.awt.image.DataBuffer$1.<init>:()V
invokestatic sun.awt.image.SunWritableRaster.setDataStealer:(Lsun/awt/image/SunWritableRaster$DataStealer;)V
2: return
LocalVariableTable:
Start End Slot Name Signature
public static int getDataTypeSize(int);
descriptor: (I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
iflt 1
iload 0
iconst_5
if_icmple 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown data type "
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:
getstatic java.awt.image.DataBuffer.dataTypeSize:[I
iload 0
iaload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type I
MethodParameters:
Name Flags
type
protected void <init>(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getstatic sun.java2d.StateTrackable$State.UNTRACKABLE:Lsun/java2d/StateTrackable$State;
iload 1
iload 2
invokespecial java.awt.image.DataBuffer.<init>:(Lsun/java2d/StateTrackable$State;II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/image/DataBuffer;
0 2 1 dataType I
0 2 2 size I
MethodParameters:
Name Flags
dataType
size
void <init>(sun.java2d.StateTrackable$State, int, int);
descriptor: (Lsun/java2d/StateTrackable$State;II)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic sun.java2d.StateTrackableDelegate.createInstance:(Lsun/java2d/StateTrackable$State;)Lsun/java2d/StateTrackableDelegate;
putfield java.awt.image.DataBuffer.theTrackable:Lsun/java2d/StateTrackableDelegate;
2: aload 0
iload 2
putfield java.awt.image.DataBuffer.dataType:I
3: aload 0
iconst_1
putfield java.awt.image.DataBuffer.banks:I
4: aload 0
iload 3
putfield java.awt.image.DataBuffer.size:I
5: aload 0
iconst_0
putfield java.awt.image.DataBuffer.offset:I
6: aload 0
iconst_1
newarray 10
putfield java.awt.image.DataBuffer.offsets:[I
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/awt/image/DataBuffer;
0 8 1 initialState Lsun/java2d/StateTrackable$State;
0 8 2 dataType I
0 8 3 size I
MethodParameters:
Name Flags
initialState
dataType
size
protected void <init>(int, int, int);
descriptor: (III)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getstatic sun.java2d.StateTrackable$State.UNTRACKABLE:Lsun/java2d/StateTrackable$State;
iload 1
iload 2
iload 3
invokespecial java.awt.image.DataBuffer.<init>:(Lsun/java2d/StateTrackable$State;III)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/image/DataBuffer;
0 2 1 dataType I
0 2 2 size I
0 2 3 numBanks I
MethodParameters:
Name Flags
dataType
size
numBanks
void <init>(sun.java2d.StateTrackable$State, int, int, int);
descriptor: (Lsun/java2d/StateTrackable$State;III)V
flags: (0x0000)
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic sun.java2d.StateTrackableDelegate.createInstance:(Lsun/java2d/StateTrackable$State;)Lsun/java2d/StateTrackableDelegate;
putfield java.awt.image.DataBuffer.theTrackable:Lsun/java2d/StateTrackableDelegate;
2: aload 0
iload 2
putfield java.awt.image.DataBuffer.dataType:I
3: aload 0
iload 4
putfield java.awt.image.DataBuffer.banks:I
4: aload 0
iload 3
putfield java.awt.image.DataBuffer.size:I
5: aload 0
iconst_0
putfield java.awt.image.DataBuffer.offset:I
6: aload 0
aload 0
getfield java.awt.image.DataBuffer.banks:I
newarray 10
putfield java.awt.image.DataBuffer.offsets:[I
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/awt/image/DataBuffer;
0 8 1 initialState Lsun/java2d/StateTrackable$State;
0 8 2 dataType I
0 8 3 size I
0 8 4 numBanks I
MethodParameters:
Name Flags
initialState
dataType
size
numBanks
protected void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getstatic sun.java2d.StateTrackable$State.UNTRACKABLE:Lsun/java2d/StateTrackable$State;
iload 1
iload 2
iload 3
iload 4
invokespecial java.awt.image.DataBuffer.<init>:(Lsun/java2d/StateTrackable$State;IIII)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/image/DataBuffer;
0 2 1 dataType I
0 2 2 size I
0 2 3 numBanks I
0 2 4 offset I
MethodParameters:
Name Flags
dataType
size
numBanks
offset
void <init>(sun.java2d.StateTrackable$State, int, int, int, int);
descriptor: (Lsun/java2d/StateTrackable$State;IIII)V
flags: (0x0000)
Code:
stack=3, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic sun.java2d.StateTrackableDelegate.createInstance:(Lsun/java2d/StateTrackable$State;)Lsun/java2d/StateTrackableDelegate;
putfield java.awt.image.DataBuffer.theTrackable:Lsun/java2d/StateTrackableDelegate;
2: aload 0
iload 2
putfield java.awt.image.DataBuffer.dataType:I
3: aload 0
iload 4
putfield java.awt.image.DataBuffer.banks:I
4: aload 0
iload 3
putfield java.awt.image.DataBuffer.size:I
5: aload 0
iload 5
putfield java.awt.image.DataBuffer.offset:I
6: aload 0
iload 4
newarray 10
putfield java.awt.image.DataBuffer.offsets:[I
7: iconst_0
istore 6
start local 6 8: goto 11
9: StackMap locals: java.awt.image.DataBuffer sun.java2d.StateTrackable$State int int int int int
StackMap stack:
aload 0
getfield java.awt.image.DataBuffer.offsets:[I
iload 6
iload 5
iastore
10: iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
iload 4
if_icmplt 9
end local 6 12: return
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 13 0 this Ljava/awt/image/DataBuffer;
0 13 1 initialState Lsun/java2d/StateTrackable$State;
0 13 2 dataType I
0 13 3 size I
0 13 4 numBanks I
0 13 5 offset I
8 12 6 i I
MethodParameters:
Name Flags
initialState
dataType
size
numBanks
offset
protected void <init>(int, int, int, int[]);
descriptor: (III[I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getstatic sun.java2d.StateTrackable$State.UNTRACKABLE:Lsun/java2d/StateTrackable$State;
iload 1
iload 2
iload 3
aload 4
invokespecial java.awt.image.DataBuffer.<init>:(Lsun/java2d/StateTrackable$State;III[I)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/image/DataBuffer;
0 2 1 dataType I
0 2 2 size I
0 2 3 numBanks I
0 2 4 offsets [I
MethodParameters:
Name Flags
dataType
size
numBanks
offsets
void <init>(sun.java2d.StateTrackable$State, int, int, int, int[]);
descriptor: (Lsun/java2d/StateTrackable$State;III[I)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 4
aload 5
arraylength
if_icmpeq 3
2: new java.lang.ArrayIndexOutOfBoundsException
dup
ldc "Number of banks does not match number of bank offsets"
invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: java.awt.image.DataBuffer sun.java2d.StateTrackable$State int int int int[]
StackMap stack:
aload 0
aload 1
invokestatic sun.java2d.StateTrackableDelegate.createInstance:(Lsun/java2d/StateTrackable$State;)Lsun/java2d/StateTrackableDelegate;
putfield java.awt.image.DataBuffer.theTrackable:Lsun/java2d/StateTrackableDelegate;
4: aload 0
iload 2
putfield java.awt.image.DataBuffer.dataType:I
5: aload 0
iload 4
putfield java.awt.image.DataBuffer.banks:I
6: aload 0
iload 3
putfield java.awt.image.DataBuffer.size:I
7: aload 0
aload 5
iconst_0
iaload
putfield java.awt.image.DataBuffer.offset:I
8: aload 0
aload 5
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
putfield java.awt.image.DataBuffer.offsets:[I
9: return
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 10 0 this Ljava/awt/image/DataBuffer;
0 10 1 initialState Lsun/java2d/StateTrackable$State;
0 10 2 dataType I
0 10 3 size I
0 10 4 numBanks I
0 10 5 offsets [I
MethodParameters:
Name Flags
initialState
dataType
size
numBanks
offsets
public int getDataType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.image.DataBuffer.dataType:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/image/DataBuffer;
public int getSize();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.image.DataBuffer.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/image/DataBuffer;
public int getOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.image.DataBuffer.offset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/image/DataBuffer;
public int[] getOffsets();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.image.DataBuffer.offsets:[I
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/image/DataBuffer;
public int getNumBanks();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.image.DataBuffer.banks:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/image/DataBuffer;
public int getElem(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
iload 1
invokevirtual java.awt.image.DataBuffer.getElem:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/image/DataBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
public abstract int getElem(int, int);
descriptor: (II)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
bank
i
public void setElem(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iconst_0
iload 1
iload 2
invokevirtual java.awt.image.DataBuffer.setElem:(III)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/image/DataBuffer;
0 2 1 i I
0 2 2 val I
MethodParameters:
Name Flags
i
val
public abstract void setElem(int, int, int);
descriptor: (III)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
bank
i
val
public float getElemFloat(int);
descriptor: (I)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual java.awt.image.DataBuffer.getElem:(I)I
i2f
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/image/DataBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
public float getElemFloat(int, int);
descriptor: (II)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual java.awt.image.DataBuffer.getElem:(II)I
i2f
freturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/image/DataBuffer;
0 1 1 bank I
0 1 2 i I
MethodParameters:
Name Flags
bank
i
public void setElemFloat(int, float);
descriptor: (IF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
fload 2
f2i
invokevirtual java.awt.image.DataBuffer.setElem:(II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/image/DataBuffer;
0 2 1 i I
0 2 2 val F
MethodParameters:
Name Flags
i
val
public void setElemFloat(int, int, float);
descriptor: (IIF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
fload 3
f2i
invokevirtual java.awt.image.DataBuffer.setElem:(III)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/image/DataBuffer;
0 2 1 bank I
0 2 2 i I
0 2 3 val F
MethodParameters:
Name Flags
bank
i
val
public double getElemDouble(int);
descriptor: (I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual java.awt.image.DataBuffer.getElem:(I)I
i2d
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/image/DataBuffer;
0 1 1 i I
MethodParameters:
Name Flags
i
public double getElemDouble(int, int);
descriptor: (II)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual java.awt.image.DataBuffer.getElem:(II)I
i2d
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/image/DataBuffer;
0 1 1 bank I
0 1 2 i I
MethodParameters:
Name Flags
bank
i
public void setElemDouble(int, double);
descriptor: (ID)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
dload 2
d2i
invokevirtual java.awt.image.DataBuffer.setElem:(II)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/image/DataBuffer;
0 2 1 i I
0 2 2 val D
MethodParameters:
Name Flags
i
val
public void setElemDouble(int, int, double);
descriptor: (IID)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
dload 3
d2i
invokevirtual java.awt.image.DataBuffer.setElem:(III)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/image/DataBuffer;
0 2 1 bank I
0 2 2 i I
0 2 3 val D
MethodParameters:
Name Flags
bank
i
val
static int[] toIntArray(java.lang.Object);
descriptor: (Ljava/lang/Object;)[I
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
instanceof int[]
ifeq 2
1: aload 0
checkcast int[]
areturn
2: StackMap locals:
StackMap stack:
aload 0
ifnonnull 4
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
instanceof short[]
ifeq 13
5: aload 0
checkcast short[]
astore 1
start local 1 6: aload 1
arraylength
newarray 10
astore 2
start local 2 7: iconst_0
istore 3
start local 3 8: goto 11
9: StackMap locals: short[] int[] int
StackMap stack:
aload 2
iload 3
aload 1
iload 3
saload
ldc 65535
iand
iastore
10: iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 1
arraylength
if_icmplt 9
end local 3 12: aload 2
areturn
end local 2 end local 1 13: StackMap locals:
StackMap stack:
aload 0
instanceof byte[]
ifeq 22
14: aload 0
checkcast byte[]
astore 1
start local 1 15: aload 1
arraylength
newarray 10
astore 2
start local 2 16: iconst_0
istore 3
start local 3 17: goto 20
18: StackMap locals: byte[] int[] int
StackMap stack:
aload 2
iload 3
sipush 255
aload 1
iload 3
baload
iand
iastore
19: iinc 3 1
StackMap locals:
StackMap stack:
20: iload 3
aload 1
arraylength
if_icmplt 18
end local 3 21: aload 2
areturn
end local 2 end local 1 22: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 obj Ljava/lang/Object;
6 13 1 sdata [S
7 13 2 idata [I
8 12 3 i I
15 22 1 bdata [B
16 22 2 idata [I
17 21 3 i I
MethodParameters:
Name Flags
obj
}
SourceFile: "DataBuffer.java"
NestMembers:
java.awt.image.DataBuffer$1
InnerClasses:
java.awt.image.DataBuffer$1
public abstract DataStealer = sun.awt.image.SunWritableRaster$DataStealer of sun.awt.image.SunWritableRaster
public final State = sun.java2d.StateTrackable$State of sun.java2d.StateTrackable