class sun.awt.X11.MotifColorUtilities
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.awt.X11.MotifColorUtilities
super_class: java.lang.Object
{
static final float XmRED_LUMINOSITY;
descriptor: F
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0.3
static final float XmGREEN_LUMINOSITY;
descriptor: F
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0.59
static final float XmBLUE_LUMINOSITY;
descriptor: F
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0.11
static final int XmINTENSITY_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 75
static final int XmLIGHT_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int XmLUMINOSITY_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 25
static final int XmMAX_SHORT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 65535
static final int XmCOLOR_PERCENTILE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 655
static final int XmDEFAULT_DARK_THRESHOLD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 20
static final int XmDEFAULT_LIGHT_THRESHOLD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 93
static final int XmDEFAULT_FOREGROUND_THRESHOLD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 70
static final int BLACK;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -16777216
static final int WHITE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
static final int MOTIF_WINDOW_COLOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2105377
static final int DEFAULT_COLOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -3881788
static final int XmCOLOR_LITE_THRESHOLD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 60915
static final int XmCOLOR_DARK_THRESHOLD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 13100
static final int XmFOREGROUND_THRESHOLD;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 45850
static final int XmCOLOR_LITE_SEL_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 15
static final int XmCOLOR_LITE_BS_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 40
static final int XmCOLOR_LITE_TS_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 20
static final int XmCOLOR_DARK_SEL_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 15
static final int XmCOLOR_DARK_BS_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 30
static final int XmCOLOR_DARK_TS_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 50
static final int XmCOLOR_HI_SEL_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 15
static final int XmCOLOR_HI_BS_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 40
static final int XmCOLOR_HI_TS_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 60
static final int XmCOLOR_LO_SEL_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 15
static final int XmCOLOR_LO_BS_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 60
static final int XmCOLOR_LO_TS_FACTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 50
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.awt.X11.MotifColorUtilities this
0: .line 45
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // sun.awt.X11.MotifColorUtilities this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/awt/X11/MotifColorUtilities;
static int brightness(int, int, int);
descriptor: (III)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=9, args_size=3
start local 0 // int red
start local 1 // int green
start local 2 // int blue
0: .line 112
iload 0 /* red */
bipush 8
ishl
istore 0 /* red */
1: .line 113
iload 1 /* green */
bipush 8
ishl
istore 1 /* green */
2: .line 114
iload 2 /* blue */
bipush 8
ishl
istore 2 /* blue */
3: .line 117
iload 0 /* red */
iload 1 /* green */
iadd
iload 2 /* blue */
iadd
iconst_3
idiv
i2f
fstore 4 /* intensity */
start local 4 // float intensity
4: .line 125
ldc 0.3
iload 0 /* red */
i2f
fmul
5: .line 126
ldc 0.59
iload 1 /* green */
i2f
fmul
6: .line 125
fadd
7: .line 127
ldc 0.11
iload 2 /* blue */
i2f
fmul
8: .line 125
fadd
f2i
i2f
fstore 6 /* luminosity */
start local 6 // float luminosity
9: .line 129
iload 0 /* red */
iload 1 /* green */
if_icmple 12
10: .line 130
iload 0 /* red */
iload 2 /* blue */
if_icmple 11
iload 0 /* red */
goto 14
StackMap locals: int int int top float top float
StackMap stack:
11: iload 2 /* blue */
goto 14
12: .line 131
StackMap locals:
StackMap stack:
iload 1 /* green */
iload 2 /* blue */
if_icmple 13
iload 1 /* green */
goto 14
StackMap locals:
StackMap stack:
13: iload 2 /* blue */
14: .line 129
StackMap locals:
StackMap stack: int
i2f
fstore 7 /* maxprimary */
start local 7 // float maxprimary
15: .line 133
iload 0 /* red */
iload 1 /* green */
if_icmpge 18
16: .line 134
iload 0 /* red */
iload 2 /* blue */
if_icmpge 17
iload 0 /* red */
goto 20
StackMap locals: float
StackMap stack:
17: iload 2 /* blue */
goto 20
18: .line 135
StackMap locals:
StackMap stack:
iload 1 /* green */
iload 2 /* blue */
if_icmpge 19
iload 1 /* green */
goto 20
StackMap locals:
StackMap stack:
19: iload 2 /* blue */
20: .line 133
StackMap locals:
StackMap stack: int
i2f
fstore 8 /* minprimary */
start local 8 // float minprimary
21: .line 137
fload 8 /* minprimary */
fload 7 /* maxprimary */
fadd
fconst_2
fdiv
fstore 5 /* light */
start local 5 // float light
22: .line 139
fload 4 /* intensity */
ldc 75.0
fmul
23: .line 140
fload 5 /* light */
fconst_0
fmul
24: .line 139
fadd
25: .line 141
fload 6 /* luminosity */
ldc 25.0
fmul
26: .line 139
fadd
27: .line 141
ldc 100.0
28: .line 139
fdiv
fstore 3 /* brightness */
start local 3 // float brightness
29: .line 142
fload 3 /* brightness */
invokestatic java.lang.Math.round:(F)I
ireturn
end local 8 // float minprimary
end local 7 // float maxprimary
end local 6 // float luminosity
end local 5 // float light
end local 4 // float intensity
end local 3 // float brightness
end local 2 // int blue
end local 1 // int green
end local 0 // int red
LocalVariableTable:
Start End Slot Name Signature
0 30 0 red I
0 30 1 green I
0 30 2 blue I
29 30 3 brightness F
4 30 4 intensity F
22 30 5 light F
9 30 6 luminosity F
15 30 7 maxprimary F
21 30 8 minprimary F
MethodParameters:
Name Flags
red
green
blue
static int calculateForegroundFromBackground(int, int, int);
descriptor: (III)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 // int r
start local 1 // int g
start local 2 // int b
0: .line 147
iconst_m1
istore 3 /* foreground */
start local 3 // int foreground
1: .line 148
iload 0 /* r */
iload 1 /* g */
iload 2 /* b */
invokestatic sun.awt.X11.MotifColorUtilities.brightness:(III)I
istore 4 /* brightness */
start local 4 // int brightness
2: .line 150
iload 4 /* brightness */
ldc 45850
if_icmple 5
3: .line 151
ldc -16777216
istore 3 /* foreground */
4: .line 152
goto 6
5: .line 153
StackMap locals: int int
StackMap stack:
iconst_m1
istore 3 /* foreground */
6: .line 155
StackMap locals:
StackMap stack:
iload 3 /* foreground */
ireturn
end local 4 // int brightness
end local 3 // int foreground
end local 2 // int b
end local 1 // int g
end local 0 // int r
LocalVariableTable:
Start End Slot Name Signature
0 7 0 r I
0 7 1 g I
0 7 2 b I
1 7 3 foreground I
2 7 4 brightness I
MethodParameters:
Name Flags
r
g
b
static int calculateTopShadowFromBackground(int, int, int);
descriptor: (III)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=16, args_size=3
start local 0 // int r
start local 1 // int g
start local 2 // int b
0: .line 162
iload 0 /* r */
bipush 8
ishl
istore 5 /* br */
start local 5 // int br
1: .line 163
iload 1 /* g */
bipush 8
ishl
istore 6 /* bg */
start local 6 // int bg
2: .line 164
iload 2 /* b */
bipush 8
ishl
istore 7 /* bb */
start local 7 // int bb
3: .line 166
iload 0 /* r */
iload 1 /* g */
iload 2 /* b */
invokestatic sun.awt.X11.MotifColorUtilities.brightness:(III)I
istore 8 /* brightness */
start local 8 // int brightness
4: .line 172
iload 8 /* brightness */
sipush 13100
if_icmpge 27
5: .line 175
iload 5 /* br */
i2f
fstore 3 /* color_value */
start local 3 // float color_value
6: .line 176
fload 3 /* color_value */
ldc 50.0
7: .line 177
ldc 65535.0
fload 3 /* color_value */
fsub
8: .line 176
fmul
9: .line 177
ldc 100.0
10: .line 176
fdiv
fadd
fstore 3 /* color_value */
11: .line 178
fload 3 /* color_value */
fstore 9 /* red */
start local 9 // float red
12: .line 180
iload 6 /* bg */
i2f
fstore 3 /* color_value */
13: .line 181
fload 3 /* color_value */
ldc 50.0
14: .line 182
ldc 65535.0
fload 3 /* color_value */
fsub
15: .line 181
fmul
16: .line 182
ldc 100.0
17: .line 181
fdiv
fadd
fstore 3 /* color_value */
18: .line 183
fload 3 /* color_value */
fstore 10 /* green */
start local 10 // float green
19: .line 185
iload 7 /* bb */
i2f
fstore 3 /* color_value */
20: .line 186
fload 3 /* color_value */
ldc 50.0
21: .line 187
ldc 65535.0
fload 3 /* color_value */
fsub
22: .line 186
fmul
23: .line 187
ldc 100.0
24: .line 186
fdiv
fadd
fstore 3 /* color_value */
25: .line 188
fload 3 /* color_value */
fstore 11 /* blue */
start local 11 // float blue
26: .line 189
goto 51
end local 11 // float blue
end local 10 // float green
end local 9 // float red
end local 3 // float color_value
27: .line 190
StackMap locals: int int int top top int int int int
StackMap stack:
iload 8 /* brightness */
ldc 60915
if_icmple 38
28: .line 193
iload 5 /* br */
i2f
fstore 3 /* color_value */
start local 3 // float color_value
29: .line 194
fload 3 /* color_value */
fload 3 /* color_value */
ldc 20.0
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
30: .line 195
fload 3 /* color_value */
fstore 9 /* red */
start local 9 // float red
31: .line 197
iload 6 /* bg */
i2f
fstore 3 /* color_value */
32: .line 198
fload 3 /* color_value */
fload 3 /* color_value */
ldc 20.0
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
33: .line 199
fload 3 /* color_value */
fstore 10 /* green */
start local 10 // float green
34: .line 201
iload 7 /* bb */
i2f
fstore 3 /* color_value */
35: .line 202
fload 3 /* color_value */
fload 3 /* color_value */
ldc 20.0
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
36: .line 203
fload 3 /* color_value */
fstore 11 /* blue */
start local 11 // float blue
37: .line 205
goto 51
end local 11 // float blue
end local 10 // float green
end local 9 // float red
end local 3 // float color_value
38: .line 208
StackMap locals:
StackMap stack:
bipush 50
iload 8 /* brightness */
39: .line 209
bipush 10
imul
40: .line 210
ldc 65535
idiv
41: .line 208
iadd
i2f
fstore 4 /* f */
start local 4 // float f
42: .line 212
iload 5 /* br */
i2f
fstore 3 /* color_value */
start local 3 // float color_value
43: .line 213
fload 3 /* color_value */
fload 4 /* f */
ldc 65535.0
fload 3 /* color_value */
fsub
fmul
ldc 100.0
fdiv
fadd
fstore 3 /* color_value */
44: .line 214
fload 3 /* color_value */
fstore 9 /* red */
start local 9 // float red
45: .line 216
iload 6 /* bg */
i2f
fstore 3 /* color_value */
46: .line 217
fload 3 /* color_value */
fload 4 /* f */
ldc 65535.0
fload 3 /* color_value */
fsub
fmul
ldc 100.0
fdiv
fadd
fstore 3 /* color_value */
47: .line 218
fload 3 /* color_value */
fstore 10 /* green */
start local 10 // float green
48: .line 220
iload 7 /* bb */
i2f
fstore 3 /* color_value */
49: .line 221
fload 3 /* color_value */
fload 4 /* f */
ldc 65535.0
fload 3 /* color_value */
fsub
fmul
ldc 100.0
fdiv
fadd
fstore 3 /* color_value */
50: .line 222
fload 3 /* color_value */
fstore 11 /* blue */
end local 4 // float f
start local 11 // float blue
51: .line 228
StackMap locals: int int int float top int int int int float float float
StackMap stack:
fload 9 /* red */
f2i
bipush 8
ishr
istore 12 /* ired */
start local 12 // int ired
52: .line 229
fload 10 /* green */
f2i
bipush 8
ishr
istore 13 /* igreen */
start local 13 // int igreen
53: .line 230
fload 11 /* blue */
f2i
bipush 8
ishr
istore 14 /* iblue */
start local 14 // int iblue
54: .line 232
ldc -16777216
iload 12 /* ired */
bipush 16
ishl
ior
iload 13 /* igreen */
bipush 8
ishl
ior
iload 14 /* iblue */
ior
istore 15 /* ret */
start local 15 // int ret
55: .line 234
iload 15 /* ret */
ireturn
end local 15 // int ret
end local 14 // int iblue
end local 13 // int igreen
end local 12 // int ired
end local 11 // float blue
end local 10 // float green
end local 9 // float red
end local 8 // int brightness
end local 7 // int bb
end local 6 // int bg
end local 5 // int br
end local 3 // float color_value
end local 2 // int b
end local 1 // int g
end local 0 // int r
LocalVariableTable:
Start End Slot Name Signature
0 56 0 r I
0 56 1 g I
0 56 2 b I
6 27 3 color_value F
29 38 3 color_value F
43 56 3 color_value F
42 51 4 f F
1 56 5 br I
2 56 6 bg I
3 56 7 bb I
4 56 8 brightness I
12 27 9 red F
31 38 9 red F
45 56 9 red F
19 27 10 green F
34 38 10 green F
48 56 10 green F
26 27 11 blue F
37 38 11 blue F
51 56 11 blue F
52 56 12 ired I
53 56 13 igreen I
54 56 14 iblue I
55 56 15 ret I
MethodParameters:
Name Flags
r
g
b
static int calculateBottomShadowFromBackground(int, int, int);
descriptor: (III)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=16, args_size=3
start local 0 // int r
start local 1 // int g
start local 2 // int b
0: .line 242
iload 0 /* r */
bipush 8
ishl
istore 5 /* br */
start local 5 // int br
1: .line 243
iload 1 /* g */
bipush 8
ishl
istore 6 /* bg */
start local 6 // int bg
2: .line 244
iload 2 /* b */
bipush 8
ishl
istore 7 /* bb */
start local 7 // int bb
3: .line 246
iload 0 /* r */
iload 1 /* g */
iload 2 /* b */
invokestatic sun.awt.X11.MotifColorUtilities.brightness:(III)I
istore 8 /* brightness */
start local 8 // int brightness
4: .line 252
iload 8 /* brightness */
sipush 13100
if_icmpge 27
5: .line 254
iload 5 /* br */
i2f
fstore 3 /* color_value */
start local 3 // float color_value
6: .line 255
fload 3 /* color_value */
ldc 30.0
7: .line 256
ldc 65535.0
fload 3 /* color_value */
fsub
8: .line 255
fmul
9: .line 256
ldc 100.0
10: .line 255
fdiv
fadd
fstore 3 /* color_value */
11: .line 257
fload 3 /* color_value */
fstore 9 /* red */
start local 9 // float red
12: .line 259
iload 6 /* bg */
i2f
fstore 3 /* color_value */
13: .line 260
fload 3 /* color_value */
ldc 30.0
14: .line 261
ldc 65535.0
fload 3 /* color_value */
fsub
15: .line 260
fmul
16: .line 261
ldc 100.0
17: .line 260
fdiv
fadd
fstore 3 /* color_value */
18: .line 262
fload 3 /* color_value */
fstore 10 /* green */
start local 10 // float green
19: .line 264
iload 7 /* bb */
i2f
fstore 3 /* color_value */
20: .line 265
fload 3 /* color_value */
ldc 30.0
21: .line 266
ldc 65535.0
fload 3 /* color_value */
fsub
22: .line 265
fmul
23: .line 266
ldc 100.0
24: .line 265
fdiv
fadd
fstore 3 /* color_value */
25: .line 267
fload 3 /* color_value */
fstore 11 /* blue */
start local 11 // float blue
26: .line 269
goto 51
end local 11 // float blue
end local 10 // float green
end local 9 // float red
end local 3 // float color_value
27: .line 270
StackMap locals: int int int top top int int int int
StackMap stack:
iload 8 /* brightness */
ldc 60915
if_icmple 38
28: .line 272
iload 5 /* br */
i2f
fstore 3 /* color_value */
start local 3 // float color_value
29: .line 273
fload 3 /* color_value */
fload 3 /* color_value */
ldc 40.0
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
30: .line 274
fload 3 /* color_value */
fstore 9 /* red */
start local 9 // float red
31: .line 276
iload 6 /* bg */
i2f
fstore 3 /* color_value */
32: .line 277
fload 3 /* color_value */
fload 3 /* color_value */
ldc 40.0
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
33: .line 278
fload 3 /* color_value */
fstore 10 /* green */
start local 10 // float green
34: .line 280
iload 7 /* bb */
i2f
fstore 3 /* color_value */
35: .line 281
fload 3 /* color_value */
fload 3 /* color_value */
ldc 40.0
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
36: .line 282
fload 3 /* color_value */
fstore 11 /* blue */
start local 11 // float blue
37: .line 284
goto 51
end local 11 // float blue
end local 10 // float green
end local 9 // float red
end local 3 // float color_value
38: .line 287
StackMap locals:
StackMap stack:
bipush 60
iload 8 /* brightness */
39: .line 288
bipush -20
imul
40: .line 289
ldc 65535
idiv
41: .line 287
iadd
i2f
fstore 4 /* f */
start local 4 // float f
42: .line 291
iload 5 /* br */
i2f
fstore 3 /* color_value */
start local 3 // float color_value
43: .line 292
fload 3 /* color_value */
fload 3 /* color_value */
fload 4 /* f */
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
44: .line 293
fload 3 /* color_value */
fstore 9 /* red */
start local 9 // float red
45: .line 295
iload 6 /* bg */
i2f
fstore 3 /* color_value */
46: .line 296
fload 3 /* color_value */
fload 3 /* color_value */
fload 4 /* f */
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
47: .line 297
fload 3 /* color_value */
fstore 10 /* green */
start local 10 // float green
48: .line 299
iload 7 /* bb */
i2f
fstore 3 /* color_value */
49: .line 300
fload 3 /* color_value */
fload 3 /* color_value */
fload 4 /* f */
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
50: .line 301
fload 3 /* color_value */
fstore 11 /* blue */
end local 4 // float f
start local 11 // float blue
51: .line 305
StackMap locals: int int int float top int int int int float float float
StackMap stack:
fload 9 /* red */
f2i
bipush 8
ishr
istore 12 /* ired */
start local 12 // int ired
52: .line 306
fload 10 /* green */
f2i
bipush 8
ishr
istore 13 /* igreen */
start local 13 // int igreen
53: .line 307
fload 11 /* blue */
f2i
bipush 8
ishr
istore 14 /* iblue */
start local 14 // int iblue
54: .line 309
ldc -16777216
iload 12 /* ired */
bipush 16
ishl
ior
iload 13 /* igreen */
bipush 8
ishl
ior
iload 14 /* iblue */
ior
istore 15 /* ret */
start local 15 // int ret
55: .line 311
iload 15 /* ret */
ireturn
end local 15 // int ret
end local 14 // int iblue
end local 13 // int igreen
end local 12 // int ired
end local 11 // float blue
end local 10 // float green
end local 9 // float red
end local 8 // int brightness
end local 7 // int bb
end local 6 // int bg
end local 5 // int br
end local 3 // float color_value
end local 2 // int b
end local 1 // int g
end local 0 // int r
LocalVariableTable:
Start End Slot Name Signature
0 56 0 r I
0 56 1 g I
0 56 2 b I
6 27 3 color_value F
29 38 3 color_value F
43 56 3 color_value F
42 51 4 f F
1 56 5 br I
2 56 6 bg I
3 56 7 bb I
4 56 8 brightness I
12 27 9 red F
31 38 9 red F
45 56 9 red F
19 27 10 green F
34 38 10 green F
48 56 10 green F
26 27 11 blue F
37 38 11 blue F
51 56 11 blue F
52 56 12 ired I
53 56 13 igreen I
54 56 14 iblue I
55 56 15 ret I
MethodParameters:
Name Flags
r
g
b
static int calculateSelectFromBackground(int, int, int);
descriptor: (III)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=16, args_size=3
start local 0 // int r
start local 1 // int g
start local 2 // int b
0: .line 318
iload 0 /* r */
bipush 8
ishl
istore 5 /* br */
start local 5 // int br
1: .line 319
iload 1 /* g */
bipush 8
ishl
istore 6 /* bg */
start local 6 // int bg
2: .line 320
iload 2 /* b */
bipush 8
ishl
istore 7 /* bb */
start local 7 // int bb
3: .line 322
iload 0 /* r */
iload 1 /* g */
iload 2 /* b */
invokestatic sun.awt.X11.MotifColorUtilities.brightness:(III)I
istore 8 /* brightness */
start local 8 // int brightness
4: .line 328
iload 8 /* brightness */
sipush 13100
if_icmpge 27
5: .line 330
iload 5 /* br */
i2f
fstore 3 /* color_value */
start local 3 // float color_value
6: .line 331
fload 3 /* color_value */
ldc 15.0
7: .line 332
ldc 65535.0
fload 3 /* color_value */
fsub
8: .line 331
fmul
9: .line 332
ldc 100.0
10: .line 331
fdiv
fadd
fstore 3 /* color_value */
11: .line 333
fload 3 /* color_value */
fstore 9 /* red */
start local 9 // float red
12: .line 335
iload 6 /* bg */
i2f
fstore 3 /* color_value */
13: .line 336
fload 3 /* color_value */
ldc 15.0
14: .line 337
ldc 65535.0
fload 3 /* color_value */
fsub
15: .line 336
fmul
16: .line 337
ldc 100.0
17: .line 336
fdiv
fadd
fstore 3 /* color_value */
18: .line 338
fload 3 /* color_value */
fstore 10 /* green */
start local 10 // float green
19: .line 340
iload 7 /* bb */
i2f
fstore 3 /* color_value */
20: .line 341
fload 3 /* color_value */
ldc 15.0
21: .line 342
ldc 65535.0
fload 3 /* color_value */
fsub
22: .line 341
fmul
23: .line 342
ldc 100.0
24: .line 341
fdiv
fadd
fstore 3 /* color_value */
25: .line 343
fload 3 /* color_value */
fstore 11 /* blue */
start local 11 // float blue
26: .line 345
goto 51
end local 11 // float blue
end local 10 // float green
end local 9 // float red
end local 3 // float color_value
27: .line 346
StackMap locals: int int int top top int int int int
StackMap stack:
iload 8 /* brightness */
ldc 60915
if_icmple 38
28: .line 348
iload 5 /* br */
i2f
fstore 3 /* color_value */
start local 3 // float color_value
29: .line 349
fload 3 /* color_value */
fload 3 /* color_value */
ldc 15.0
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
30: .line 350
fload 3 /* color_value */
fstore 9 /* red */
start local 9 // float red
31: .line 352
iload 6 /* bg */
i2f
fstore 3 /* color_value */
32: .line 353
fload 3 /* color_value */
fload 3 /* color_value */
ldc 15.0
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
33: .line 354
fload 3 /* color_value */
fstore 10 /* green */
start local 10 // float green
34: .line 356
iload 7 /* bb */
i2f
fstore 3 /* color_value */
35: .line 357
fload 3 /* color_value */
fload 3 /* color_value */
ldc 15.0
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
36: .line 358
fload 3 /* color_value */
fstore 11 /* blue */
start local 11 // float blue
37: .line 360
goto 51
end local 11 // float blue
end local 10 // float green
end local 9 // float red
end local 3 // float color_value
38: .line 363
StackMap locals:
StackMap stack:
bipush 15
iload 8 /* brightness */
39: .line 364
iconst_0
imul
40: .line 365
ldc 65535
idiv
41: .line 363
iadd
i2f
fstore 4 /* f */
start local 4 // float f
42: .line 367
iload 5 /* br */
i2f
fstore 3 /* color_value */
start local 3 // float color_value
43: .line 368
fload 3 /* color_value */
fload 3 /* color_value */
fload 4 /* f */
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
44: .line 369
fload 3 /* color_value */
fstore 9 /* red */
start local 9 // float red
45: .line 371
iload 6 /* bg */
i2f
fstore 3 /* color_value */
46: .line 372
fload 3 /* color_value */
fload 3 /* color_value */
fload 4 /* f */
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
47: .line 373
fload 3 /* color_value */
fstore 10 /* green */
start local 10 // float green
48: .line 375
iload 7 /* bb */
i2f
fstore 3 /* color_value */
49: .line 376
fload 3 /* color_value */
fload 3 /* color_value */
fload 4 /* f */
fmul
ldc 100.0
fdiv
fsub
fstore 3 /* color_value */
50: .line 377
fload 3 /* color_value */
fstore 11 /* blue */
end local 4 // float f
start local 11 // float blue
51: .line 381
StackMap locals: int int int float top int int int int float float float
StackMap stack:
fload 9 /* red */
f2i
bipush 8
ishr
istore 12 /* ired */
start local 12 // int ired
52: .line 382
fload 10 /* green */
f2i
bipush 8
ishr
istore 13 /* igreen */
start local 13 // int igreen
53: .line 383
fload 11 /* blue */
f2i
bipush 8
ishr
istore 14 /* iblue */
start local 14 // int iblue
54: .line 385
ldc -16777216
iload 12 /* ired */
bipush 16
ishl
ior
iload 13 /* igreen */
bipush 8
ishl
ior
iload 14 /* iblue */
ior
istore 15 /* ret */
start local 15 // int ret
55: .line 387
iload 15 /* ret */
ireturn
end local 15 // int ret
end local 14 // int iblue
end local 13 // int igreen
end local 12 // int ired
end local 11 // float blue
end local 10 // float green
end local 9 // float red
end local 8 // int brightness
end local 7 // int bb
end local 6 // int bg
end local 5 // int br
end local 3 // float color_value
end local 2 // int b
end local 1 // int g
end local 0 // int r
LocalVariableTable:
Start End Slot Name Signature
0 56 0 r I
0 56 1 g I
0 56 2 b I
6 27 3 color_value F
29 38 3 color_value F
43 56 3 color_value F
42 51 4 f F
1 56 5 br I
2 56 6 bg I
3 56 7 bb I
4 56 8 brightness I
12 27 9 red F
31 38 9 red F
45 56 9 red F
19 27 10 green F
34 38 10 green F
48 56 10 green F
26 27 11 blue F
37 38 11 blue F
51 56 11 blue F
52 56 12 ired I
53 56 13 igreen I
54 56 14 iblue I
55 56 15 ret I
MethodParameters:
Name Flags
r
g
b
static void loadSystemColorsForCDE(int[]);
descriptor: ([I)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=21, args_size=1
start local 0 // int[] systemColors
0: .line 392
ldc "RESOURCE_MANAGER"
invokestatic sun.awt.X11.XAtom.get:(Ljava/lang/String;)Lsun/awt/X11/XAtom;
astore 1 /* resourceManager */
start local 1 // sun.awt.X11.XAtom resourceManager
1: .line 394
aload 1 /* resourceManager */
invokestatic sun.awt.X11.XToolkit.getDefaultRootWindow:()J
invokevirtual sun.awt.X11.XAtom.getProperty:(J)Ljava/lang/String;
astore 2 /* resourceString */
start local 2 // java.lang.String resourceString
2: .line 396
aload 2 /* resourceString */
ldc "ColorPalette:"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
istore 3 /* index */
start local 3 // int index
3: .line 397
aload 2 /* resourceString */
invokevirtual java.lang.String.length:()I
istore 4 /* len */
start local 4 // int len
4: .line 398
goto 6
StackMap locals: int[] sun.awt.X11.XAtom java.lang.String int int
StackMap stack:
5: iinc 3 /* index */ 1
StackMap locals:
StackMap stack:
6: iload 3 /* index */
iload 4 /* len */
if_icmpge 7
aload 2 /* resourceString */
iload 3 /* index */
invokevirtual java.lang.String.charAt:(I)C
bipush 58
if_icmpne 5
7: .line 399
StackMap locals:
StackMap stack:
iinc 3 /* index */ 1
8: .line 400
aload 2 /* resourceString */
iload 3 /* index */
invokevirtual java.lang.String.charAt:(I)C
bipush 9
if_icmpne 9
iinc 3 /* index */ 1
9: .line 402
StackMap locals:
StackMap stack:
aload 2 /* resourceString */
iload 3 /* index */
aload 2 /* resourceString */
ldc "\n"
iload 3 /* index */
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5 /* paletteFile */
start local 5 // java.lang.String paletteFile
10: .line 408
new java.lang.StringBuilder
dup
ldc "user.home"
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/.dt/palettes/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 5 /* paletteFile */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6 /* paletteFilePath */
start local 6 // java.lang.String paletteFilePath
11: .line 410
new java.io.File
dup
aload 6 /* paletteFilePath */
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 7 /* pFile */
start local 7 // java.io.File pFile
12: .line 411
aload 7 /* pFile */
invokevirtual java.io.File.exists:()Z
ifne 17
13: .line 414
new java.lang.StringBuilder
dup
ldc "/usr/dt/palettes/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 5 /* paletteFile */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6 /* paletteFilePath */
14: .line 415
new java.io.File
dup
aload 6 /* paletteFilePath */
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 7 /* pFile */
15: .line 416
aload 7 /* pFile */
invokevirtual java.io.File.exists:()Z
ifne 17
16: .line 418
new java.io.FileNotFoundException
dup
new java.lang.StringBuilder
dup
ldc "Could not open : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6 /* paletteFilePath */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.FileNotFoundException.<init>:(Ljava/lang/String;)V
athrow
17: .line 421
StackMap locals: java.lang.String java.lang.String java.io.File
StackMap stack:
new java.io.BufferedReader
dup
new java.io.FileReader
dup
aload 7 /* pFile */
invokespecial java.io.FileReader.<init>:(Ljava/io/File;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 8 /* bfr */
start local 8 // java.io.BufferedReader bfr
18: .line 423
bipush 8
newarray 10
astore 9 /* colors */
start local 9 // int[] colors
19: .line 427
iconst_0
istore 15 /* i */
start local 15 // int i
20: goto 28
21: .line 428
StackMap locals: int[] sun.awt.X11.XAtom java.lang.String int int java.lang.String java.lang.String java.io.File java.io.BufferedReader int[] top top top top top int
StackMap stack:
aload 8 /* bfr */
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 13 /* temp */
start local 13 // java.lang.String temp
22: .line 429
aload 13 /* temp */
iconst_1
aload 13 /* temp */
invokevirtual java.lang.String.length:()I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 14 /* color */
start local 14 // java.lang.String color
23: .line 430
aload 14 /* color */
iconst_0
iconst_4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 16
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
bipush 8
ishr
istore 10 /* r */
start local 10 // int r
24: .line 431
aload 14 /* color */
iconst_4
bipush 8
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 16
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
bipush 8
ishr
istore 11 /* g */
start local 11 // int g
25: .line 432
aload 14 /* color */
bipush 8
bipush 12
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
bipush 16
invokestatic java.lang.Integer.valueOf:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
bipush 8
ishr
istore 12 /* b */
start local 12 // int b
26: .line 433
aload 9 /* colors */
iload 15 /* i */
ldc -16777216
iload 10 /* r */
bipush 16
ishl
ior
iload 11 /* g */
bipush 8
ishl
ior
iload 12 /* b */
ior
iastore
27: .line 427
iinc 15 /* i */ 1
end local 14 // java.lang.String color
end local 13 // java.lang.String temp
end local 12 // int b
end local 11 // int g
end local 10 // int r
StackMap locals:
StackMap stack:
28: iload 15 /* i */
bipush 8
if_icmplt 21
end local 15 // int i
29: .line 437
aload 0 /* systemColors */
iconst_1
aload 9 /* colors */
iconst_0
iaload
iastore
30: .line 438
aload 0 /* systemColors */
iconst_3
aload 9 /* colors */
iconst_0
iaload
iastore
31: .line 440
aload 0 /* systemColors */
iconst_4
aload 9 /* colors */
iconst_1
iaload
iastore
32: .line 441
aload 0 /* systemColors */
bipush 6
aload 9 /* colors */
iconst_1
iaload
iastore
33: .line 443
aload 0 /* systemColors */
bipush 7
aload 9 /* colors */
iconst_1
iaload
iastore
34: .line 445
aload 0 /* systemColors */
bipush 8
aload 9 /* colors */
iconst_1
iaload
iastore
35: .line 446
aload 0 /* systemColors */
bipush 10
aload 9 /* colors */
iconst_1
iaload
iastore
36: .line 448
aload 0 /* systemColors */
bipush 12
aload 9 /* colors */
iconst_3
iaload
iastore
37: .line 450
aload 0 /* systemColors */
bipush 23
aload 9 /* colors */
iconst_1
iaload
iastore
38: .line 451
aload 0 /* systemColors */
bipush 17
aload 9 /* colors */
iconst_1
iaload
iastore
39: .line 458
aload 9 /* colors */
iconst_0
iaload
ldc 16711680
iand
bipush 16
ishr
istore 10 /* r */
start local 10 // int r
40: .line 459
aload 9 /* colors */
iconst_0
iaload
ldc 65280
iand
bipush 8
ishr
istore 11 /* g */
start local 11 // int g
41: .line 460
aload 9 /* colors */
iconst_0
iaload
sipush 255
iand
istore 12 /* b */
start local 12 // int b
42: .line 462
iload 10 /* r */
iload 11 /* g */
iload 12 /* b */
invokestatic sun.awt.X11.MotifColorUtilities.calculateForegroundFromBackground:(III)I
istore 15 /* activeFore */
start local 15 // int activeFore
43: .line 464
aload 9 /* colors */
iconst_1
iaload
ldc 16711680
iand
bipush 16
ishr
istore 10 /* r */
44: .line 465
aload 9 /* colors */
iconst_1
iaload
ldc 65280
iand
bipush 8
ishr
istore 11 /* g */
45: .line 466
aload 9 /* colors */
iconst_1
iaload
sipush 255
iand
istore 12 /* b */
46: .line 468
iload 10 /* r */
iload 11 /* g */
iload 12 /* b */
invokestatic sun.awt.X11.MotifColorUtilities.calculateForegroundFromBackground:(III)I
istore 16 /* inactiveFore */
start local 16 // int inactiveFore
47: .line 470
iload 10 /* r */
iload 11 /* g */
iload 12 /* b */
invokestatic sun.awt.X11.MotifColorUtilities.calculateTopShadowFromBackground:(III)I
istore 18 /* top_shadow */
start local 18 // int top_shadow
48: .line 471
iload 10 /* r */
iload 11 /* g */
iload 12 /* b */
invokestatic sun.awt.X11.MotifColorUtilities.calculateBottomShadowFromBackground:(III)I
istore 19 /* bottom_shadow */
start local 19 // int bottom_shadow
49: .line 474
aload 9 /* colors */
iconst_3
iaload
ldc 16711680
iand
bipush 16
ishr
istore 10 /* r */
50: .line 475
aload 9 /* colors */
iconst_3
iaload
ldc 65280
iand
bipush 8
ishr
istore 11 /* g */
51: .line 476
aload 9 /* colors */
iconst_3
iaload
sipush 255
iand
istore 12 /* b */
52: .line 478
iload 10 /* r */
iload 11 /* g */
iload 12 /* b */
invokestatic sun.awt.X11.MotifColorUtilities.calculateForegroundFromBackground:(III)I
istore 17 /* textFore */
start local 17 // int textFore
53: .line 481
aload 0 /* systemColors */
iconst_2
iload 15 /* activeFore */
iastore
54: .line 482
aload 0 /* systemColors */
iconst_5
iload 16 /* inactiveFore */
iastore
55: .line 483
aload 0 /* systemColors */
bipush 9
iload 16 /* inactiveFore */
iastore
56: .line 484
aload 0 /* systemColors */
bipush 11
iload 16 /* inactiveFore */
iastore
57: .line 485
aload 0 /* systemColors */
bipush 13
iload 17 /* textFore */
iastore
58: .line 486
aload 0 /* systemColors */
bipush 14
ldc -16777216
iastore
59: .line 487
aload 0 /* systemColors */
bipush 15
ldc -3881788
iastore
60: .line 488
aload 0 /* systemColors */
bipush 18
iload 16 /* inactiveFore */
iastore
61: .line 489
new java.awt.Color
dup
iload 18 /* top_shadow */
invokespecial java.awt.Color.<init>:(I)V
astore 20 /* tmp */
start local 20 // java.awt.Color tmp
62: .line 490
aload 0 /* systemColors */
bipush 19
iload 18 /* top_shadow */
iastore
63: .line 491
aload 0 /* systemColors */
bipush 20
aload 20 /* tmp */
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
invokevirtual java.awt.Color.getRGB:()I
iastore
64: .line 493
new java.awt.Color
dup
iload 19 /* bottom_shadow */
invokespecial java.awt.Color.<init>:(I)V
astore 20 /* tmp */
65: .line 494
aload 0 /* systemColors */
bipush 21
iload 19 /* bottom_shadow */
iastore
66: .line 495
aload 0 /* systemColors */
bipush 22
aload 20 /* tmp */
invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
invokevirtual java.awt.Color.getRGB:()I
iastore
67: .line 497
return
end local 20 // java.awt.Color tmp
end local 19 // int bottom_shadow
end local 18 // int top_shadow
end local 17 // int textFore
end local 16 // int inactiveFore
end local 15 // int activeFore
end local 12 // int b
end local 11 // int g
end local 10 // int r
end local 9 // int[] colors
end local 8 // java.io.BufferedReader bfr
end local 7 // java.io.File pFile
end local 6 // java.lang.String paletteFilePath
end local 5 // java.lang.String paletteFile
end local 4 // int len
end local 3 // int index
end local 2 // java.lang.String resourceString
end local 1 // sun.awt.X11.XAtom resourceManager
end local 0 // int[] systemColors
LocalVariableTable:
Start End Slot Name Signature
0 68 0 systemColors [I
1 68 1 resourceManager Lsun/awt/X11/XAtom;
2 68 2 resourceString Ljava/lang/String;
3 68 3 index I
4 68 4 len I
10 68 5 paletteFile Ljava/lang/String;
11 68 6 paletteFilePath Ljava/lang/String;
12 68 7 pFile Ljava/io/File;
18 68 8 bfr Ljava/io/BufferedReader;
19 68 9 colors [I
24 28 10 r I
40 68 10 r I
25 28 11 g I
41 68 11 g I
26 28 12 b I
42 68 12 b I
22 28 13 temp Ljava/lang/String;
23 28 14 color Ljava/lang/String;
20 29 15 i I
43 68 15 activeFore I
47 68 16 inactiveFore I
53 68 17 textFore I
48 68 18 top_shadow I
49 68 19 bottom_shadow I
62 68 20 tmp Ljava/awt/Color;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
systemColors
static void loadMotifDefaultColors(int[]);
descriptor: ([I)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 // int[] systemColors
0: .line 501
aload 0 /* systemColors */
bipush 7
ldc -2105377
iastore
1: .line 502
aload 0 /* systemColors */
bipush 12
iconst_m1
iastore
2: .line 503
aload 0 /* systemColors */
bipush 9
ldc -16777216
iastore
3: .line 504
aload 0 /* systemColors */
bipush 11
ldc -16777216
iastore
4: .line 505
aload 0 /* systemColors */
iconst_2
ldc -16777216
iastore
5: .line 506
aload 0 /* systemColors */
iconst_5
ldc -16777216
iastore
6: .line 507
aload 0 /* systemColors */
bipush 13
ldc -16777216
iastore
7: .line 508
aload 0 /* systemColors */
bipush 14
ldc -16777216
iastore
8: .line 509
aload 0 /* systemColors */
bipush 15
ldc -3881788
iastore
9: .line 510
aload 0 /* systemColors */
bipush 18
ldc -16777216
iastore
10: .line 511
aload 0 /* systemColors */
bipush 8
ldc -3881788
iastore
11: .line 512
aload 0 /* systemColors */
bipush 10
ldc -3881788
iastore
12: .line 513
aload 0 /* systemColors */
bipush 23
ldc -3881788
iastore
13: .line 514
aload 0 /* systemColors */
bipush 17
ldc -2105377
iastore
14: .line 516
sipush 196
istore 1 /* r */
start local 1 // int r
15: .line 517
sipush 196
istore 2 /* g */
start local 2 // int g
16: .line 518
sipush 196
istore 3 /* b */
start local 3 // int b
17: .line 521
iload 1 /* r */
iload 2 /* g */
iload 3 /* b */
invokestatic sun.awt.X11.MotifColorUtilities.calculateTopShadowFromBackground:(III)I
istore 4 /* top_shadow */
start local 4 // int top_shadow
18: .line 522
iload 1 /* r */
iload 2 /* g */
iload 3 /* b */
invokestatic sun.awt.X11.MotifColorUtilities.calculateBottomShadowFromBackground:(III)I
istore 5 /* bottom_shadow */
start local 5 // int bottom_shadow
19: .line 524
new java.awt.Color
dup
iload 4 /* top_shadow */
invokespecial java.awt.Color.<init>:(I)V
astore 6 /* tmp */
start local 6 // java.awt.Color tmp
20: .line 525
aload 0 /* systemColors */
bipush 19
iload 4 /* top_shadow */
iastore
21: .line 526
aload 0 /* systemColors */
bipush 20
aload 6 /* tmp */
invokevirtual java.awt.Color.brighter:()Ljava/awt/Color;
invokevirtual java.awt.Color.getRGB:()I
iastore
22: .line 528
new java.awt.Color
dup
iload 5 /* bottom_shadow */
invokespecial java.awt.Color.<init>:(I)V
astore 6 /* tmp */
23: .line 529
aload 0 /* systemColors */
bipush 21
iload 5 /* bottom_shadow */
iastore
24: .line 530
aload 0 /* systemColors */
bipush 22
aload 6 /* tmp */
invokevirtual java.awt.Color.darker:()Ljava/awt/Color;
invokevirtual java.awt.Color.getRGB:()I
iastore
25: .line 532
return
end local 6 // java.awt.Color tmp
end local 5 // int bottom_shadow
end local 4 // int top_shadow
end local 3 // int b
end local 2 // int g
end local 1 // int r
end local 0 // int[] systemColors
LocalVariableTable:
Start End Slot Name Signature
0 26 0 systemColors [I
15 26 1 r I
16 26 2 g I
17 26 3 b I
18 26 4 top_shadow I
19 26 5 bottom_shadow I
20 26 6 tmp Ljava/awt/Color;
MethodParameters:
Name Flags
systemColors
static void loadSystemColors(int[]);
descriptor: ([I)V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 // int[] systemColors
0: .line 536
ldc "Linux"
new sun.security.action.GetPropertyAction
dup
ldc "os.name"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: .line 537
aload 0 /* systemColors */
invokestatic sun.awt.X11.MotifColorUtilities.loadMotifDefaultColors:([I)V
2: .line 538
goto 7
3: .line 542
StackMap locals:
StackMap stack:
aload 0 /* systemColors */
invokestatic sun.awt.X11.MotifColorUtilities.loadSystemColorsForCDE:([I)V
4: .line 543
goto 7
5: .line 544
StackMap locals:
StackMap stack: java.lang.Exception
pop
6: .line 546
aload 0 /* systemColors */
invokestatic sun.awt.X11.MotifColorUtilities.loadMotifDefaultColors:([I)V
7: .line 549
StackMap locals:
StackMap stack:
return
end local 0 // int[] systemColors
LocalVariableTable:
Start End Slot Name Signature
0 8 0 systemColors [I
Exception table:
from to target type
3 4 5 Class java.lang.Exception
MethodParameters:
Name Flags
systemColors
}
SourceFile: "MotifColorUtilities.java"