public abstract class sun.awt.SunGraphicsCallback
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.awt.SunGraphicsCallback
super_class: java.lang.Object
{
public static final int HEAVYWEIGHTS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int LIGHTWEIGHTS;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int TWO_PASSES;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final sun.util.logging.PlatformLogger log;
descriptor: Lsun/util/logging/PlatformLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "sun.awt.SunGraphicsCallback"
invokestatic sun.util.logging.PlatformLogger.getLogger:(Ljava/lang/String;)Lsun/util/logging/PlatformLogger;
putstatic sun.awt.SunGraphicsCallback.log:Lsun/util/logging/PlatformLogger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/SunGraphicsCallback;
public abstract void run(java.awt.Component, java.awt.Graphics);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
comp
cg
protected void constrainGraphics(java.awt.Graphics, java.awt.Rectangle);
descriptor: (Ljava/awt/Graphics;Ljava/awt/Rectangle;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof sun.awt.ConstrainableGraphics
ifeq 3
1: aload 1
checkcast sun.awt.ConstrainableGraphics
aload 2
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Rectangle.y:I
aload 2
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Rectangle.height:I
invokeinterface sun.awt.ConstrainableGraphics.constrain:(IIII)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 1
aload 2
getfield java.awt.Rectangle.x:I
aload 2
getfield java.awt.Rectangle.y:I
invokevirtual java.awt.Graphics.translate:(II)V
4: StackMap locals:
StackMap stack:
aload 1
iconst_0
iconst_0
aload 2
getfield java.awt.Rectangle.width:I
aload 2
getfield java.awt.Rectangle.height:I
invokevirtual java.awt.Graphics.clipRect:(IIII)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/awt/SunGraphicsCallback;
0 6 1 g Ljava/awt/Graphics;
0 6 2 bounds Ljava/awt/Rectangle;
MethodParameters:
Name Flags
g
bounds
public final void runOneComponent(java.awt.Component, java.awt.Rectangle, java.awt.Graphics, java.awt.Shape, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Rectangle;Ljava/awt/Graphics;Ljava/awt/Shape;I)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=9, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
ifnull 1
aload 1
invokevirtual java.awt.Component.isDisplayable:()Z
ifeq 1
aload 1
invokevirtual java.awt.Component.isVisible:()Z
ifne 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.awt.Component.isLightweight:()Z
istore 6
start local 6 3: iload 6
ifeq 4
iload 5
iconst_2
iand
ifeq 5
4: StackMap locals: int
StackMap stack:
iload 6
ifne 6
iload 5
iconst_1
iand
ifne 6
5: StackMap locals:
StackMap stack:
return
6: StackMap locals:
StackMap stack:
aload 2
ifnonnull 8
7: aload 1
invokevirtual java.awt.Component.getBounds:()Ljava/awt/Rectangle;
astore 2
8: StackMap locals:
StackMap stack:
aload 4
ifnull 9
aload 4
aload 2
invokeinterface java.awt.Shape.intersects:(Ljava/awt/geom/Rectangle2D;)Z
ifeq 21
9: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.awt.Graphics.create:()Ljava/awt/Graphics;
astore 7
start local 7 10: aload 0
aload 7
aload 2
invokevirtual sun.awt.SunGraphicsCallback.constrainGraphics:(Ljava/awt/Graphics;Ljava/awt/Rectangle;)V
11: aload 7
aload 1
invokevirtual java.awt.Component.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.setFont:(Ljava/awt/Font;)V
12: aload 7
aload 1
invokevirtual java.awt.Component.getForeground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
13: aload 7
instanceof java.awt.Graphics2D
ifeq 15
14: aload 7
checkcast java.awt.Graphics2D
aload 1
invokevirtual java.awt.Component.getBackground:()Ljava/awt/Color;
invokevirtual java.awt.Graphics2D.setBackground:(Ljava/awt/Color;)V
15: StackMap locals: java.awt.Graphics
StackMap stack:
aload 0
aload 1
aload 7
invokevirtual sun.awt.SunGraphicsCallback.run:(Ljava/awt/Component;Ljava/awt/Graphics;)V
16: goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 8
18: aload 7
invokevirtual java.awt.Graphics.dispose:()V
19: aload 8
athrow
20: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.awt.Graphics.dispose:()V
end local 7 21: StackMap locals:
StackMap stack:
return
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 22 0 this Lsun/awt/SunGraphicsCallback;
0 22 1 comp Ljava/awt/Component;
0 22 2 bounds Ljava/awt/Rectangle;
0 22 3 g Ljava/awt/Graphics;
0 22 4 clip Ljava/awt/Shape;
0 22 5 weightFlags I
3 22 6 lightweight Z
10 21 7 cg Ljava/awt/Graphics;
Exception table:
from to target type
10 17 17 any
MethodParameters:
Name Flags
comp
bounds
g
clip
weightFlags
public final void runComponents(java.awt.Component[], java.awt.Graphics, int);
descriptor: ([Ljava/awt/Component;Ljava/awt/Graphics;I)V
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
arraylength
istore 4
start local 4 1: aload 2
invokevirtual java.awt.Graphics.getClip:()Ljava/awt/Shape;
astore 5
start local 5 2: getstatic sun.awt.SunGraphicsCallback.log:Lsun/util/logging/PlatformLogger;
getstatic sun.util.logging.PlatformLogger$Level.FINER:Lsun/util/logging/PlatformLogger$Level;
invokevirtual sun.util.logging.PlatformLogger.isLoggable:(Lsun/util/logging/PlatformLogger$Level;)Z
ifeq 8
aload 5
ifnull 8
3: aload 5
invokeinterface java.awt.Shape.getBounds:()Ljava/awt/Rectangle;
astore 6
start local 6 4: getstatic sun.awt.SunGraphicsCallback.log:Lsun/util/logging/PlatformLogger;
new java.lang.StringBuilder
dup
ldc "x = "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
getfield java.awt.Rectangle.x:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ", y = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
getfield java.awt.Rectangle.y:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
5: ldc ", width = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
getfield java.awt.Rectangle.width:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
6: ldc ", height = "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 6
getfield java.awt.Rectangle.height:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual sun.util.logging.PlatformLogger.finer:(Ljava/lang/String;)V
end local 6 8: StackMap locals: int java.awt.Shape
StackMap stack:
iload 3
iconst_4
iand
ifeq 20
9: iload 4
iconst_1
isub
istore 6
start local 6 10: goto 13
11: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 6
aaload
aconst_null
aload 2
aload 5
iconst_2
invokevirtual sun.awt.SunGraphicsCallback.runOneComponent:(Ljava/awt/Component;Ljava/awt/Rectangle;Ljava/awt/Graphics;Ljava/awt/Shape;I)V
12: iinc 6 -1
StackMap locals:
StackMap stack:
13: iload 6
ifge 11
end local 6 14: iload 4
iconst_1
isub
istore 6
start local 6 15: goto 18
16: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 6
aaload
aconst_null
aload 2
aload 5
iconst_1
invokevirtual sun.awt.SunGraphicsCallback.runOneComponent:(Ljava/awt/Component;Ljava/awt/Rectangle;Ljava/awt/Graphics;Ljava/awt/Shape;I)V
17: iinc 6 -1
StackMap locals:
StackMap stack:
18: iload 6
ifge 16
end local 6 19: goto 25
20: StackMap locals:
StackMap stack:
iload 4
iconst_1
isub
istore 6
start local 6 21: goto 24
22: StackMap locals: int
StackMap stack:
aload 0
aload 1
iload 6
aaload
aconst_null
aload 2
aload 5
iload 3
invokevirtual sun.awt.SunGraphicsCallback.runOneComponent:(Ljava/awt/Component;Ljava/awt/Rectangle;Ljava/awt/Graphics;Ljava/awt/Shape;I)V
23: iinc 6 -1
StackMap locals:
StackMap stack:
24: iload 6
ifge 22
end local 6 25: StackMap locals:
StackMap stack:
return
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 26 0 this Lsun/awt/SunGraphicsCallback;
0 26 1 comps [Ljava/awt/Component;
0 26 2 g Ljava/awt/Graphics;
0 26 3 weightFlags I
1 26 4 ncomponents I
2 26 5 clip Ljava/awt/Shape;
4 8 6 newrect Ljava/awt/Rectangle;
10 14 6 i I
15 19 6 i I
21 25 6 i I
MethodParameters:
Name Flags
comps
g
weightFlags
}
SourceFile: "SunGraphicsCallback.java"
NestMembers:
sun.awt.SunGraphicsCallback$PaintHeavyweightComponentsCallback sun.awt.SunGraphicsCallback$PrintHeavyweightComponentsCallback
InnerClasses:
public final PaintHeavyweightComponentsCallback = sun.awt.SunGraphicsCallback$PaintHeavyweightComponentsCallback of sun.awt.SunGraphicsCallback
public final PrintHeavyweightComponentsCallback = sun.awt.SunGraphicsCallback$PrintHeavyweightComponentsCallback of sun.awt.SunGraphicsCallback
public final Level = sun.util.logging.PlatformLogger$Level of sun.util.logging.PlatformLogger