public class sun.awt.image.OffScreenImage extends java.awt.image.BufferedImage
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.image.OffScreenImage
super_class: java.awt.image.BufferedImage
{
protected java.awt.Component c;
descriptor: Ljava/awt/Component;
flags: (0x0004) ACC_PROTECTED
private sun.awt.image.OffScreenImageSource osis;
descriptor: Lsun/awt/image/OffScreenImageSource;
flags: (0x0002) ACC_PRIVATE
private java.awt.Font defaultFont;
descriptor: Ljava/awt/Font;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.awt.Component, java.awt.image.ColorModel, java.awt.image.WritableRaster, boolean);
descriptor: (Ljava/awt/Component;Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
aload 3
iload 4
aconst_null
invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
1: aload 0
aload 1
putfield sun.awt.image.OffScreenImage.c:Ljava/awt/Component;
2: aload 0
aload 3
invokevirtual java.awt.image.WritableRaster.getWidth:()I
aload 3
invokevirtual java.awt.image.WritableRaster.getHeight:()I
invokevirtual sun.awt.image.OffScreenImage.initSurface:(II)V
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/image/OffScreenImage;
0 4 1 c Ljava/awt/Component;
0 4 2 cm Ljava/awt/image/ColorModel;
0 4 3 raster Ljava/awt/image/WritableRaster;
0 4 4 isRasterPremultiplied Z
MethodParameters:
Name Flags
c
cm
raster
isRasterPremultiplied
public java.awt.Graphics getGraphics();
descriptor: ()Ljava/awt/Graphics;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.awt.image.OffScreenImage.createGraphics:()Ljava/awt/Graphics2D;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/image/OffScreenImage;
public java.awt.Graphics2D createGraphics();
descriptor: ()Ljava/awt/Graphics2D;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield sun.awt.image.OffScreenImage.c:Ljava/awt/Component;
ifnonnull 4
1: invokestatic java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment:()Ljava/awt/GraphicsEnvironment;
2: astore 1
start local 1 3: aload 1
aload 0
invokevirtual java.awt.GraphicsEnvironment.createGraphics:(Ljava/awt/image/BufferedImage;)Ljava/awt/Graphics2D;
areturn
end local 1 4: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.image.OffScreenImage.c:Ljava/awt/Component;
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
astore 1
start local 1 5: aload 1
ifnonnull 7
6: getstatic java.awt.SystemColor.window:Ljava/awt/SystemColor;
astore 1
7: StackMap locals: java.awt.Color
StackMap stack:
aload 0
getfield sun.awt.image.OffScreenImage.c:Ljava/awt/Component;
invokevirtual java.awt.Component.getForeground:()Ljava/awt/Color;
astore 2
start local 2 8: aload 2
ifnonnull 10
9: getstatic java.awt.SystemColor.windowText:Ljava/awt/SystemColor;
astore 2
10: StackMap locals: java.awt.Color
StackMap stack:
aload 0
getfield sun.awt.image.OffScreenImage.c:Ljava/awt/Component;
invokevirtual java.awt.Component.getFont:()Ljava/awt/Font;
astore 3
start local 3 11: aload 3
ifnonnull 15
12: aload 0
getfield sun.awt.image.OffScreenImage.defaultFont:Ljava/awt/Font;
ifnonnull 14
13: aload 0
new java.awt.Font
dup
ldc "Dialog"
iconst_0
bipush 12
invokespecial java.awt.Font.<init>:(Ljava/lang/String;II)V
putfield sun.awt.image.OffScreenImage.defaultFont:Ljava/awt/Font;
14: StackMap locals: java.awt.Font
StackMap stack:
aload 0
getfield sun.awt.image.OffScreenImage.defaultFont:Ljava/awt/Font;
astore 3
15: StackMap locals:
StackMap stack:
new sun.java2d.SunGraphics2D
dup
aload 0
invokestatic sun.java2d.SurfaceData.getPrimarySurfaceData:(Ljava/awt/Image;)Lsun/java2d/SurfaceData;
16: aload 2
aload 1
aload 3
17: invokespecial sun.java2d.SunGraphics2D.<init>:(Lsun/java2d/SurfaceData;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Font;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/awt/image/OffScreenImage;
3 4 1 env Ljava/awt/GraphicsEnvironment;
5 18 1 bg Ljava/awt/Color;
8 18 2 fg Ljava/awt/Color;
11 18 3 font Ljava/awt/Font;
private void initSurface(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.awt.image.OffScreenImage.createGraphics:()Ljava/awt/Graphics2D;
astore 3
start local 3 1: aload 3
iconst_0
iconst_0
iload 1
iload 2
invokevirtual java.awt.Graphics2D.clearRect:(IIII)V
2: goto 6
StackMap locals: sun.awt.image.OffScreenImage int int java.awt.Graphics2D
StackMap stack: java.lang.Throwable
3: astore 4
4: aload 3
invokevirtual java.awt.Graphics2D.dispose:()V
5: aload 4
athrow
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.Graphics2D.dispose:()V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/awt/image/OffScreenImage;
0 8 1 width I
0 8 2 height I
1 8 3 g2 Ljava/awt/Graphics2D;
Exception table:
from to target type
1 3 3 any
MethodParameters:
Name Flags
width
height
public java.awt.image.ImageProducer getSource();
descriptor: ()Ljava/awt/image/ImageProducer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.awt.image.OffScreenImage.osis:Lsun/awt/image/OffScreenImageSource;
ifnonnull 2
1: aload 0
new sun.awt.image.OffScreenImageSource
dup
aload 0
invokespecial sun.awt.image.OffScreenImageSource.<init>:(Ljava/awt/image/BufferedImage;)V
putfield sun.awt.image.OffScreenImage.osis:Lsun/awt/image/OffScreenImageSource;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.awt.image.OffScreenImage.osis:Lsun/awt/image/OffScreenImageSource;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/awt/image/OffScreenImage;
}
SourceFile: "OffScreenImage.java"