class javax.swing.plaf.metal.MetalBumps implements javax.swing.Icon
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.metal.MetalBumps
super_class: java.lang.Object
{
static final java.awt.Color ALPHA;
descriptor: Ljava/awt/Color;
flags: (0x0018) ACC_STATIC, ACC_FINAL
protected int xBumps;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int yBumps;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color topColor;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color shadowColor;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
protected java.awt.Color backColor;
descriptor: Ljava/awt/Color;
flags: (0x0004) ACC_PROTECTED
private static final java.lang.Object METAL_BUMPS;
descriptor: Ljava/lang/Object;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
protected javax.swing.plaf.metal.BumpBuffer buffer;
descriptor: Ljavax/swing/plaf/metal/BumpBuffer;
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: new java.awt.Color
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Color.<init>:(IIII)V
putstatic javax.swing.plaf.metal.MetalBumps.ALPHA:Ljava/awt/Color;
1: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic javax.swing.plaf.metal.MetalBumps.METAL_BUMPS:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(int, int, java.awt.Color, java.awt.Color, java.awt.Color);
descriptor: (IILjava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
iload 2
invokevirtual javax.swing.plaf.metal.MetalBumps.setBumpArea:(II)V
2: aload 0
aload 3
aload 4
aload 5
invokevirtual javax.swing.plaf.metal.MetalBumps.setBumpColors:(Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V
3: 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 4 0 this Ljavax/swing/plaf/metal/MetalBumps;
0 4 1 width I
0 4 2 height I
0 4 3 newTopColor Ljava/awt/Color;
0 4 4 newShadowColor Ljava/awt/Color;
0 4 5 newBackColor Ljava/awt/Color;
MethodParameters:
Name Flags
width
height
newTopColor
newShadowColor
newBackColor
private static javax.swing.plaf.metal.BumpBuffer createBuffer(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;)Ljavax/swing/plaf/metal/BumpBuffer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
astore 4
start local 4 1: aload 4
getstatic javax.swing.plaf.metal.MetalBumps.METAL_BUMPS:Ljava/lang/Object;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 5
start local 5 2: aload 5
ifnonnull 5
3: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 5
4: aload 4
getstatic javax.swing.plaf.metal.MetalBumps.METAL_BUMPS:Ljava/lang/Object;
aload 5
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: sun.awt.AppContext java.util.List
StackMap stack:
aload 5
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 9
StackMap locals: java.awt.GraphicsConfiguration java.awt.Color java.awt.Color java.awt.Color sun.awt.AppContext java.util.List top java.util.Iterator
StackMap stack:
6: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.swing.plaf.metal.BumpBuffer
astore 6
start local 6 7: aload 6
aload 0
aload 1
aload 2
aload 3
invokevirtual javax.swing.plaf.metal.BumpBuffer.hasSameConfiguration:(Ljava/awt/GraphicsConfiguration;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)Z
ifeq 9
8: aload 6
areturn
end local 6 9: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
10: new javax.swing.plaf.metal.BumpBuffer
dup
aload 0
aload 1
aload 2
aload 3
invokespecial javax.swing.plaf.metal.BumpBuffer.<init>:(Ljava/awt/GraphicsConfiguration;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V
astore 6
start local 6 11: aload 5
aload 6
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
12: aload 6
areturn
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 13 0 gc Ljava/awt/GraphicsConfiguration;
0 13 1 topColor Ljava/awt/Color;
0 13 2 shadowColor Ljava/awt/Color;
0 13 3 backColor Ljava/awt/Color;
1 13 4 context Lsun/awt/AppContext;
2 13 5 buffers Ljava/util/List<Ljavax/swing/plaf/metal/BumpBuffer;>;
7 9 6 buffer Ljavax/swing/plaf/metal/BumpBuffer;
11 13 6 buffer Ljavax/swing/plaf/metal/BumpBuffer;
MethodParameters:
Name Flags
gc
topColor
shadowColor
backColor
public void setBumpArea(java.awt.Dimension);
descriptor: (Ljava/awt/Dimension;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield java.awt.Dimension.width:I
aload 1
getfield java.awt.Dimension.height:I
invokevirtual javax.swing.plaf.metal.MetalBumps.setBumpArea:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/plaf/metal/MetalBumps;
0 2 1 bumpArea Ljava/awt/Dimension;
MethodParameters:
Name Flags
bumpArea
public void setBumpArea(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iconst_2
idiv
putfield javax.swing.plaf.metal.MetalBumps.xBumps:I
1: aload 0
iload 2
iconst_2
idiv
putfield javax.swing.plaf.metal.MetalBumps.yBumps:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/plaf/metal/MetalBumps;
0 3 1 width I
0 3 2 height I
MethodParameters:
Name Flags
width
height
public void setBumpColors(java.awt.Color, java.awt.Color, java.awt.Color);
descriptor: (Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
putfield javax.swing.plaf.metal.MetalBumps.topColor:Ljava/awt/Color;
1: aload 0
aload 2
putfield javax.swing.plaf.metal.MetalBumps.shadowColor:Ljava/awt/Color;
2: aload 3
ifnonnull 5
3: aload 0
getstatic javax.swing.plaf.metal.MetalBumps.ALPHA:Ljava/awt/Color;
putfield javax.swing.plaf.metal.MetalBumps.backColor:Ljava/awt/Color;
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
aload 3
putfield javax.swing.plaf.metal.MetalBumps.backColor:Ljava/awt/Color;
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/swing/plaf/metal/MetalBumps;
0 7 1 newTopColor Ljava/awt/Color;
0 7 2 newShadowColor Ljava/awt/Color;
0 7 3 newBackColor Ljava/awt/Color;
MethodParameters:
Name Flags
newTopColor
newShadowColor
newBackColor
public void paintIcon(java.awt.Component, java.awt.Graphics, int, int);
descriptor: (Ljava/awt/Component;Ljava/awt/Graphics;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=15, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
instanceof java.awt.Graphics2D
ifeq 2
1: aload 2
checkcast java.awt.Graphics2D
invokevirtual java.awt.Graphics2D.getDeviceConfiguration:()Ljava/awt/GraphicsConfiguration;
goto 3
StackMap locals:
StackMap stack:
2: aconst_null
3: StackMap locals:
StackMap stack: java.awt.GraphicsConfiguration
astore 5
start local 5 4: aload 0
getfield javax.swing.plaf.metal.MetalBumps.buffer:Ljavax/swing/plaf/metal/BumpBuffer;
ifnull 5
aload 0
getfield javax.swing.plaf.metal.MetalBumps.buffer:Ljavax/swing/plaf/metal/BumpBuffer;
aload 5
aload 0
getfield javax.swing.plaf.metal.MetalBumps.topColor:Ljava/awt/Color;
aload 0
getfield javax.swing.plaf.metal.MetalBumps.shadowColor:Ljava/awt/Color;
aload 0
getfield javax.swing.plaf.metal.MetalBumps.backColor:Ljava/awt/Color;
invokevirtual javax.swing.plaf.metal.BumpBuffer.hasSameConfiguration:(Ljava/awt/GraphicsConfiguration;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)Z
ifne 6
5: StackMap locals: java.awt.GraphicsConfiguration
StackMap stack:
aload 0
aload 5
aload 0
getfield javax.swing.plaf.metal.MetalBumps.topColor:Ljava/awt/Color;
aload 0
getfield javax.swing.plaf.metal.MetalBumps.shadowColor:Ljava/awt/Color;
aload 0
getfield javax.swing.plaf.metal.MetalBumps.backColor:Ljava/awt/Color;
invokestatic javax.swing.plaf.metal.MetalBumps.createBuffer:(Ljava/awt/GraphicsConfiguration;Ljava/awt/Color;Ljava/awt/Color;Ljava/awt/Color;)Ljavax/swing/plaf/metal/BumpBuffer;
putfield javax.swing.plaf.metal.MetalBumps.buffer:Ljavax/swing/plaf/metal/BumpBuffer;
6: StackMap locals:
StackMap stack:
bipush 64
istore 6
start local 6 7: bipush 64
istore 7
start local 7 8: aload 0
invokevirtual javax.swing.plaf.metal.MetalBumps.getIconWidth:()I
istore 8
start local 8 9: aload 0
invokevirtual javax.swing.plaf.metal.MetalBumps.getIconHeight:()I
istore 9
start local 9 10: iload 3
iload 8
iadd
istore 10
start local 10 11: iload 4
iload 9
iadd
istore 11
start local 11 12: iload 3
istore 12
start local 12 13: goto 25
14: StackMap locals: javax.swing.plaf.metal.MetalBumps java.awt.Component java.awt.Graphics int int java.awt.GraphicsConfiguration int int int int int int int
StackMap stack:
iload 11
iload 4
isub
iload 7
invokestatic java.lang.Math.min:(II)I
istore 13
start local 13 15: iload 12
istore 3
goto 23
16: StackMap locals: int
StackMap stack:
iload 10
iload 3
isub
iload 6
invokestatic java.lang.Math.min:(II)I
istore 14
start local 14 17: aload 2
aload 0
getfield javax.swing.plaf.metal.MetalBumps.buffer:Ljavax/swing/plaf/metal/BumpBuffer;
invokevirtual javax.swing.plaf.metal.BumpBuffer.getImage:()Ljava/awt/Image;
18: iload 3
iload 4
iload 3
iload 14
iadd
iload 4
iload 13
iadd
19: iconst_0
iconst_0
iload 14
iload 13
20: aconst_null
21: invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IIIIIIIILjava/awt/image/ImageObserver;)Z
pop
end local 14 22: iload 3
iload 6
iadd
istore 3
StackMap locals:
StackMap stack:
23: iload 3
iload 10
if_icmplt 16
24: iload 4
iload 7
iadd
istore 4
end local 13 25: StackMap locals:
StackMap stack:
iload 4
iload 11
if_icmplt 14
26: return
end local 12 end local 11 end local 10 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 27 0 this Ljavax/swing/plaf/metal/MetalBumps;
0 27 1 c Ljava/awt/Component;
0 27 2 g Ljava/awt/Graphics;
0 27 3 x I
0 27 4 y I
4 27 5 gc Ljava/awt/GraphicsConfiguration;
7 27 6 bufferWidth I
8 27 7 bufferHeight I
9 27 8 iconWidth I
10 27 9 iconHeight I
11 27 10 x2 I
12 27 11 y2 I
13 27 12 savex I
15 25 13 h I
17 22 14 w I
MethodParameters:
Name Flags
c
g
x
y
public int getIconWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.metal.MetalBumps.xBumps:I
iconst_2
imul
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalBumps;
public int getIconHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.swing.plaf.metal.MetalBumps.yBumps:I
iconst_2
imul
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/metal/MetalBumps;
}
SourceFile: "MetalBumps.java"