public class sun.awt.X11.XTrayIconPeer$IconCanvas extends java.awt.Canvas
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.awt.X11.XTrayIconPeer$IconCanvas
super_class: java.awt.Canvas
{
volatile java.awt.Image image;
descriptor: Ljava/awt/Image;
flags: (0x0040) ACC_VOLATILE
sun.awt.X11.XTrayIconPeer$IconCanvas$IconObserver observer;
descriptor: Lsun/awt/X11/XTrayIconPeer$IconCanvas$IconObserver;
flags: (0x0000)
int width;
descriptor: I
flags: (0x0000)
int height;
descriptor: I
flags: (0x0000)
int curW;
descriptor: I
flags: (0x0000)
int curH;
descriptor: I
flags: (0x0000)
void <init>(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.awt.Canvas.<init>:()V
1: aload 0
aload 0
iload 1
dup_x1
putfield sun.awt.X11.XTrayIconPeer$IconCanvas.curW:I
putfield sun.awt.X11.XTrayIconPeer$IconCanvas.width:I
2: aload 0
aload 0
iload 2
dup_x1
putfield sun.awt.X11.XTrayIconPeer$IconCanvas.curH:I
putfield sun.awt.X11.XTrayIconPeer$IconCanvas.height:I
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/awt/X11/XTrayIconPeer$IconCanvas;
0 4 1 width I
0 4 2 height I
MethodParameters:
Name Flags
width
height
public void updateImage(java.awt.Image);
descriptor: (Ljava/awt/Image;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.awt.X11.XTrayIconPeer$IconCanvas.image:Ljava/awt/Image;
1: aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.observer:Lsun/awt/X11/XTrayIconPeer$IconCanvas$IconObserver;
ifnonnull 3
2: aload 0
new sun.awt.X11.XTrayIconPeer$IconCanvas$IconObserver
dup
aload 0
invokespecial sun.awt.X11.XTrayIconPeer$IconCanvas$IconObserver.<init>:(Lsun/awt/X11/XTrayIconPeer$IconCanvas;)V
putfield sun.awt.X11.XTrayIconPeer$IconCanvas.observer:Lsun/awt/X11/XTrayIconPeer$IconCanvas$IconObserver;
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual sun.awt.X11.XTrayIconPeer$IconCanvas.repaintImage:(Z)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/awt/X11/XTrayIconPeer$IconCanvas;
0 5 1 image Ljava/awt/Image;
MethodParameters:
Name Flags
image
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
putfield sun.awt.X11.XTrayIconPeer$IconCanvas.observer:Lsun/awt/X11/XTrayIconPeer$IconCanvas$IconObserver;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/awt/X11/XTrayIconPeer$IconCanvas;
protected void repaintImage(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.awt.X11.XTrayIconPeer$IconCanvas.getGraphics:()Ljava/awt/Graphics;
astore 2
start local 2 1: aload 2
ifnull 12
2: aload 0
invokevirtual sun.awt.X11.XTrayIconPeer$IconCanvas.isVisible:()Z
ifeq 11
3: iload 1
ifeq 6
4: aload 0
aload 2
invokevirtual sun.awt.X11.XTrayIconPeer$IconCanvas.update:(Ljava/awt/Graphics;)V
5: goto 11
6: StackMap locals: java.awt.Graphics
StackMap stack:
aload 0
aload 2
invokevirtual sun.awt.X11.XTrayIconPeer$IconCanvas.paint:(Ljava/awt/Graphics;)V
7: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
8: astore 3
9: aload 2
invokevirtual java.awt.Graphics.dispose:()V
10: aload 3
athrow
11: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.awt.Graphics.dispose:()V
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/awt/X11/XTrayIconPeer$IconCanvas;
0 13 1 doClear Z
1 13 2 g Ljava/awt/Graphics;
Exception table:
from to target type
2 8 8 any
MethodParameters:
Name Flags
doClear
public void paint(java.awt.Graphics);
descriptor: (Ljava/awt/Graphics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnull 14
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.curW:I
ifle 14
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.curH:I
ifle 14
1: new java.awt.image.BufferedImage
dup
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.curW:I
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.curH:I
iconst_2
invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 2
start local 2 2: aload 2
invokevirtual java.awt.image.BufferedImage.createGraphics:()Ljava/awt/Graphics2D;
astore 3
start local 3 3: aload 3
ifnull 14
4: aload 3
aload 0
invokevirtual sun.awt.X11.XTrayIconPeer$IconCanvas.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setColor:(Ljava/awt/Color;)V
5: aload 3
iconst_0
iconst_0
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.curW:I
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.curH:I
invokevirtual java.awt.Graphics2D.fillRect:(IIII)V
6: aload 3
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.image:Ljava/awt/Image;
iconst_0
iconst_0
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.curW:I
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.curH:I
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.observer:Lsun/awt/X11/XTrayIconPeer$IconCanvas$IconObserver;
invokevirtual java.awt.Graphics2D.drawImage:(Ljava/awt/Image;IIIILjava/awt/image/ImageObserver;)Z
pop
7: aload 3
invokevirtual java.awt.Graphics2D.dispose:()V
8: aload 1
aload 2
iconst_0
iconst_0
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.curW:I
aload 0
getfield sun.awt.X11.XTrayIconPeer$IconCanvas.curH:I
aconst_null
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IIIILjava/awt/image/ImageObserver;)Z
pop
9: goto 13
StackMap locals: sun.awt.X11.XTrayIconPeer$IconCanvas java.awt.Graphics java.awt.image.BufferedImage java.awt.Graphics2D
StackMap stack: java.lang.Throwable
10: astore 4
11: aload 3
invokevirtual java.awt.Graphics2D.dispose:()V
12: aload 4
athrow
13: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.Graphics2D.dispose:()V
end local 3 end local 2 14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/awt/X11/XTrayIconPeer$IconCanvas;
0 15 1 g Ljava/awt/Graphics;
2 14 2 bufImage Ljava/awt/image/BufferedImage;
3 14 3 gr Ljava/awt/Graphics2D;
Exception table:
from to target type
4 10 10 any
MethodParameters:
Name Flags
g
}
SourceFile: "XTrayIconPeer.java"
NestHost: sun.awt.X11.XTrayIconPeer
InnerClasses:
public IconCanvas = sun.awt.X11.XTrayIconPeer$IconCanvas of sun.awt.X11.XTrayIconPeer
IconObserver = sun.awt.X11.XTrayIconPeer$IconCanvas$IconObserver of sun.awt.X11.XTrayIconPeer$IconCanvas