class javax.swing.plaf.nimbus.NimbusIcon implements javax.swing.plaf.synth.SynthIcon, javax.swing.plaf.UIResource
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.nimbus.NimbusIcon
super_class: java.lang.Object
{
private int width;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int height;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String prefix;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String key;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
void <init>(java.lang.String, java.lang.String, int, int);
descriptor: (Ljava/lang/String;Ljava/lang/String;II)V
flags: (0x0000)
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
iload 3
putfield javax.swing.plaf.nimbus.NimbusIcon.width:I
2: aload 0
iload 4
putfield javax.swing.plaf.nimbus.NimbusIcon.height:I
3: aload 0
aload 1
putfield javax.swing.plaf.nimbus.NimbusIcon.prefix:Ljava/lang/String;
4: aload 0
aload 2
putfield javax.swing.plaf.nimbus.NimbusIcon.key:Ljava/lang/String;
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/swing/plaf/nimbus/NimbusIcon;
0 6 1 prefix Ljava/lang/String;
0 6 2 key Ljava/lang/String;
0 6 3 w I
0 6 4 h I
MethodParameters:
Name Flags
prefix
key
w
h
private static javax.swing.Painter<javax.swing.JComponent> paintFilter(javax.swing.Painter);
descriptor: (Ljavax/swing/Painter;)Ljavax/swing/Painter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 painter Ljavax/swing/Painter;
Signature: (Ljavax/swing/Painter;)Ljavax/swing/Painter<Ljavax/swing/JComponent;>;
MethodParameters:
Name Flags
painter
public void paintIcon(javax.swing.plaf.synth.SynthContext, java.awt.Graphics, int, int, int, int);
descriptor: (Ljavax/swing/plaf/synth/SynthContext;Ljava/awt/Graphics;IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aconst_null
astore 7
start local 7 1: aload 1
ifnull 3
2: aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getStyle:()Ljavax/swing/plaf/synth/SynthStyle;
aload 1
aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.key:Ljava/lang/String;
invokevirtual javax.swing.plaf.synth.SynthStyle.get:(Ljavax/swing/plaf/synth/SynthContext;Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.Painter
invokestatic javax.swing.plaf.nimbus.NimbusIcon.paintFilter:(Ljavax/swing/Painter;)Ljavax/swing/Painter;
astore 7
3: StackMap locals: javax.swing.Painter
StackMap stack:
aload 7
ifnonnull 5
4: new java.lang.StringBuilder
dup
aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.prefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "[Enabled]."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.key:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.Painter
invokestatic javax.swing.plaf.nimbus.NimbusIcon.paintFilter:(Ljavax/swing/Painter;)Ljavax/swing/Painter;
astore 7
5: StackMap locals:
StackMap stack:
aload 7
ifnull 71
aload 1
ifnull 71
6: aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getComponent:()Ljavax/swing/JComponent;
astore 8
start local 8 7: iconst_0
istore 9
start local 9 8: iconst_0
istore 10
start local 10 9: iconst_0
istore 11
start local 11 10: iconst_0
istore 12
start local 12 11: aload 8
instanceof javax.swing.JToolBar
ifeq 27
12: aload 8
checkcast javax.swing.JToolBar
astore 13
start local 13 13: aload 13
invokevirtual javax.swing.JToolBar.getOrientation:()I
iconst_1
if_icmpne 14
iconst_1
goto 15
StackMap locals: javax.swing.plaf.nimbus.NimbusIcon javax.swing.plaf.synth.SynthContext java.awt.Graphics int int int int javax.swing.Painter javax.swing.JComponent int int int int javax.swing.JToolBar
StackMap stack:
14: iconst_0
StackMap locals:
StackMap stack: int
15: istore 9
16: aload 13
invokevirtual javax.swing.JToolBar.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 17
iconst_0
goto 18
StackMap locals:
StackMap stack:
17: iconst_1
StackMap locals:
StackMap stack: int
18: istore 10
19: aload 13
invokestatic javax.swing.plaf.nimbus.NimbusLookAndFeel.resolveToolbarConstraint:(Ljavax/swing/JToolBar;)Ljava/lang/Object;
astore 14
start local 14 20: aload 13
invokevirtual javax.swing.JToolBar.getBorder:()Ljavax/swing/border/Border;
instanceof javax.swing.plaf.UIResource
ifeq 31
21: aload 14
ldc "South"
if_acmpne 24
22: iconst_1
istore 12
23: goto 31
StackMap locals: java.lang.Object
StackMap stack:
24: aload 14
ldc "East"
if_acmpne 31
25: iconst_1
istore 11
end local 14 end local 13 26: goto 31
StackMap locals:
StackMap stack:
27: aload 8
instanceof javax.swing.JMenu
ifeq 31
28: aload 8
invokevirtual javax.swing.JComponent.getComponentOrientation:()Ljava/awt/ComponentOrientation;
invokevirtual java.awt.ComponentOrientation.isLeftToRight:()Z
ifeq 29
iconst_0
goto 30
StackMap locals:
StackMap stack:
29: iconst_1
StackMap locals:
StackMap stack: int
30: istore 10
31: StackMap locals:
StackMap stack:
aload 2
instanceof java.awt.Graphics2D
ifeq 53
32: aload 2
checkcast java.awt.Graphics2D
astore 13
start local 13 33: aload 13
iload 3
iload 4
invokevirtual java.awt.Graphics2D.translate:(II)V
34: aload 13
iload 11
iload 12
invokevirtual java.awt.Graphics2D.translate:(II)V
35: iload 9
ifeq 42
36: aload 13
ldc 90.0
invokestatic java.lang.Math.toRadians:(D)D
invokevirtual java.awt.Graphics2D.rotate:(D)V
37: aload 13
iconst_0
iload 5
ineg
invokevirtual java.awt.Graphics2D.translate:(II)V
38: aload 7
aload 13
aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getComponent:()Ljavax/swing/JComponent;
iload 6
iload 5
invokeinterface javax.swing.Painter.paint:(Ljava/awt/Graphics2D;Ljava/lang/Object;II)V
39: aload 13
iconst_0
iload 5
invokevirtual java.awt.Graphics2D.translate:(II)V
40: aload 13
ldc -90.0
invokestatic java.lang.Math.toRadians:(D)D
invokevirtual java.awt.Graphics2D.rotate:(D)V
41: goto 50
StackMap locals: java.awt.Graphics2D
StackMap stack:
42: iload 10
ifeq 49
43: aload 13
ldc -1.0
dconst_1
invokevirtual java.awt.Graphics2D.scale:(DD)V
44: aload 13
iload 5
ineg
iconst_0
invokevirtual java.awt.Graphics2D.translate:(II)V
45: aload 7
aload 13
aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getComponent:()Ljavax/swing/JComponent;
iload 5
iload 6
invokeinterface javax.swing.Painter.paint:(Ljava/awt/Graphics2D;Ljava/lang/Object;II)V
46: aload 13
iload 5
iconst_0
invokevirtual java.awt.Graphics2D.translate:(II)V
47: aload 13
ldc -1.0
dconst_1
invokevirtual java.awt.Graphics2D.scale:(DD)V
48: goto 50
49: StackMap locals:
StackMap stack:
aload 7
aload 13
aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getComponent:()Ljavax/swing/JComponent;
iload 5
iload 6
invokeinterface javax.swing.Painter.paint:(Ljava/awt/Graphics2D;Ljava/lang/Object;II)V
50: StackMap locals:
StackMap stack:
aload 13
iload 11
ineg
iload 12
ineg
invokevirtual java.awt.Graphics2D.translate:(II)V
51: aload 13
iload 3
ineg
iload 4
ineg
invokevirtual java.awt.Graphics2D.translate:(II)V
end local 13 52: goto 71
53: StackMap locals:
StackMap stack:
new java.awt.image.BufferedImage
dup
iload 5
iload 6
54: iconst_2
55: invokespecial java.awt.image.BufferedImage.<init>:(III)V
astore 13
start local 13 56: aload 13
invokevirtual java.awt.image.BufferedImage.createGraphics:()Ljava/awt/Graphics2D;
astore 14
start local 14 57: iload 9
ifeq 62
58: aload 14
ldc 90.0
invokestatic java.lang.Math.toRadians:(D)D
invokevirtual java.awt.Graphics2D.rotate:(D)V
59: aload 14
iconst_0
iload 5
ineg
invokevirtual java.awt.Graphics2D.translate:(II)V
60: aload 7
aload 14
aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getComponent:()Ljavax/swing/JComponent;
iload 6
iload 5
invokeinterface javax.swing.Painter.paint:(Ljava/awt/Graphics2D;Ljava/lang/Object;II)V
61: goto 68
StackMap locals: java.awt.image.BufferedImage java.awt.Graphics2D
StackMap stack:
62: iload 10
ifeq 67
63: aload 14
ldc -1.0
dconst_1
invokevirtual java.awt.Graphics2D.scale:(DD)V
64: aload 14
iload 5
ineg
iconst_0
invokevirtual java.awt.Graphics2D.translate:(II)V
65: aload 7
aload 14
aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getComponent:()Ljavax/swing/JComponent;
iload 5
iload 6
invokeinterface javax.swing.Painter.paint:(Ljava/awt/Graphics2D;Ljava/lang/Object;II)V
66: goto 68
67: StackMap locals:
StackMap stack:
aload 7
aload 14
aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getComponent:()Ljavax/swing/JComponent;
iload 5
iload 6
invokeinterface javax.swing.Painter.paint:(Ljava/awt/Graphics2D;Ljava/lang/Object;II)V
68: StackMap locals:
StackMap stack:
aload 14
invokevirtual java.awt.Graphics2D.dispose:()V
69: aload 2
aload 13
iload 3
iload 4
aconst_null
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z
pop
70: aconst_null
astore 13
end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 71: StackMap locals: javax.swing.plaf.nimbus.NimbusIcon javax.swing.plaf.synth.SynthContext java.awt.Graphics int int int int javax.swing.Painter
StackMap stack:
return
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 72 0 this Ljavax/swing/plaf/nimbus/NimbusIcon;
0 72 1 context Ljavax/swing/plaf/synth/SynthContext;
0 72 2 g Ljava/awt/Graphics;
0 72 3 x I
0 72 4 y I
0 72 5 w I
0 72 6 h I
1 72 7 painter Ljavax/swing/Painter<Ljavax/swing/JComponent;>;
7 71 8 c Ljavax/swing/JComponent;
8 71 9 rotate Z
9 71 10 flip Z
10 71 11 translatex I
11 71 12 translatey I
13 26 13 toolbar Ljavax/swing/JToolBar;
20 26 14 o Ljava/lang/Object;
33 52 13 gfx Ljava/awt/Graphics2D;
56 71 13 img Ljava/awt/image/BufferedImage;
57 71 14 gfx Ljava/awt/Graphics2D;
MethodParameters:
Name Flags
context
g
x
y
w
h
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=5, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new java.lang.StringBuilder
dup
aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.prefix:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "[Enabled]."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.key:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic javax.swing.UIManager.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.swing.Painter
invokestatic javax.swing.plaf.nimbus.NimbusIcon.paintFilter:(Ljavax/swing/Painter;)Ljavax/swing/Painter;
1: astore 5
start local 5 2: aload 5
ifnull 10
3: aload 1
instanceof javax.swing.JComponent
ifeq 4
aload 1
checkcast javax.swing.JComponent
goto 5
StackMap locals: javax.swing.Painter
StackMap stack:
4: aconst_null
StackMap locals:
StackMap stack: javax.swing.JComponent
5: astore 6
start local 6 6: aload 2
checkcast java.awt.Graphics2D
astore 7
start local 7 7: aload 7
iload 3
iload 4
invokevirtual java.awt.Graphics2D.translate:(II)V
8: aload 5
aload 7
aload 6
aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.width:I
aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.height:I
invokeinterface javax.swing.Painter.paint:(Ljava/awt/Graphics2D;Ljava/lang/Object;II)V
9: aload 7
iload 3
ineg
iload 4
ineg
invokevirtual java.awt.Graphics2D.translate:(II)V
end local 7 end local 6 10: 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 11 0 this Ljavax/swing/plaf/nimbus/NimbusIcon;
0 11 1 c Ljava/awt/Component;
0 11 2 g Ljava/awt/Graphics;
0 11 3 x I
0 11 4 y I
2 11 5 painter Ljavax/swing/Painter<Ljavax/swing/JComponent;>;
6 10 6 jc Ljavax/swing/JComponent;
7 10 7 gfx Ljava/awt/Graphics2D;
MethodParameters:
Name Flags
c
g
x
y
public int getIconWidth(javax.swing.plaf.synth.SynthContext);
descriptor: (Ljavax/swing/plaf/synth/SynthContext;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.width:I
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getComponent:()Ljavax/swing/JComponent;
astore 2
start local 2 3: aload 2
instanceof javax.swing.JToolBar
ifeq 7
aload 2
checkcast javax.swing.JToolBar
invokevirtual javax.swing.JToolBar.getOrientation:()I
iconst_1
if_icmpne 7
4: aload 2
invokevirtual javax.swing.JComponent.getBorder:()Ljavax/swing/border/Border;
instanceof javax.swing.plaf.UIResource
ifeq 6
5: aload 2
invokevirtual javax.swing.JComponent.getWidth:()I
iconst_1
isub
ireturn
6: StackMap locals: javax.swing.JComponent
StackMap stack:
aload 2
invokevirtual javax.swing.JComponent.getWidth:()I
ireturn
7: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.width:I
invokevirtual javax.swing.plaf.nimbus.NimbusIcon.scale:(Ljavax/swing/plaf/synth/SynthContext;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/swing/plaf/nimbus/NimbusIcon;
0 8 1 context Ljavax/swing/plaf/synth/SynthContext;
3 8 2 c Ljavax/swing/JComponent;
MethodParameters:
Name Flags
context
public int getIconHeight(javax.swing.plaf.synth.SynthContext);
descriptor: (Ljavax/swing/plaf/synth/SynthContext;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.height:I
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getComponent:()Ljavax/swing/JComponent;
astore 2
start local 2 3: aload 2
instanceof javax.swing.JToolBar
ifeq 10
4: aload 2
checkcast javax.swing.JToolBar
astore 3
start local 3 5: aload 3
invokevirtual javax.swing.JToolBar.getOrientation:()I
ifne 9
6: aload 3
invokevirtual javax.swing.JToolBar.getBorder:()Ljavax/swing/border/Border;
instanceof javax.swing.plaf.UIResource
ifeq 8
7: aload 2
invokevirtual javax.swing.JComponent.getHeight:()I
iconst_1
isub
ireturn
8: StackMap locals: javax.swing.JComponent javax.swing.JToolBar
StackMap stack:
aload 2
invokevirtual javax.swing.JComponent.getHeight:()I
ireturn
9: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.width:I
invokevirtual javax.swing.plaf.nimbus.NimbusIcon.scale:(Ljavax/swing/plaf/synth/SynthContext;I)I
ireturn
end local 3 10: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield javax.swing.plaf.nimbus.NimbusIcon.height:I
invokevirtual javax.swing.plaf.nimbus.NimbusIcon.scale:(Ljavax/swing/plaf/synth/SynthContext;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/swing/plaf/nimbus/NimbusIcon;
0 11 1 context Ljavax/swing/plaf/synth/SynthContext;
3 11 2 c Ljavax/swing/JComponent;
5 10 3 toolbar Ljavax/swing/JToolBar;
MethodParameters:
Name Flags
context
private int scale(javax.swing.plaf.synth.SynthContext, int);
descriptor: (Ljavax/swing/plaf/synth/SynthContext;I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 1
aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getComponent:()Ljavax/swing/JComponent;
ifnonnull 2
1: StackMap locals:
StackMap stack:
iload 2
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.swing.plaf.synth.SynthContext.getComponent:()Ljavax/swing/JComponent;
3: ldc "JComponent.sizeVariant"
4: invokevirtual javax.swing.JComponent.getClientProperty:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 5: aload 3
ifnull 14
6: ldc "large"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 9
7: iload 2
i2d
ldc 1.15
dmul
d2i
istore 2
8: goto 14
StackMap locals: java.lang.String
StackMap stack:
9: ldc "small"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 12
10: iload 2
i2d
ldc 0.857
dmul
d2i
istore 2
11: goto 14
StackMap locals:
StackMap stack:
12: ldc "mini"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
13: iload 2
i2d
ldc 0.784
dmul
d2i
istore 2
14: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/swing/plaf/nimbus/NimbusIcon;
0 15 1 context Ljavax/swing/plaf/synth/SynthContext;
0 15 2 size I
5 15 3 scaleKey Ljava/lang/String;
MethodParameters:
Name Flags
context
size
}
SourceFile: "NimbusIcon.java"