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[] configs;
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)
int width;
descriptor: I
flags: (0x0000)
int height;
descriptor: I
flags: (0x0000)
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.configs:[Lsun/awt/image/BufferedImageGraphicsConfig;
2: 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=4, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.image.BufferedImage.getType:()I
istore 2
start local 2 1: iload 2
ifle 5
iload 2
bipush 12
if_icmpge 5
2: getstatic sun.awt.image.BufferedImageGraphicsConfig.configs:[Lsun/awt/image/BufferedImageGraphicsConfig;
iload 2
aaload
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
areturn
end local 1 5: StackMap locals: java.awt.image.BufferedImage top int
StackMap stack:
new sun.awt.image.BufferedImageGraphicsConfig
dup
aload 0
aconst_null
invokespecial sun.awt.image.BufferedImageGraphicsConfig.<init>:(Ljava/awt/image/BufferedImage;Ljava/awt/Component;)V
astore 1
start local 1 6: iload 2
ifle 8
iload 2
bipush 12
if_icmpge 8
7: getstatic sun.awt.image.BufferedImageGraphicsConfig.configs:[Lsun/awt/image/BufferedImageGraphicsConfig;
iload 2
aload 1
aastore
8: StackMap locals: java.awt.image.BufferedImage sun.awt.image.BufferedImageGraphicsConfig int
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 bImg Ljava/awt/image/BufferedImage;
3 5 1 ret Lsun/awt/image/BufferedImageGraphicsConfig;
6 9 1 ret Lsun/awt/image/BufferedImageGraphicsConfig;
1 9 2 type I
MethodParameters:
Name Flags
bImg
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=4, locals=4, args_size=3
start local 0 start local 1 start local 2 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
StackMap stack:
aload 2
invokevirtual java.awt.Component.getGraphics:()Ljava/awt/Graphics;
checkcast java.awt.Graphics2D
astore 3
start local 3 5: aload 0
aload 3
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 3 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
aload 1
invokevirtual java.awt.image.BufferedImage.getWidth:()I
putfield sun.awt.image.BufferedImageGraphicsConfig.width:I
9: aload 0
aload 1
invokevirtual java.awt.image.BufferedImage.getHeight:()I
putfield sun.awt.image.BufferedImageGraphicsConfig.height:I
10: return
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;
5 6 3 g2d Ljava/awt/Graphics2D;
MethodParameters:
Name Flags
bufImg
comp
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=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.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
aload 0
getfield sun.awt.image.BufferedImageGraphicsConfig.width:I
aload 0
getfield sun.awt.image.BufferedImageGraphicsConfig.height:I
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"