public class sun.awt.image.WritableRasterNative extends java.awt.image.WritableRaster
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.image.WritableRasterNative
super_class: java.awt.image.WritableRaster
{
public static sun.awt.image.WritableRasterNative createNativeRaster(java.awt.image.SampleModel, java.awt.image.DataBuffer);
descriptor: (Ljava/awt/image/SampleModel;Ljava/awt/image/DataBuffer;)Lsun/awt/image/WritableRasterNative;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new sun.awt.image.WritableRasterNative
dup
aload 0
aload 1
invokespecial sun.awt.image.WritableRasterNative.<init>:(Ljava/awt/image/SampleModel;Ljava/awt/image/DataBuffer;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 sm Ljava/awt/image/SampleModel;
0 1 1 db Ljava/awt/image/DataBuffer;
MethodParameters:
Name Flags
sm
db
protected void <init>(java.awt.image.SampleModel, java.awt.image.DataBuffer);
descriptor: (Ljava/awt/image/SampleModel;Ljava/awt/image/DataBuffer;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
new java.awt.Point
dup
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
invokespecial java.awt.image.WritableRaster.<init>:(Ljava/awt/image/SampleModel;Ljava/awt/image/DataBuffer;Ljava/awt/Point;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/image/WritableRasterNative;
0 2 1 sm Ljava/awt/image/SampleModel;
0 2 2 db Ljava/awt/image/DataBuffer;
MethodParameters:
Name Flags
sm
db
public static sun.awt.image.WritableRasterNative createNativeRaster(java.awt.image.ColorModel, sun.java2d.SurfaceData, int, int);
descriptor: (Ljava/awt/image/ColorModel;Lsun/java2d/SurfaceData;II)Lsun/awt/image/WritableRasterNative;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aconst_null
astore 4
start local 4 1: iconst_0
istore 5
start local 5 2: iload 2
istore 6
start local 6 3: aload 0
invokevirtual java.awt.image.ColorModel.getPixelSize:()I
lookupswitch { // 6
8: 4
12: 4
15: 16
16: 16
24: 27
32: 27
default: 38
}
4: StackMap locals: java.awt.image.SampleModel int int
StackMap stack:
aload 0
invokevirtual java.awt.image.ColorModel.getPixelSize:()I
bipush 8
if_icmpne 7
5: iconst_0
istore 5
6: goto 8
7: StackMap locals:
StackMap stack:
iconst_1
istore 5
8: StackMap locals:
StackMap stack:
iconst_1
newarray 10
astore 7
start local 7 9: aload 7
iconst_0
iconst_0
iastore
10: new java.awt.image.PixelInterleavedSampleModel
dup
iload 5
iload 2
11: iload 3
12: iconst_1
iload 6
13: aload 7
14: invokespecial java.awt.image.PixelInterleavedSampleModel.<init>:(IIIII[I)V
astore 4
15: goto 41
end local 7 16: StackMap locals:
StackMap stack:
iconst_1
istore 5
17: iconst_3
newarray 10
astore 8
start local 8 18: aload 0
checkcast java.awt.image.DirectColorModel
astore 9
start local 9 19: aload 8
iconst_0
aload 9
invokevirtual java.awt.image.DirectColorModel.getRedMask:()I
iastore
20: aload 8
iconst_1
aload 9
invokevirtual java.awt.image.DirectColorModel.getGreenMask:()I
iastore
21: aload 8
iconst_2
aload 9
invokevirtual java.awt.image.DirectColorModel.getBlueMask:()I
iastore
22: new java.awt.image.SinglePixelPackedSampleModel
dup
iload 5
iload 2
23: iload 3
iload 6
24: aload 8
25: invokespecial java.awt.image.SinglePixelPackedSampleModel.<init>:(IIII[I)V
astore 4
26: goto 41
end local 9 end local 8 27: StackMap locals:
StackMap stack:
iconst_3
istore 5
28: iconst_3
newarray 10
astore 8
start local 8 29: aload 0
checkcast java.awt.image.DirectColorModel
astore 9
start local 9 30: aload 8
iconst_0
aload 9
invokevirtual java.awt.image.DirectColorModel.getRedMask:()I
iastore
31: aload 8
iconst_1
aload 9
invokevirtual java.awt.image.DirectColorModel.getGreenMask:()I
iastore
32: aload 8
iconst_2
aload 9
invokevirtual java.awt.image.DirectColorModel.getBlueMask:()I
iastore
33: new java.awt.image.SinglePixelPackedSampleModel
dup
iload 5
iload 2
34: iload 3
iload 6
35: aload 8
36: invokespecial java.awt.image.SinglePixelPackedSampleModel.<init>:(IIII[I)V
astore 4
37: goto 41
end local 9 end local 8 38: StackMap locals:
StackMap stack:
new java.lang.InternalError
dup
new java.lang.StringBuilder
dup
ldc "Unsupported depth "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
39: aload 0
invokevirtual java.awt.image.ColorModel.getPixelSize:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
40: invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
41: StackMap locals:
StackMap stack:
new sun.awt.image.DataBufferNative
dup
aload 1
iload 5
42: iload 2
iload 3
43: invokespecial sun.awt.image.DataBufferNative.<init>:(Lsun/java2d/SurfaceData;III)V
astore 7
start local 7 44: new sun.awt.image.WritableRasterNative
dup
aload 4
aload 7
invokespecial sun.awt.image.WritableRasterNative.<init>:(Ljava/awt/image/SampleModel;Ljava/awt/image/DataBuffer;)V
areturn
end local 7 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 45 0 cm Ljava/awt/image/ColorModel;
0 45 1 sd Lsun/java2d/SurfaceData;
0 45 2 width I
0 45 3 height I
1 45 4 smHw Ljava/awt/image/SampleModel;
2 45 5 dataType I
3 45 6 scanStride I
9 16 7 bandOffsets [I
18 27 8 bitMasks [I
29 38 8 bitMasks [I
19 27 9 dcm Ljava/awt/image/DirectColorModel;
30 38 9 dcm Ljava/awt/image/DirectColorModel;
44 45 7 dbn Ljava/awt/image/DataBuffer;
MethodParameters:
Name Flags
cm
sd
width
height
}
SourceFile: "WritableRasterNative.java"