final class com.apple.laf.AquaPainter$AquaSingleImagePainter<T extends apple.laf.JRSUIState> extends com.apple.laf.AquaPainter<T>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.apple.laf.AquaPainter$AquaSingleImagePainter
super_class: com.apple.laf.AquaPainter
{
void <init>();
descriptor: (Lapple/laf/JRSUIState;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new apple.laf.JRSUIControl
dup
iconst_0
invokespecial apple.laf.JRSUIControl.<init>:(Z)V
aload 1
invokespecial com.apple.laf.AquaPainter.<init>:(Lapple/laf/JRSUIControl;Lapple/laf/JRSUIState;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaPainter$AquaSingleImagePainter<TT;>;
0 2 1 state TT;
Signature: (TT;)V
MethodParameters:
Name Flags
state final
void paint(java.awt.Graphics2D, );
descriptor: (Ljava/awt/Graphics2D;Lapple/laf/JRSUIState;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield com.apple.laf.AquaPainter$AquaSingleImagePainter.control:Lapple/laf/JRSUIControl;
aload 2
aload 0
getfield com.apple.laf.AquaPainter$AquaSingleImagePainter.boundsRect:Ljava/awt/Rectangle;
invokestatic com.apple.laf.AquaPainter$AquaSingleImagePainter.paintFromSingleCachedImage:(Ljava/awt/Graphics2D;Lapple/laf/JRSUIControl;Lapple/laf/JRSUIState;Ljava/awt/Rectangle;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/apple/laf/AquaPainter$AquaSingleImagePainter<TT;>;
0 2 1 g Ljava/awt/Graphics2D;
0 2 2 stateToPaint TT;
Signature: (Ljava/awt/Graphics2D;TT;)V
MethodParameters:
Name Flags
g final
stateToPaint final
static void paintFromSingleCachedImage(java.awt.Graphics2D, apple.laf.JRSUIControl, apple.laf.JRSUIState, java.awt.Rectangle);
descriptor: (Ljava/awt/Graphics2D;Lapple/laf/JRSUIControl;Lapple/laf/JRSUIState;Ljava/awt/Rectangle;)V
flags: (0x0008) ACC_STATIC
Code:
stack=12, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
getfield java.awt.Rectangle.width:I
ifle 1
aload 3
getfield java.awt.Rectangle.height:I
ifgt 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
iconst_1
istore 4
start local 4 3: aload 0
instanceof sun.java2d.SunGraphics2D
ifeq 5
4: aload 0
checkcast sun.java2d.SunGraphics2D
getfield sun.java2d.SunGraphics2D.surfaceData:Lsun/java2d/SurfaceData;
invokevirtual sun.java2d.SurfaceData.getDefaultScale:()I
istore 4
5: StackMap locals: int
StackMap stack:
aload 0
invokevirtual java.awt.Graphics2D.getDeviceConfiguration:()Ljava/awt/GraphicsConfiguration;
astore 5
start local 5 6: invokestatic com.apple.laf.ImageCache.getInstance:()Lcom/apple/laf/ImageCache;
astore 6
start local 6 7: aload 3
getfield java.awt.Rectangle.width:I
iload 4
imul
istore 7
start local 7 8: aload 3
getfield java.awt.Rectangle.height:I
iload 4
imul
istore 8
start local 8 9: aload 6
aload 5
iload 7
iload 8
iload 4
aload 2
invokevirtual com.apple.laf.ImageCache.getImage:(Ljava/awt/GraphicsConfiguration;IIILapple/laf/JRSUIState;)Ljava/awt/Image;
checkcast java.awt.image.BufferedImage
astore 9
start local 9 10: aload 9
ifnonnull 20
11: new java.awt.image.BufferedImage
dup
iload 7
iload 8
iconst_3
invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 9
12: aload 6
aload 9
aload 5
iload 7
iload 8
iload 4
aload 2
invokevirtual com.apple.laf.ImageCache.setImage:(Ljava/awt/Image;Ljava/awt/GraphicsConfiguration;IIILapple/laf/JRSUIState;)Z
pop
13: aload 9
invokevirtual java.awt.image.BufferedImage.getRaster:()Ljava/awt/image/WritableRaster;
astore 10
start local 10 14: aload 10
invokevirtual java.awt.image.WritableRaster.getDataBuffer:()Ljava/awt/image/DataBuffer;
checkcast java.awt.image.DataBufferInt
astore 11
start local 11 15: aload 1
aload 2
invokevirtual apple.laf.JRSUIControl.set:(Lapple/laf/JRSUIState;)V
16: aload 1
aload 11
iconst_0
invokestatic sun.awt.image.SunWritableRaster.stealData:(Ljava/awt/image/DataBufferInt;I)[I
17: iload 7
iload 8
dconst_0
dconst_0
aload 3
getfield java.awt.Rectangle.width:I
i2d
aload 3
getfield java.awt.Rectangle.height:I
i2d
18: invokevirtual apple.laf.JRSUIControl.paint:([IIIDDDD)V
19: aload 11
invokestatic sun.awt.image.SunWritableRaster.markDirty:(Ljava/awt/image/DataBuffer;)V
end local 11 end local 10 20: StackMap locals: java.awt.Graphics2D apple.laf.JRSUIControl apple.laf.JRSUIState java.awt.Rectangle int java.awt.GraphicsConfiguration com.apple.laf.ImageCache int int java.awt.image.BufferedImage
StackMap stack:
aload 0
aload 9
aload 3
getfield java.awt.Rectangle.x:I
aload 3
getfield java.awt.Rectangle.y:I
aload 3
getfield java.awt.Rectangle.width:I
aload 3
getfield java.awt.Rectangle.height:I
aconst_null
invokevirtual java.awt.Graphics2D.drawImage:(Ljava/awt/Image;IIIILjava/awt/image/ImageObserver;)Z
pop
21: return
end local 9 end local 8 end local 7 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 g Ljava/awt/Graphics2D;
0 22 1 control Lapple/laf/JRSUIControl;
0 22 2 controlState Lapple/laf/JRSUIState;
0 22 3 bounds Ljava/awt/Rectangle;
3 22 4 scale I
6 22 5 config Ljava/awt/GraphicsConfiguration;
7 22 6 cache Lcom/apple/laf/ImageCache;
8 22 7 imgW I
9 22 8 imgH I
10 22 9 img Ljava/awt/image/BufferedImage;
14 20 10 raster Ljava/awt/image/WritableRaster;
15 20 11 buffer Ljava/awt/image/DataBufferInt;
MethodParameters:
Name Flags
g final
control final
controlState final
bounds final
}
Signature: <T:Lapple/laf/JRSUIState;>Lcom/apple/laf/AquaPainter<TT;>;
SourceFile: "AquaPainter.java"
NestHost: com.apple.laf.AquaPainter
InnerClasses:
private final AquaSingleImagePainter = com.apple.laf.AquaPainter$AquaSingleImagePainter of com.apple.laf.AquaPainter