public class sun.java2d.IntegerNIORaster extends sun.awt.image.SunWritableRaster
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.IntegerNIORaster
super_class: sun.awt.image.SunWritableRaster
{
protected java.nio.IntBuffer data;
descriptor: Ljava/nio/IntBuffer;
flags: (0x0004) ACC_PROTECTED
public static java.awt.image.WritableRaster createNIORaster(int, int, int[], java.awt.Point);
descriptor: (II[ILjava/awt/Point;)Ljava/awt/image/WritableRaster;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 0
ifle 1
iload 1
ifgt 4
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Width ("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ") and height ("
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: ldc ") cannot be <= 0"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new sun.java2d.DataBufferNIOInt
dup
iload 0
iload 1
imul
invokespecial sun.java2d.DataBufferNIOInt.<init>:(I)V
astore 4
start local 4 5: aload 3
ifnonnull 7
6: new java.awt.Point
dup
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
astore 3
7: StackMap locals: java.awt.image.DataBuffer
StackMap stack:
new java.awt.image.SinglePixelPackedSampleModel
dup
iconst_3
iload 0
iload 1
iload 0
aload 2
invokespecial java.awt.image.SinglePixelPackedSampleModel.<init>:(IIII[I)V
astore 5
start local 5 8: new sun.java2d.IntegerNIORaster
dup
aload 5
aload 4
aload 3
invokespecial sun.java2d.IntegerNIORaster.<init>:(Ljava/awt/image/SampleModel;Ljava/awt/image/DataBuffer;Ljava/awt/Point;)V
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 9 0 w I
0 9 1 h I
0 9 2 bandMasks [I
0 9 3 location Ljava/awt/Point;
5 9 4 db Ljava/awt/image/DataBuffer;
8 9 5 sppsm Ljava/awt/image/SinglePixelPackedSampleModel;
MethodParameters:
Name Flags
w
h
bandMasks
location
public void <init>(java.awt.image.SampleModel, java.awt.image.DataBuffer, java.awt.Point);
descriptor: (Ljava/awt/image/SampleModel;Ljava/awt/image/DataBuffer;Ljava/awt/Point;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
new java.awt.Rectangle
dup
aload 3
getfield java.awt.Point.x:I
aload 3
getfield java.awt.Point.y:I
aload 1
invokevirtual java.awt.image.SampleModel.getWidth:()I
aload 1
invokevirtual java.awt.image.SampleModel.getHeight:()I
invokespecial java.awt.Rectangle.<init>:(IIII)V
aload 3
aconst_null
invokespecial sun.awt.image.SunWritableRaster.<init>:(Ljava/awt/image/SampleModel;Ljava/awt/image/DataBuffer;Ljava/awt/Rectangle;Ljava/awt/Point;Ljava/awt/image/WritableRaster;)V
1: aload 2
instanceof sun.java2d.DataBufferNIOInt
ifne 3
2: new java.awt.image.RasterFormatException
dup
ldc "IntegerNIORasters must have DataBufferNIOInt DataBuffers"
invokespecial java.awt.image.RasterFormatException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.java2d.IntegerNIORaster java.awt.image.SampleModel java.awt.image.DataBuffer java.awt.Point
StackMap stack:
aload 0
aload 2
checkcast sun.java2d.DataBufferNIOInt
invokevirtual sun.java2d.DataBufferNIOInt.getBuffer:()Ljava/nio/IntBuffer;
putfield sun.java2d.IntegerNIORaster.data:Ljava/nio/IntBuffer;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/IntegerNIORaster;
0 5 1 sampleModel Ljava/awt/image/SampleModel;
0 5 2 dataBuffer Ljava/awt/image/DataBuffer;
0 5 3 origin Ljava/awt/Point;
MethodParameters:
Name Flags
sampleModel
dataBuffer
origin
public java.awt.image.WritableRaster createCompatibleWritableRaster();
descriptor: ()Ljava/awt/image/WritableRaster;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: new sun.java2d.IntegerNIORaster
dup
aload 0
getfield sun.java2d.IntegerNIORaster.sampleModel:Ljava/awt/image/SampleModel;
new sun.java2d.DataBufferNIOInt
dup
aload 0
getfield sun.java2d.IntegerNIORaster.sampleModel:Ljava/awt/image/SampleModel;
invokevirtual java.awt.image.SampleModel.getWidth:()I
aload 0
getfield sun.java2d.IntegerNIORaster.sampleModel:Ljava/awt/image/SampleModel;
invokevirtual java.awt.image.SampleModel.getHeight:()I
imul
invokespecial sun.java2d.DataBufferNIOInt.<init>:(I)V
new java.awt.Point
dup
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
invokespecial sun.java2d.IntegerNIORaster.<init>:(Ljava/awt/image/SampleModel;Ljava/awt/image/DataBuffer;Ljava/awt/Point;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/IntegerNIORaster;
public java.awt.image.WritableRaster createCompatibleWritableRaster(int, int);
descriptor: (II)Ljava/awt/image/WritableRaster;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifle 1
iload 2
ifgt 4
1: StackMap locals:
StackMap stack:
new java.awt.image.RasterFormatException
dup
new java.lang.StringBuilder
dup
ldc "negative "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
ifgt 2
ldc "width"
goto 3
StackMap locals: sun.java2d.IntegerNIORaster int int
StackMap stack: new 1 new 1 java.lang.StringBuilder
2: ldc "height"
StackMap locals: sun.java2d.IntegerNIORaster int int
StackMap stack: new 1 new 1 java.lang.StringBuilder java.lang.String
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.awt.image.RasterFormatException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.java2d.IntegerNIORaster.sampleModel:Ljava/awt/image/SampleModel;
iload 1
iload 2
invokevirtual java.awt.image.SampleModel.createCompatibleSampleModel:(II)Ljava/awt/image/SampleModel;
astore 3
start local 3 5: new sun.java2d.IntegerNIORaster
dup
aload 3
new sun.java2d.DataBufferNIOInt
dup
iload 1
iload 2
imul
invokespecial sun.java2d.DataBufferNIOInt.<init>:(I)V
new java.awt.Point
dup
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
invokespecial sun.java2d.IntegerNIORaster.<init>:(Ljava/awt/image/SampleModel;Ljava/awt/image/DataBuffer;Ljava/awt/Point;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/java2d/IntegerNIORaster;
0 6 1 w I
0 6 2 h I
5 6 3 sm Ljava/awt/image/SampleModel;
MethodParameters:
Name Flags
w
h
public java.awt.image.WritableRaster createCompatibleWritableRaster(java.awt.Rectangle);
descriptor: (Ljava/awt/Rectangle;)Ljava/awt/image/WritableRaster;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "Rect cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield java.awt.Rectangle.x:I
aload 1
getfield java.awt.Rectangle.y:I
aload 1
getfield java.awt.Rectangle.width:I
aload 1
getfield java.awt.Rectangle.height:I
invokevirtual sun.java2d.IntegerNIORaster.createCompatibleWritableRaster:(IIII)Ljava/awt/image/WritableRaster;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/IntegerNIORaster;
0 3 1 rect Ljava/awt/Rectangle;
MethodParameters:
Name Flags
rect
public java.awt.image.WritableRaster createCompatibleWritableRaster(int, int, int, int);
descriptor: (IIII)Ljava/awt/image/WritableRaster;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
iload 3
iload 4
invokevirtual sun.java2d.IntegerNIORaster.createCompatibleWritableRaster:(II)Ljava/awt/image/WritableRaster;
astore 5
start local 5 1: aload 5
iconst_0
iconst_0
iload 3
iload 4
iload 1
iload 2
aconst_null
invokevirtual java.awt.image.WritableRaster.createWritableChild:(IIIIII[I)Ljava/awt/image/WritableRaster;
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 2 0 this Lsun/java2d/IntegerNIORaster;
0 2 1 x I
0 2 2 y I
0 2 3 w I
0 2 4 h I
1 2 5 ret Ljava/awt/image/WritableRaster;
MethodParameters:
Name Flags
x
y
w
h
public java.nio.IntBuffer getBuffer();
descriptor: ()Ljava/nio/IntBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.java2d.IntegerNIORaster.data:Ljava/nio/IntBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/IntegerNIORaster;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new java.lang.String
dup
new java.lang.StringBuilder
dup
ldc "IntegerNIORaster: width = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.java2d.IntegerNIORaster.width:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
1: ldc " height = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.IntegerNIORaster.height:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
2: ldc " #Bands = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.IntegerNIORaster.numBands:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
3: ldc " xOff = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.IntegerNIORaster.sampleModelTranslateX:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
4: ldc " yOff = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.IntegerNIORaster.sampleModelTranslateY:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/java2d/IntegerNIORaster;
}
SourceFile: "IntegerNIORaster.java"