class javax.swing.plaf.metal.BumpBuffer
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.metal.BumpBuffer
super_class: java.lang.Object
{
static final int IMAGE_SIZE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 64
transient java.awt.Image image;
descriptor: Ljava/awt/Image;
flags: (0x0080) ACC_TRANSIENT
java.awt.Color topColor;
descriptor: Ljava/awt/Color;
flags: (0x0000)
java.awt.Color shadowColor;
descriptor: Ljava/awt/Color;
flags: (0x0000)
java.awt.Color backColor;
descriptor: Ljava/awt/Color;
flags: (0x0000)
private java.awt.GraphicsConfiguration gc;
descriptor: Ljava/awt/GraphicsConfiguration;
flags: (0x0002) ACC_PRIVATE
public void <init>(java.awt.GraphicsConfiguration, java.awt.Color, java.awt.Color, java.awt.Color);
descriptor: (Ljava/awt/GraphicsConfiguration;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield javax.swing.plaf.metal.BumpBuffer.gc:Ljava/awt/GraphicsConfiguration;
2: aload 0
aload 2
putfield javax.swing.plaf.metal.BumpBuffer.topColor:Ljava/awt/Color;
3: aload 0
aload 3
putfield javax.swing.plaf.metal.BumpBuffer.shadowColor:Ljava/awt/Color;
4: aload 0
aload 4
putfield javax.swing.plaf.metal.BumpBuffer.backColor:Ljava/awt/Color;
5: aload 0
invokevirtual javax.swing.plaf.metal.BumpBuffer.createImage:()V
6: aload 0
invokevirtual javax.swing.plaf.metal.BumpBuffer.fillBumpBuffer:()V
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/metal/BumpBuffer;
0 8 1 gc Ljava/awt/GraphicsConfiguration;
0 8 2 aTopColor Ljava/awt/Color;
0 8 3 aShadowColor Ljava/awt/Color;
0 8 4 aBackColor Ljava/awt/Color;
MethodParameters:
Name Flags
gc
aTopColor
aShadowColor
aBackColor
public boolean hasSameConfiguration(java.awt.GraphicsConfiguration, java.awt.Color, java.awt.Color, java.awt.Color);
descriptor: (Ljava/awt/GraphicsConfiguration;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield javax.swing.plaf.metal.BumpBuffer.gc:Ljava/awt/GraphicsConfiguration;
ifnull 3
1: aload 0
getfield javax.swing.plaf.metal.BumpBuffer.gc:Ljava/awt/GraphicsConfiguration;
aload 1
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 5
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 1
ifnull 5
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield javax.swing.plaf.metal.BumpBuffer.topColor:Ljava/awt/Color;
aload 2
invokevirtual java.awt.Color.equals:(Ljava/lang/Object;)Z
ifeq 9
6: aload 0
getfield javax.swing.plaf.metal.BumpBuffer.shadowColor:Ljava/awt/Color;
aload 3
invokevirtual java.awt.Color.equals:(Ljava/lang/Object;)Z
ifeq 9
7: aload 0
getfield javax.swing.plaf.metal.BumpBuffer.backColor:Ljava/awt/Color;
aload 4
invokevirtual java.awt.Color.equals:(Ljava/lang/Object;)Z
ifeq 9
8: iconst_1
ireturn
StackMap locals:
StackMap stack:
9: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/swing/plaf/metal/BumpBuffer;
0 10 1 gc Ljava/awt/GraphicsConfiguration;
0 10 2 aTopColor Ljava/awt/Color;
0 10 3 aShadowColor Ljava/awt/Color;
0 10 4 aBackColor Ljava/awt/Color;
MethodParameters:
Name Flags
gc
aTopColor
aShadowColor
aBackColor
public java.awt.Image getImage();
descriptor: ()Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.metal.BumpBuffer.image:Ljava/awt/Image;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/BumpBuffer;
private void fillBumpBuffer();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.metal.BumpBuffer.image:Ljava/awt/Image;
invokevirtual java.awt.Image.getGraphics:()Ljava/awt/Graphics;
astore 1
start local 1 1: aload 1
aload 0
getfield javax.swing.plaf.metal.BumpBuffer.backColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
2: aload 1
iconst_0
iconst_0
bipush 64
bipush 64
invokevirtual java.awt.Graphics.fillRect:(IIII)V
3: aload 1
aload 0
getfield javax.swing.plaf.metal.BumpBuffer.topColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
4: iconst_0
istore 2
start local 2 5: goto 13
6: StackMap locals: java.awt.Graphics int
StackMap stack:
iconst_0
istore 3
start local 3 7: goto 11
8: StackMap locals: int
StackMap stack:
aload 1
iload 2
iload 3
iload 2
iload 3
invokevirtual java.awt.Graphics.drawLine:(IIII)V
9: aload 1
iload 2
iconst_2
iadd
iload 3
iconst_2
iadd
iload 2
iconst_2
iadd
iload 3
iconst_2
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
10: iinc 3 4
StackMap locals:
StackMap stack:
11: iload 3
bipush 64
if_icmplt 8
end local 3 12: iinc 2 4
StackMap locals:
StackMap stack:
13: iload 2
bipush 64
if_icmplt 6
end local 2 14: aload 1
aload 0
getfield javax.swing.plaf.metal.BumpBuffer.shadowColor:Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
15: iconst_0
istore 2
start local 2 16: goto 24
17: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 18: goto 22
19: StackMap locals: int
StackMap stack:
aload 1
iload 2
iconst_1
iadd
iload 3
iconst_1
iadd
iload 2
iconst_1
iadd
iload 3
iconst_1
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
20: aload 1
iload 2
iconst_3
iadd
iload 3
iconst_3
iadd
iload 2
iconst_3
iadd
iload 3
iconst_3
iadd
invokevirtual java.awt.Graphics.drawLine:(IIII)V
21: iinc 3 4
StackMap locals:
StackMap stack:
22: iload 3
bipush 64
if_icmplt 19
end local 3 23: iinc 2 4
StackMap locals:
StackMap stack:
24: iload 2
bipush 64
if_icmplt 17
end local 2 25: aload 1
invokevirtual java.awt.Graphics.dispose:()V
26: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Ljavax/swing/plaf/metal/BumpBuffer;
1 27 1 g Ljava/awt/Graphics;
5 14 2 x I
7 12 3 y I
16 25 2 x I
18 23 3 y I
private void createImage();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.metal.BumpBuffer.gc:Ljava/awt/GraphicsConfiguration;
ifnull 6
1: aload 0
aload 0
getfield javax.swing.plaf.metal.BumpBuffer.gc:Ljava/awt/GraphicsConfiguration;
bipush 64
bipush 64
2: aload 0
getfield javax.swing.plaf.metal.BumpBuffer.backColor:Ljava/awt/Color;
getstatic javax.swing.plaf.metal.MetalBumps.ALPHA:Ljava/awt/Color;
if_acmpeq 3
iconst_1
goto 4
3: StackMap locals: javax.swing.plaf.metal.BumpBuffer
StackMap stack: javax.swing.plaf.metal.BumpBuffer java.awt.GraphicsConfiguration int int
iconst_2
4: StackMap locals: javax.swing.plaf.metal.BumpBuffer
StackMap stack: javax.swing.plaf.metal.BumpBuffer java.awt.GraphicsConfiguration int int int
invokevirtual java.awt.GraphicsConfiguration.createCompatibleImage:(III)Ljava/awt/image/BufferedImage;
putfield javax.swing.plaf.metal.BumpBuffer.image:Ljava/awt/Image;
5: goto 17
6: StackMap locals:
StackMap stack:
iconst_3
newarray 10
dup
iconst_0
aload 0
getfield javax.swing.plaf.metal.BumpBuffer.backColor:Ljava/awt/Color;
invokevirtual java.awt.Color.getRGB:()I
iastore
dup
iconst_1
aload 0
getfield javax.swing.plaf.metal.BumpBuffer.topColor:Ljava/awt/Color;
invokevirtual java.awt.Color.getRGB:()I
iastore
dup
iconst_2
7: aload 0
getfield javax.swing.plaf.metal.BumpBuffer.shadowColor:Ljava/awt/Color;
invokevirtual java.awt.Color.getRGB:()I
iastore
8: astore 1
start local 1 9: new java.awt.image.IndexColorModel
dup
bipush 8
iconst_3
aload 1
iconst_0
iconst_0
10: aload 0
getfield javax.swing.plaf.metal.BumpBuffer.backColor:Ljava/awt/Color;
getstatic javax.swing.plaf.metal.MetalBumps.ALPHA:Ljava/awt/Color;
if_acmpne 11
iconst_0
goto 12
StackMap locals: javax.swing.plaf.metal.BumpBuffer int[]
StackMap stack: new 9 new 9 int int int[] int int
11: iconst_m1
12: StackMap locals: javax.swing.plaf.metal.BumpBuffer int[]
StackMap stack: new 9 new 9 int int int[] int int int
iconst_0
13: invokespecial java.awt.image.IndexColorModel.<init>:(II[IIZII)V
astore 2
start local 2 14: aload 0
new java.awt.image.BufferedImage
dup
bipush 64
bipush 64
15: bipush 13
aload 2
invokespecial java.awt.image.BufferedImage.<init>:(IIILjava/awt/image/IndexColorModel;)V
16: putfield javax.swing.plaf.metal.BumpBuffer.image:Ljava/awt/Image;
end local 2 end local 1 17: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljavax/swing/plaf/metal/BumpBuffer;
9 17 1 cmap [I
14 17 2 icm Ljava/awt/image/IndexColorModel;
}
SourceFile: "MetalBumps.java"