public class sun.java2d.SunCompositeContext implements java.awt.CompositeContext
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.SunCompositeContext
super_class: java.lang.Object
{
java.awt.image.ColorModel srcCM;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x0000)
java.awt.image.ColorModel dstCM;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x0000)
java.awt.Composite composite;
descriptor: Ljava/awt/Composite;
flags: (0x0000)
sun.java2d.loops.CompositeType comptype;
descriptor: Lsun/java2d/loops/CompositeType;
flags: (0x0000)
public void <init>(java.awt.AlphaComposite, java.awt.image.ColorModel, java.awt.image.ColorModel);
descriptor: (Ljava/awt/AlphaComposite;Ljava/awt/image/ColorModel;Ljava/awt/image/ColorModel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 2
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "Source color model cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.java2d.SunCompositeContext java.awt.AlphaComposite java.awt.image.ColorModel java.awt.image.ColorModel
StackMap stack:
aload 3
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "Destination color model cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield sun.java2d.SunCompositeContext.srcCM:Ljava/awt/image/ColorModel;
6: aload 0
aload 3
putfield sun.java2d.SunCompositeContext.dstCM:Ljava/awt/image/ColorModel;
7: aload 0
aload 1
putfield sun.java2d.SunCompositeContext.composite:Ljava/awt/Composite;
8: aload 0
aload 1
invokestatic sun.java2d.loops.CompositeType.forAlphaComposite:(Ljava/awt/AlphaComposite;)Lsun/java2d/loops/CompositeType;
putfield sun.java2d.SunCompositeContext.comptype:Lsun/java2d/loops/CompositeType;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/java2d/SunCompositeContext;
0 10 1 ac Ljava/awt/AlphaComposite;
0 10 2 s Ljava/awt/image/ColorModel;
0 10 3 d Ljava/awt/image/ColorModel;
MethodParameters:
Name Flags
ac
s
d
public void <init>(sun.java2d.loops.XORComposite, java.awt.image.ColorModel, java.awt.image.ColorModel);
descriptor: (Lsun/java2d/loops/XORComposite;Ljava/awt/image/ColorModel;Ljava/awt/image/ColorModel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, 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 2
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "Source color model cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: sun.java2d.SunCompositeContext sun.java2d.loops.XORComposite java.awt.image.ColorModel java.awt.image.ColorModel
StackMap stack:
aload 3
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "Destination color model cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield sun.java2d.SunCompositeContext.srcCM:Ljava/awt/image/ColorModel;
6: aload 0
aload 3
putfield sun.java2d.SunCompositeContext.dstCM:Ljava/awt/image/ColorModel;
7: aload 0
aload 1
putfield sun.java2d.SunCompositeContext.composite:Ljava/awt/Composite;
8: aload 0
getstatic sun.java2d.loops.CompositeType.Xor:Lsun/java2d/loops/CompositeType;
putfield sun.java2d.SunCompositeContext.comptype:Lsun/java2d/loops/CompositeType;
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/java2d/SunCompositeContext;
0 10 1 xc Lsun/java2d/loops/XORComposite;
0 10 2 s Ljava/awt/image/ColorModel;
0 10 3 d Ljava/awt/image/ColorModel;
MethodParameters:
Name Flags
xc
s
d
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/SunCompositeContext;
public void compose(java.awt.image.Raster, java.awt.image.Raster, java.awt.image.WritableRaster);
descriptor: (Ljava/awt/image/Raster;Ljava/awt/image/Raster;Ljava/awt/image/WritableRaster;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 3
if_acmpeq 2
1: aload 3
iconst_0
iconst_0
aload 2
invokevirtual java.awt.image.WritableRaster.setDataElements:(IILjava/awt/image/Raster;)V
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.awt.image.WritableRaster
ifeq 5
3: aload 1
checkcast java.awt.image.WritableRaster
astore 4
start local 4 4: goto 7
end local 4 5: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.image.Raster.createCompatibleWritableRaster:()Ljava/awt/image/WritableRaster;
astore 4
start local 4 6: aload 4
iconst_0
iconst_0
aload 1
invokevirtual java.awt.image.WritableRaster.setDataElements:(IILjava/awt/image/Raster;)V
7: StackMap locals: java.awt.image.WritableRaster
StackMap stack:
aload 4
invokevirtual java.awt.image.WritableRaster.getWidth:()I
aload 2
invokevirtual java.awt.image.Raster.getWidth:()I
invokestatic java.lang.Math.min:(II)I
istore 5
start local 5 8: aload 4
invokevirtual java.awt.image.WritableRaster.getHeight:()I
aload 2
invokevirtual java.awt.image.Raster.getHeight:()I
invokestatic java.lang.Math.min:(II)I
istore 6
start local 6 9: new java.awt.image.BufferedImage
dup
aload 0
getfield sun.java2d.SunCompositeContext.srcCM:Ljava/awt/image/ColorModel;
aload 4
10: aload 0
getfield sun.java2d.SunCompositeContext.srcCM:Ljava/awt/image/ColorModel;
invokevirtual java.awt.image.ColorModel.isAlphaPremultiplied:()Z
11: aconst_null
12: invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
astore 7
start local 7 13: new java.awt.image.BufferedImage
dup
aload 0
getfield sun.java2d.SunCompositeContext.dstCM:Ljava/awt/image/ColorModel;
aload 3
14: aload 0
getfield sun.java2d.SunCompositeContext.dstCM:Ljava/awt/image/ColorModel;
invokevirtual java.awt.image.ColorModel.isAlphaPremultiplied:()Z
15: aconst_null
16: invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
astore 8
start local 8 17: aload 7
invokestatic sun.awt.image.BufImgSurfaceData.createData:(Ljava/awt/image/BufferedImage;)Lsun/java2d/SurfaceData;
astore 9
start local 9 18: aload 8
invokestatic sun.awt.image.BufImgSurfaceData.createData:(Ljava/awt/image/BufferedImage;)Lsun/java2d/SurfaceData;
astore 10
start local 10 19: aload 9
invokevirtual sun.java2d.SurfaceData.getSurfaceType:()Lsun/java2d/loops/SurfaceType;
20: aload 0
getfield sun.java2d.SunCompositeContext.comptype:Lsun/java2d/loops/CompositeType;
21: aload 10
invokevirtual sun.java2d.SurfaceData.getSurfaceType:()Lsun/java2d/loops/SurfaceType;
22: invokestatic sun.java2d.loops.Blit.getFromCache:(Lsun/java2d/loops/SurfaceType;Lsun/java2d/loops/CompositeType;Lsun/java2d/loops/SurfaceType;)Lsun/java2d/loops/Blit;
astore 11
start local 11 23: aload 11
aload 9
aload 10
aload 0
getfield sun.java2d.SunCompositeContext.composite:Ljava/awt/Composite;
aconst_null
iconst_0
iconst_0
iconst_0
iconst_0
iload 5
iload 6
invokevirtual sun.java2d.loops.Blit.Blit:(Lsun/java2d/SurfaceData;Lsun/java2d/SurfaceData;Ljava/awt/Composite;Lsun/java2d/pipe/Region;IIIIII)V
24: return
end local 11 end local 10 end local 9 end local 8 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 25 0 this Lsun/java2d/SunCompositeContext;
0 25 1 srcArg Ljava/awt/image/Raster;
0 25 2 dstIn Ljava/awt/image/Raster;
0 25 3 dstOut Ljava/awt/image/WritableRaster;
4 5 4 src Ljava/awt/image/WritableRaster;
6 25 4 src Ljava/awt/image/WritableRaster;
8 25 5 w I
9 25 6 h I
13 25 7 srcImg Ljava/awt/image/BufferedImage;
17 25 8 dstImg Ljava/awt/image/BufferedImage;
18 25 9 srcData Lsun/java2d/SurfaceData;
19 25 10 dstData Lsun/java2d/SurfaceData;
23 25 11 blit Lsun/java2d/loops/Blit;
MethodParameters:
Name Flags
srcArg
dstIn
dstOut
}
SourceFile: "SunCompositeContext.java"