class sun.tools.jconsole.BorderedComponent$ArrowIcon implements javax.swing.Icon
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.tools.jconsole.BorderedComponent$ArrowIcon
super_class: java.lang.Object
{
private int direction;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.swing.JLabel textLabel;
descriptor: Ljavax/swing/JLabel;
flags: (0x0002) ACC_PRIVATE
public void <init>(int, javax.swing.JLabel);
descriptor: (ILjavax/swing/JLabel;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield sun.tools.jconsole.BorderedComponent$ArrowIcon.direction:I
2: aload 0
aload 2
putfield sun.tools.jconsole.BorderedComponent$ArrowIcon.textLabel:Ljavax/swing/JLabel;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/tools/jconsole/BorderedComponent$ArrowIcon;
0 4 1 direction I
0 4 2 textLabel Ljavax/swing/JLabel;
MethodParameters:
Name Flags
direction
textLabel
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: aload 0
invokevirtual sun.tools.jconsole.BorderedComponent$ArrowIcon.getIconWidth:()I
istore 5
start local 5 1: iload 5
istore 6
start local 6 2: new java.awt.Polygon
dup
invokespecial java.awt.Polygon.<init>:()V
astore 7
start local 7 3: aload 0
getfield sun.tools.jconsole.BorderedComponent$ArrowIcon.direction:I
tableswitch { // 3 - 5
3: 4
4: 11
5: 8
default: 11
}
4: StackMap locals: int int java.awt.Polygon
StackMap stack:
aload 7
iload 3
iconst_2
iadd
iload 4
invokevirtual java.awt.Polygon.addPoint:(II)V
5: aload 7
iload 3
iload 5
iadd
iconst_2
isub
iload 4
iload 6
iconst_2
idiv
iadd
invokevirtual java.awt.Polygon.addPoint:(II)V
6: aload 7
iload 3
iconst_2
iadd
iload 4
iload 6
iadd
iconst_1
isub
invokevirtual java.awt.Polygon.addPoint:(II)V
7: goto 11
8: StackMap locals:
StackMap stack:
aload 7
iload 3
iload 4
iconst_2
iadd
invokevirtual java.awt.Polygon.addPoint:(II)V
9: aload 7
iload 3
iload 5
iconst_2
idiv
iadd
iload 4
iload 6
iadd
iconst_2
isub
invokevirtual java.awt.Polygon.addPoint:(II)V
10: aload 7
iload 3
iload 5
iadd
iconst_1
isub
iload 4
iconst_2
iadd
invokevirtual java.awt.Polygon.addPoint:(II)V
11: StackMap locals:
StackMap stack:
aload 2
aload 7
invokevirtual java.awt.Graphics.fillPolygon:(Ljava/awt/Polygon;)V
12: 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 13 0 this Lsun/tools/jconsole/BorderedComponent$ArrowIcon;
0 13 1 c Ljava/awt/Component;
0 13 2 g Ljava/awt/Graphics;
0 13 3 x I
0 13 4 y I
1 13 5 w I
2 13 6 h I
3 13 7 p Ljava/awt/Polygon;
MethodParameters:
Name Flags
c
g
x
y
public int getIconWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.tools.jconsole.BorderedComponent$ArrowIcon.getIconHeight:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jconsole/BorderedComponent$ArrowIcon;
public int getIconHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield sun.tools.jconsole.BorderedComponent$ArrowIcon.textLabel:Ljavax/swing/JLabel;
invokevirtual javax.swing.JLabel.getGraphics:()Ljava/awt/Graphics;
astore 1
start local 1 1: aload 1
ifnull 6
2: aload 1
aload 0
getfield sun.tools.jconsole.BorderedComponent$ArrowIcon.textLabel:Ljavax/swing/JLabel;
invokevirtual javax.swing.JLabel.getFont:()Ljava/awt/Font;
invokevirtual java.awt.Graphics.getFontMetrics:(Ljava/awt/Font;)Ljava/awt/FontMetrics;
invokevirtual java.awt.FontMetrics.getAscent:()I
bipush 6
imul
bipush 10
idiv
istore 2
start local 2 3: iload 2
iconst_2
irem
ifne 5
4: iinc 2 1
5: StackMap locals: java.awt.Graphics int
StackMap stack:
iload 2
ireturn
end local 2 6: StackMap locals:
StackMap stack:
bipush 7
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/tools/jconsole/BorderedComponent$ArrowIcon;
1 7 1 g Ljava/awt/Graphics;
3 6 2 h I
}
SourceFile: "BorderedComponent.java"
NestHost: sun.tools.jconsole.BorderedComponent
InnerClasses:
private ArrowIcon = sun.tools.jconsole.BorderedComponent$ArrowIcon of sun.tools.jconsole.BorderedComponent