public class sun.swing.icon.SortArrowIcon implements javax.swing.Icon, javax.swing.plaf.UIResource, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.swing.icon.SortArrowIcon
super_class: java.lang.Object
{
private static final int ARROW_HEIGHT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private static final int X_PADDING;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7
private boolean ascending;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.awt.Color color;
descriptor: Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
private java.lang.String colorKey;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(boolean, java.awt.Color);
descriptor: (ZLjava/awt/Color;)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.swing.icon.SortArrowIcon.ascending:Z
2: aload 0
aload 2
putfield sun.swing.icon.SortArrowIcon.color:Ljava/awt/Color;
3: aload 2
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
5: StackMap locals: sun.swing.icon.SortArrowIcon int java.awt.Color
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/swing/icon/SortArrowIcon;
0 6 1 ascending Z
0 6 2 color Ljava/awt/Color;
MethodParameters:
Name Flags
ascending
color
public void <init>(boolean, java.lang.String);
descriptor: (ZLjava/lang/String;)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.swing.icon.SortArrowIcon.ascending:Z
2: aload 0
aload 2
putfield sun.swing.icon.SortArrowIcon.colorKey:Ljava/lang/String;
3: aload 2
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
invokespecial java.lang.IllegalArgumentException.<init>:()V
athrow
5: StackMap locals: sun.swing.icon.SortArrowIcon int java.lang.String
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/swing/icon/SortArrowIcon;
0 6 1 ascending Z
0 6 2 colorKey Ljava/lang/String;
MethodParameters:
Name Flags
ascending
colorKey
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 2
aload 0
invokevirtual sun.swing.icon.SortArrowIcon.getColor:()Ljava/awt/Color;
invokevirtual java.awt.Graphics.setColor:(Ljava/awt/Color;)V
1: bipush 7
iload 3
iadd
iconst_2
iadd
istore 5
start local 5 2: aload 0
getfield sun.swing.icon.SortArrowIcon.ascending:Z
ifeq 13
3: iload 4
istore 6
start local 6 4: aload 2
iload 5
iload 6
iconst_1
iconst_1
invokevirtual java.awt.Graphics.fillRect:(IIII)V
5: iconst_1
istore 7
start local 7 6: goto 11
7: StackMap locals: int int int
StackMap stack:
aload 2
iload 5
iload 7
isub
iload 6
iload 7
iadd
8: iload 7
iload 7
iadd
iconst_1
iadd
iconst_1
9: invokevirtual java.awt.Graphics.fillRect:(IIII)V
10: iinc 7 1
StackMap locals:
StackMap stack:
11: iload 7
iconst_5
if_icmplt 7
end local 7 end local 6 12: goto 22
13: StackMap locals:
StackMap stack:
iload 4
iconst_5
iadd
iconst_1
isub
istore 6
start local 6 14: aload 2
iload 5
iload 6
iconst_1
iconst_1
invokevirtual java.awt.Graphics.fillRect:(IIII)V
15: iconst_1
istore 7
start local 7 16: goto 21
17: StackMap locals: int int
StackMap stack:
aload 2
iload 5
iload 7
isub
iload 6
iload 7
isub
18: iload 7
iload 7
iadd
iconst_1
iadd
iconst_1
19: invokevirtual java.awt.Graphics.fillRect:(IIII)V
20: iinc 7 1
StackMap locals:
StackMap stack:
21: iload 7
iconst_5
if_icmplt 17
end local 7 end local 6 22: 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 23 0 this Lsun/swing/icon/SortArrowIcon;
0 23 1 c Ljava/awt/Component;
0 23 2 g Ljava/awt/Graphics;
0 23 3 x I
0 23 4 y I
2 23 5 startX I
4 12 6 startY I
6 12 7 line I
14 22 6 startY I
16 22 7 line I
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: bipush 17
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/icon/SortArrowIcon;
public int getIconHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 7
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/icon/SortArrowIcon;
private java.awt.Color getColor();
descriptor: ()Ljava/awt/Color;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.icon.SortArrowIcon.color:Ljava/awt/Color;
ifnull 2
1: aload 0
getfield sun.swing.icon.SortArrowIcon.color:Ljava/awt/Color;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.icon.SortArrowIcon.colorKey:Ljava/lang/String;
invokestatic javax.swing.UIManager.getColor:(Ljava/lang/Object;)Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/swing/icon/SortArrowIcon;
}
SourceFile: "SortArrowIcon.java"