public class sun.awt.image.BufferedImageGraphicsConfig extends java.awt.GraphicsConfiguration
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.image.BufferedImageGraphicsConfig
super_class: java.awt.GraphicsConfiguration
{
private static final int numconfigs;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 12
private static sun.awt.image.BufferedImageGraphicsConfig[] standardConfigs;
descriptor: [Lsun/awt/image/BufferedImageGraphicsConfig;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static sun.awt.image.BufferedImageGraphicsConfig[] scaledConfigs;
descriptor: [Lsun/awt/image/BufferedImageGraphicsConfig;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
java.awt.GraphicsDevice gd;
descriptor: Ljava/awt/GraphicsDevice;
flags: (0x0000)
java.awt.image.ColorModel model;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x0000)
java.awt.image.Raster raster;
descriptor: Ljava/awt/image/Raster;
flags: (0x0000)
private final double scaleX;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double scaleY;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: bipush 12
anewarray sun.awt.image.BufferedImageGraphicsConfig
1: putstatic sun.awt.image.BufferedImageGraphicsConfig.standardConfigs:[Lsun/awt/image/BufferedImageGraphicsConfig;
2: bipush 12
anewarray sun.awt.image.BufferedImageGraphicsConfig
3: putstatic sun.awt.image.BufferedImageGraphicsConfig.scaledConfigs:[Lsun/awt/image/BufferedImageGraphicsConfig;
4: return
LocalVariableTable:
Start End Slot Name Signature
public static sun.awt.image.BufferedImageGraphicsConfig getConfig(java.awt.image.BufferedImage);
descriptor: (Ljava/awt/image/BufferedImage;)Lsun/awt/image/BufferedImageGraphicsConfig;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
dconst_1
dconst_1
invokestatic sun.awt.image.BufferedImageGraphicsConfig.getConfig:(Ljava/awt/image/BufferedImage;DD)Lsun/awt/image/BufferedImageGraphicsConfig;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 bImg Ljava/awt/image/BufferedImage;
MethodParameters:
Name Flags
bImg
public static sun.awt.image.BufferedImageGraphicsConfig getConfig(java.awt.image.BufferedImage, double, double);
descriptor: (Ljava/awt/image/BufferedImage;DD)Lsun/awt/image/BufferedImageGraphicsConfig;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, locals=8, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokevirtual java.awt.image.BufferedImage.getType:()I
istore 6
start local 6 1: dload 1
dconst_1
dcmpl
ifne 3
dload 3
dconst_1
dcmpl
ifne 3
2: getstatic sun.awt.image.BufferedImageGraphicsConfig.standardConfigs:[Lsun/awt/image/BufferedImageGraphicsConfig;
goto 4
StackMap locals: java.awt.image.BufferedImage double double top int
StackMap stack:
3: getstatic sun.awt.image.BufferedImageGraphicsConfig.scaledConfigs:[Lsun/awt/image/BufferedImageGraphicsConfig;
4: StackMap locals:
StackMap stack: sun.awt.image.BufferedImageGraphicsConfig[]
astore 7
start local 7 5: iload 6
ifle 9
iload 6
bipush 12
if_icmpge 9
6: aload 7
iload 6
aaload
astore 5
start local 5 7: aload 5
ifnull 9
aload 5
getfield sun.awt.image.BufferedImageGraphicsConfig.scaleX:D
dload 1
dcmpl
ifne 9
aload 5
getfield sun.awt.image.BufferedImageGraphicsConfig.scaleY:D
dload 3
dcmpl
ifne 9
8: aload 5
areturn
end local 5 9: StackMap locals: sun.awt.image.BufferedImageGraphicsConfig[]
StackMap stack:
new sun.awt.image.BufferedImageGraphicsConfig
dup
aload 0
aconst_null
dload 1
dload 3
invokespecial sun.awt.image.BufferedImageGraphicsConfig.<init>:(Ljava/awt/image/BufferedImage;Ljava/awt/Component;DD)V
astore 5
start local 5 10: iload 6
ifle 12
iload 6
bipush 12
if_icmpge 12
11: aload 7
iload 6
aload 5
aastore
12: StackMap locals: java.awt.image.BufferedImage double double sun.awt.image.BufferedImageGraphicsConfig int sun.awt.image.BufferedImageGraphicsConfig[]
StackMap stack:
aload 5
areturn
end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 bImg Ljava/awt/image/BufferedImage;
0 13 1 scaleX D
0 13 3 scaleY D
7 9 5 ret Lsun/awt/image/BufferedImageGraphicsConfig;
10 13 5 ret Lsun/awt/image/BufferedImageGraphicsConfig;
1 13 6 type I
5 13 7 configs [Lsun/awt/image/BufferedImageGraphicsConfig;
MethodParameters:
Name Flags
bImg
scaleX
scaleY
public void <init>(java.awt.image.BufferedImage, java.awt.Component);
descriptor: (Ljava/awt/image/BufferedImage;Ljava/awt/Component;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
dconst_1
dconst_1
invokespecial sun.awt.image.BufferedImageGraphicsConfig.<init>:(Ljava/awt/image/BufferedImage;Ljava/awt/Component;DD)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/BufferedImageGraphicsConfig;
0 2 1 bufImg Ljava/awt/image/BufferedImage;
0 2 2 comp Ljava/awt/Component;
MethodParameters:
Name Flags
bufImg
comp
public void <init>(java.awt.image.BufferedImage, java.awt.Component, double, double);
descriptor: (Ljava/awt/image/BufferedImage;Ljava/awt/Component;DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: aload 0
invokespecial java.awt.GraphicsConfiguration.<init>:()V
1: aload 2
ifnonnull 4
2: aload 0
new sun.awt.image.BufferedImageDevice
dup
aload 0
invokespecial sun.awt.image.BufferedImageDevice.<init>:(Lsun/awt/image/BufferedImageGraphicsConfig;)V
putfield sun.awt.image.BufferedImageGraphicsConfig.gd:Ljava/awt/GraphicsDevice;
3: goto 6
4: StackMap locals: sun.awt.image.BufferedImageGraphicsConfig java.awt.image.BufferedImage java.awt.Component double double
StackMap stack:
aload 2
invokevirtual java.awt.Component.getGraphics:()Ljava/awt/Graphics;
checkcast java.awt.Graphics2D
astore 7
start local 7 5: aload 0
aload 7
invokevirtual java.awt.Graphics2D.getDeviceConfiguration:()Ljava/awt/GraphicsConfiguration;
invokevirtual java.awt.GraphicsConfiguration.getDevice:()Ljava/awt/GraphicsDevice;
putfield sun.awt.image.BufferedImageGraphicsConfig.gd:Ljava/awt/GraphicsDevice;
end local 7 6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.awt.image.BufferedImage.getColorModel:()Ljava/awt/image/ColorModel;
putfield sun.awt.image.BufferedImageGraphicsConfig.model:Ljava/awt/image/ColorModel;
7: aload 0
aload 1
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
iconst_1
iconst_1
invokevirtual java.awt.image.WritableRaster.createCompatibleWritableRaster:(II)Ljava/awt/image/WritableRaster;
putfield sun.awt.image.BufferedImageGraphicsConfig.raster:Ljava/awt/image/Raster;
8: aload 0
dload 3
putfield sun.awt.image.BufferedImageGraphicsConfig.scaleX:D
9: aload 0
dload 5
putfield sun.awt.image.BufferedImageGraphicsConfig.scaleY:D
10: return
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/awt/image/BufferedImageGraphicsConfig;
0 11 1 bufImg Ljava/awt/image/BufferedImage;
0 11 2 comp Ljava/awt/Component;
0 11 3 scaleX D
0 11 5 scaleY D
5 6 7 g2d Ljava/awt/Graphics2D;
MethodParameters:
Name Flags
bufImg
comp
scaleX
scaleY
public java.awt.GraphicsDevice getDevice();
descriptor: ()Ljava/awt/GraphicsDevice;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.image.BufferedImageGraphicsConfig.gd:Ljava/awt/GraphicsDevice;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/BufferedImageGraphicsConfig;
public java.awt.image.BufferedImage createCompatibleImage(int, int);
descriptor: (II)Ljava/awt/image/BufferedImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield sun.awt.image.BufferedImageGraphicsConfig.raster:Ljava/awt/image/Raster;
iload 1
iload 2
invokevirtual java.awt.image.Raster.createCompatibleWritableRaster:(II)Ljava/awt/image/WritableRaster;
astore 3
start local 3 1: new java.awt.image.BufferedImage
dup
aload 0
getfield sun.awt.image.BufferedImageGraphicsConfig.model:Ljava/awt/image/ColorModel;
aload 3
aload 0
getfield sun.awt.image.BufferedImageGraphicsConfig.model:Ljava/awt/image/ColorModel;
invokevirtual java.awt.image.ColorModel.isAlphaPremultiplied:()Z
aconst_null
invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/image/BufferedImageGraphicsConfig;
0 2 1 width I
0 2 2 height I
1 2 3 wr Ljava/awt/image/WritableRaster;
MethodParameters:
Name Flags
width
height
public java.awt.image.ColorModel getColorModel();
descriptor: ()Ljava/awt/image/ColorModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.image.BufferedImageGraphicsConfig.model:Ljava/awt/image/ColorModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/BufferedImageGraphicsConfig;
public java.awt.image.ColorModel getColorModel(int);
descriptor: (I)Ljava/awt/image/ColorModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield sun.awt.image.BufferedImageGraphicsConfig.model:Ljava/awt/image/ColorModel;
invokevirtual java.awt.image.ColorModel.getTransparency:()I
iload 1
if_icmpne 2
1: aload 0
getfield sun.awt.image.BufferedImageGraphicsConfig.model:Ljava/awt/image/ColorModel;
areturn
2: StackMap locals:
StackMap stack:
iload 1
tableswitch { // 1 - 3
1: 3
2: 4
3: 5
default: 6
}
3: StackMap locals:
StackMap stack:
new java.awt.image.DirectColorModel
dup
bipush 24
ldc 16711680
ldc 65280
sipush 255
invokespecial java.awt.image.DirectColorModel.<init>:(IIII)V
areturn
4: StackMap locals:
StackMap stack:
new java.awt.image.DirectColorModel
dup
bipush 25
ldc 16711680
ldc 65280
sipush 255
ldc 16777216
invokespecial java.awt.image.DirectColorModel.<init>:(IIIII)V
areturn
5: StackMap locals:
StackMap stack:
invokestatic java.awt.image.ColorModel.getRGBdefault:()Ljava/awt/image/ColorModel;
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/awt/image/BufferedImageGraphicsConfig;
0 7 1 transparency I
MethodParameters:
Name Flags
transparency
public java.awt.geom.AffineTransform getDefaultTransform();
descriptor: ()Ljava/awt/geom/AffineTransform;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.image.BufferedImageGraphicsConfig.scaleX:D
aload 0
getfield sun.awt.image.BufferedImageGraphicsConfig.scaleY:D
invokestatic java.awt.geom.AffineTransform.getScaleInstance:(DD)Ljava/awt/geom/AffineTransform;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/BufferedImageGraphicsConfig;
public java.awt.geom.AffineTransform getNormalizingTransform();
descriptor: ()Ljava/awt/geom/AffineTransform;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.awt.geom.AffineTransform
dup
invokespecial java.awt.geom.AffineTransform.<init>:()V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/BufferedImageGraphicsConfig;
public java.awt.Rectangle getBounds();
descriptor: ()Ljava/awt/Rectangle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: new java.awt.Rectangle
dup
iconst_0
iconst_0
ldc 2147483647
ldc 2147483647
invokespecial java.awt.Rectangle.<init>:(IIII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/BufferedImageGraphicsConfig;
}
SourceFile: "BufferedImageGraphicsConfig.java"