public class java.awt.Color implements java.awt.Paint, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.awt.Color
super_class: java.lang.Object
{
public static final java.awt.Color white;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color WHITE;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color lightGray;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color LIGHT_GRAY;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color gray;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color GRAY;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color darkGray;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color DARK_GRAY;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color black;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color BLACK;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color red;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color RED;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color pink;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color PINK;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color orange;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color ORANGE;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color yellow;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color YELLOW;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color green;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color GREEN;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color magenta;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color MAGENTA;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color cyan;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color CYAN;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color blue;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
public static final java.awt.Color BLUE;
descriptor: Ljava/awt/Color;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
int value;
descriptor: I
flags: (0x0000)
private float[] frgbvalue;
descriptor: [F
flags: (0x0002) ACC_PRIVATE
private float[] fvalue;
descriptor: [F
flags: (0x0002) ACC_PRIVATE
private float falpha;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private java.awt.color.ColorSpace cs;
descriptor: Ljava/awt/color/ColorSpace;
flags: (0x0002) ACC_PRIVATE
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 118526816881161077
private static final double FACTOR;
descriptor: D
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0.7
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=0, args_size=0
0: new java.awt.Color
dup
sipush 255
sipush 255
sipush 255
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.white:Ljava/awt/Color;
1: getstatic java.awt.Color.white:Ljava/awt/Color;
putstatic java.awt.Color.WHITE:Ljava/awt/Color;
2: new java.awt.Color
dup
sipush 192
sipush 192
sipush 192
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.lightGray:Ljava/awt/Color;
3: getstatic java.awt.Color.lightGray:Ljava/awt/Color;
putstatic java.awt.Color.LIGHT_GRAY:Ljava/awt/Color;
4: new java.awt.Color
dup
sipush 128
sipush 128
sipush 128
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.gray:Ljava/awt/Color;
5: getstatic java.awt.Color.gray:Ljava/awt/Color;
putstatic java.awt.Color.GRAY:Ljava/awt/Color;
6: new java.awt.Color
dup
bipush 64
bipush 64
bipush 64
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.darkGray:Ljava/awt/Color;
7: getstatic java.awt.Color.darkGray:Ljava/awt/Color;
putstatic java.awt.Color.DARK_GRAY:Ljava/awt/Color;
8: new java.awt.Color
dup
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.black:Ljava/awt/Color;
9: getstatic java.awt.Color.black:Ljava/awt/Color;
putstatic java.awt.Color.BLACK:Ljava/awt/Color;
10: new java.awt.Color
dup
sipush 255
iconst_0
iconst_0
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.red:Ljava/awt/Color;
11: getstatic java.awt.Color.red:Ljava/awt/Color;
putstatic java.awt.Color.RED:Ljava/awt/Color;
12: new java.awt.Color
dup
sipush 255
sipush 175
sipush 175
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.pink:Ljava/awt/Color;
13: getstatic java.awt.Color.pink:Ljava/awt/Color;
putstatic java.awt.Color.PINK:Ljava/awt/Color;
14: new java.awt.Color
dup
sipush 255
sipush 200
iconst_0
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.orange:Ljava/awt/Color;
15: getstatic java.awt.Color.orange:Ljava/awt/Color;
putstatic java.awt.Color.ORANGE:Ljava/awt/Color;
16: new java.awt.Color
dup
sipush 255
sipush 255
iconst_0
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.yellow:Ljava/awt/Color;
17: getstatic java.awt.Color.yellow:Ljava/awt/Color;
putstatic java.awt.Color.YELLOW:Ljava/awt/Color;
18: new java.awt.Color
dup
iconst_0
sipush 255
iconst_0
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.green:Ljava/awt/Color;
19: getstatic java.awt.Color.green:Ljava/awt/Color;
putstatic java.awt.Color.GREEN:Ljava/awt/Color;
20: new java.awt.Color
dup
sipush 255
iconst_0
sipush 255
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.magenta:Ljava/awt/Color;
21: getstatic java.awt.Color.magenta:Ljava/awt/Color;
putstatic java.awt.Color.MAGENTA:Ljava/awt/Color;
22: new java.awt.Color
dup
iconst_0
sipush 255
sipush 255
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.cyan:Ljava/awt/Color;
23: getstatic java.awt.Color.cyan:Ljava/awt/Color;
putstatic java.awt.Color.CYAN:Ljava/awt/Color;
24: new java.awt.Color
dup
iconst_0
iconst_0
sipush 255
invokespecial java.awt.Color.<init>:(III)V
putstatic java.awt.Color.blue:Ljava/awt/Color;
25: getstatic java.awt.Color.blue:Ljava/awt/Color;
putstatic java.awt.Color.BLUE:Ljava/awt/Color;
26: invokestatic java.awt.Toolkit.loadLibraries:()V
27: invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifne 29
28: invokestatic java.awt.Color.initIDs:()V
29: StackMap locals:
StackMap stack:
return
LocalVariableTable:
Start End Slot Name Signature
private static native void initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static void testColorValueRange(int, int, int, int);
descriptor: (IIII)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: ldc ""
astore 5
start local 5 2: iload 3
iflt 3
iload 3
sipush 255
if_icmple 5
3: StackMap locals: int java.lang.String
StackMap stack:
iconst_1
istore 4
4: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Alpha"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
5: StackMap locals:
StackMap stack:
iload 0
iflt 6
iload 0
sipush 255
if_icmple 8
6: StackMap locals:
StackMap stack:
iconst_1
istore 4
7: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Red"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
8: StackMap locals:
StackMap stack:
iload 1
iflt 9
iload 1
sipush 255
if_icmple 11
9: StackMap locals:
StackMap stack:
iconst_1
istore 4
10: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Green"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
11: StackMap locals:
StackMap stack:
iload 2
iflt 12
iload 2
sipush 255
if_icmple 14
12: StackMap locals:
StackMap stack:
iconst_1
istore 4
13: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Blue"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
14: StackMap locals:
StackMap stack:
iload 4
ifeq 18
15: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Color parameter outside of expected range:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: 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 19 0 r I
0 19 1 g I
0 19 2 b I
0 19 3 a I
1 19 4 rangeError Z
2 19 5 badComponentString Ljava/lang/String;
MethodParameters:
Name Flags
r
g
b
a
private static void testColorValueRange(float, float, float, float);
descriptor: (FFFF)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: ldc ""
astore 5
start local 5 2: fload 3
f2d
dconst_0
dcmpg
iflt 3
fload 3
f2d
dconst_1
dcmpl
ifle 5
3: StackMap locals: int java.lang.String
StackMap stack:
iconst_1
istore 4
4: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Alpha"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
5: StackMap locals:
StackMap stack:
fload 0
f2d
dconst_0
dcmpg
iflt 6
fload 0
f2d
dconst_1
dcmpl
ifle 8
6: StackMap locals:
StackMap stack:
iconst_1
istore 4
7: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Red"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
8: StackMap locals:
StackMap stack:
fload 1
f2d
dconst_0
dcmpg
iflt 9
fload 1
f2d
dconst_1
dcmpl
ifle 11
9: StackMap locals:
StackMap stack:
iconst_1
istore 4
10: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Green"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
11: StackMap locals:
StackMap stack:
fload 2
f2d
dconst_0
dcmpg
iflt 12
fload 2
f2d
dconst_1
dcmpl
ifle 14
12: StackMap locals:
StackMap stack:
iconst_1
istore 4
13: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " Blue"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
14: StackMap locals:
StackMap stack:
iload 4
ifeq 18
15: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Color parameter outside of expected range:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
16: aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
17: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: 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 19 0 r F
0 19 1 g F
0 19 2 b F
0 19 3 a F
1 19 4 rangeError Z
2 19 5 badComponentString Ljava/lang/String;
MethodParameters:
Name Flags
r
g
b
a
public void <init>(int, int, int);
descriptor: (III)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 1
iload 2
iload 3
sipush 255
invokespecial java.awt.Color.<init>:(IIII)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Color;
0 2 1 r I
0 2 2 g I
0 2 3 b I
MethodParameters:
Name Flags
r
g
b
public void <init>(int, int, int, int);
descriptor: (IIII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, 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
aconst_null
putfield java.awt.Color.frgbvalue:[F
2: aload 0
aconst_null
putfield java.awt.Color.fvalue:[F
3: aload 0
fconst_0
putfield java.awt.Color.falpha:F
4: aload 0
aconst_null
putfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
5: aload 0
iload 4
sipush 255
iand
bipush 24
ishl
6: iload 1
sipush 255
iand
bipush 16
ishl
ior
7: iload 2
sipush 255
iand
bipush 8
ishl
ior
8: iload 3
sipush 255
iand
iconst_0
ishl
ior
9: putfield java.awt.Color.value:I
10: iload 1
iload 2
iload 3
iload 4
invokestatic java.awt.Color.testColorValueRange:(IIII)V
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/awt/Color;
0 12 1 r I
0 12 2 g I
0 12 3 b I
0 12 4 a I
RuntimeVisibleAnnotations:
java.beans.ConstructorProperties(value = {"red", "green", "blue", "alpha"})
MethodParameters:
Name Flags
r
g
b
a
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield java.awt.Color.frgbvalue:[F
2: aload 0
aconst_null
putfield java.awt.Color.fvalue:[F
3: aload 0
fconst_0
putfield java.awt.Color.falpha:F
4: aload 0
aconst_null
putfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
5: aload 0
ldc -16777216
iload 1
ior
putfield java.awt.Color.value:I
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/awt/Color;
0 7 1 rgb I
MethodParameters:
Name Flags
rgb
public void <init>(int, boolean);
descriptor: (IZ)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield java.awt.Color.frgbvalue:[F
2: aload 0
aconst_null
putfield java.awt.Color.fvalue:[F
3: aload 0
fconst_0
putfield java.awt.Color.falpha:F
4: aload 0
aconst_null
putfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
5: iload 2
ifeq 8
6: aload 0
iload 1
putfield java.awt.Color.value:I
7: goto 9
8: StackMap locals: java.awt.Color int int
StackMap stack:
aload 0
ldc -16777216
iload 1
ior
putfield java.awt.Color.value:I
9: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/awt/Color;
0 10 1 rgba I
0 10 2 hasalpha Z
MethodParameters:
Name Flags
rgba
hasalpha
public void <init>(float, float, float);
descriptor: (FFF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
fload 1
ldc 255.0
fmul
f2d
ldc 0.5
dadd
d2i
fload 2
ldc 255.0
fmul
f2d
ldc 0.5
dadd
d2i
fload 3
ldc 255.0
fmul
f2d
ldc 0.5
dadd
d2i
invokespecial java.awt.Color.<init>:(III)V
1: fload 1
fload 2
fload 3
fconst_1
invokestatic java.awt.Color.testColorValueRange:(FFFF)V
2: aload 0
iconst_3
newarray 6
putfield java.awt.Color.frgbvalue:[F
3: aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_0
fload 1
fastore
4: aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_1
fload 2
fastore
5: aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_2
fload 3
fastore
6: aload 0
fconst_1
putfield java.awt.Color.falpha:F
7: aload 0
aload 0
getfield java.awt.Color.frgbvalue:[F
putfield java.awt.Color.fvalue:[F
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/awt/Color;
0 9 1 r F
0 9 2 g F
0 9 3 b F
MethodParameters:
Name Flags
r
g
b
public void <init>(float, float, float, float);
descriptor: (FFFF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
fload 1
ldc 255.0
fmul
f2d
ldc 0.5
dadd
d2i
fload 2
ldc 255.0
fmul
f2d
ldc 0.5
dadd
d2i
fload 3
ldc 255.0
fmul
f2d
ldc 0.5
dadd
d2i
fload 4
ldc 255.0
fmul
f2d
ldc 0.5
dadd
d2i
invokespecial java.awt.Color.<init>:(IIII)V
1: aload 0
iconst_3
newarray 6
putfield java.awt.Color.frgbvalue:[F
2: aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_0
fload 1
fastore
3: aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_1
fload 2
fastore
4: aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_2
fload 3
fastore
5: aload 0
fload 4
putfield java.awt.Color.falpha:F
6: aload 0
aload 0
getfield java.awt.Color.frgbvalue:[F
putfield java.awt.Color.fvalue:[F
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/awt/Color;
0 8 1 r F
0 8 2 g F
0 8 3 b F
0 8 4 a F
MethodParameters:
Name Flags
r
g
b
a
public void <init>(java.awt.color.ColorSpace, float[], float);
descriptor: (Ljava/awt/color/ColorSpace;[FF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield java.awt.Color.frgbvalue:[F
2: aload 0
aconst_null
putfield java.awt.Color.fvalue:[F
3: aload 0
fconst_0
putfield java.awt.Color.falpha:F
4: aload 0
aconst_null
putfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
5: iconst_0
istore 4
start local 4 6: ldc ""
astore 5
start local 5 7: aload 1
invokevirtual java.awt.color.ColorSpace.getNumComponents:()I
istore 6
start local 6 8: aload 0
iload 6
newarray 6
putfield java.awt.Color.fvalue:[F
9: iconst_0
istore 7
start local 7 10: goto 19
11: StackMap locals: java.awt.Color java.awt.color.ColorSpace float[] float int java.lang.String int int
StackMap stack:
aload 2
iload 7
faload
f2d
dconst_0
dcmpg
iflt 12
aload 2
iload 7
faload
f2d
dconst_1
dcmpl
ifle 17
12: StackMap locals:
StackMap stack:
iconst_1
istore 4
13: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Component "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iload 7
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
14: ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
16: goto 18
17: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.Color.fvalue:[F
iload 7
aload 2
iload 7
faload
fastore
18: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
19: iload 7
iload 6
if_icmplt 11
end local 7 20: fload 3
f2d
dconst_0
dcmpg
iflt 21
fload 3
f2d
dconst_1
dcmpl
ifle 24
21: StackMap locals:
StackMap stack:
iconst_1
istore 4
22: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "Alpha"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
23: goto 25
24: StackMap locals:
StackMap stack:
aload 0
fload 3
putfield java.awt.Color.falpha:F
25: StackMap locals:
StackMap stack:
iload 4
ifeq 31
26: new java.lang.IllegalArgumentException
dup
27: new java.lang.StringBuilder
dup
ldc "Color parameter outside of expected range: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
28: aload 5
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
29: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
30: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
31: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 0
getfield java.awt.Color.fvalue:[F
invokevirtual java.awt.color.ColorSpace.toRGB:([F)[F
putfield java.awt.Color.frgbvalue:[F
32: aload 0
aload 1
putfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
33: aload 0
aload 0
getfield java.awt.Color.falpha:F
ldc 255.0
fmul
f2i
sipush 255
iand
bipush 24
ishl
34: aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_0
faload
ldc 255.0
fmul
f2i
sipush 255
iand
bipush 16
ishl
ior
35: aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_1
faload
ldc 255.0
fmul
f2i
sipush 255
iand
bipush 8
ishl
ior
36: aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_2
faload
ldc 255.0
fmul
f2i
sipush 255
iand
iconst_0
ishl
ior
37: putfield java.awt.Color.value:I
38: return
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 39 0 this Ljava/awt/Color;
0 39 1 cspace Ljava/awt/color/ColorSpace;
0 39 2 components [F
0 39 3 alpha F
6 39 4 rangeError Z
7 39 5 badComponentString Ljava/lang/String;
8 39 6 n I
10 20 7 i I
MethodParameters:
Name Flags
cspace
components
alpha
public int getRed();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Color.getRGB:()I
bipush 16
ishr
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Color;
public int getGreen();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Color.getRGB:()I
bipush 8
ishr
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Color;
public int getBlue();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Color.getRGB:()I
iconst_0
ishr
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Color;
public int getAlpha();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Color.getRGB:()I
bipush 24
ishr
sipush 255
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Color;
public int getRGB();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.Color.value:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Color;
public java.awt.Color brighter();
descriptor: ()Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Color.getRed:()I
istore 1
start local 1 1: aload 0
invokevirtual java.awt.Color.getGreen:()I
istore 2
start local 2 2: aload 0
invokevirtual java.awt.Color.getBlue:()I
istore 3
start local 3 3: aload 0
invokevirtual java.awt.Color.getAlpha:()I
istore 4
start local 4 4: iconst_3
istore 5
start local 5 5: iload 1
ifne 7
iload 2
ifne 7
iload 3
ifne 7
6: new java.awt.Color
dup
iload 5
iload 5
iload 5
iload 4
invokespecial java.awt.Color.<init>:(IIII)V
areturn
7: StackMap locals: java.awt.Color int int int int int
StackMap stack:
iload 1
ifle 8
iload 1
iload 5
if_icmpge 8
iload 5
istore 1
8: StackMap locals:
StackMap stack:
iload 2
ifle 9
iload 2
iload 5
if_icmpge 9
iload 5
istore 2
9: StackMap locals:
StackMap stack:
iload 3
ifle 10
iload 3
iload 5
if_icmpge 10
iload 5
istore 3
10: StackMap locals:
StackMap stack:
new java.awt.Color
dup
iload 1
i2d
ldc 0.7
ddiv
d2i
sipush 255
invokestatic java.lang.Math.min:(II)I
11: iload 2
i2d
ldc 0.7
ddiv
d2i
sipush 255
invokestatic java.lang.Math.min:(II)I
12: iload 3
i2d
ldc 0.7
ddiv
d2i
sipush 255
invokestatic java.lang.Math.min:(II)I
13: iload 4
14: invokespecial java.awt.Color.<init>:(IIII)V
areturn
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 15 0 this Ljava/awt/Color;
1 15 1 r I
2 15 2 g I
3 15 3 b I
4 15 4 alpha I
5 15 5 i I
public java.awt.Color darker();
descriptor: ()Ljava/awt/Color;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=1, args_size=1
start local 0 0: new java.awt.Color
dup
aload 0
invokevirtual java.awt.Color.getRed:()I
i2d
ldc 0.7
dmul
d2i
iconst_0
invokestatic java.lang.Math.max:(II)I
1: aload 0
invokevirtual java.awt.Color.getGreen:()I
i2d
ldc 0.7
dmul
d2i
iconst_0
invokestatic java.lang.Math.max:(II)I
2: aload 0
invokevirtual java.awt.Color.getBlue:()I
i2d
ldc 0.7
dmul
d2i
iconst_0
invokestatic java.lang.Math.max:(II)I
3: aload 0
invokevirtual java.awt.Color.getAlpha:()I
4: invokespecial java.awt.Color.<init>:(IIII)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/awt/Color;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.Color.value:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Color;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.awt.Color
ifeq 1
aload 1
checkcast java.awt.Color
invokevirtual java.awt.Color.getRGB:()I
aload 0
invokevirtual java.awt.Color.getRGB:()I
if_icmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/awt/Color;
0 2 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "[r="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.awt.Color.getRed:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",g="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.awt.Color.getGreen:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc ",b="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual java.awt.Color.getBlue:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/awt/Color;
public static java.awt.Color decode(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/awt/Color;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
invokestatic java.lang.Integer.decode:(Ljava/lang/String;)Ljava/lang/Integer;
astore 1
start local 1 1: aload 1
invokevirtual java.lang.Integer.intValue:()I
istore 2
start local 2 2: new java.awt.Color
dup
iload 2
bipush 16
ishr
sipush 255
iand
iload 2
bipush 8
ishr
sipush 255
iand
iload 2
sipush 255
iand
invokespecial java.awt.Color.<init>:(III)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 nm Ljava/lang/String;
1 3 1 intval Ljava/lang/Integer;
2 3 2 i I
Exceptions:
throws java.lang.NumberFormatException
MethodParameters:
Name Flags
nm
public static java.awt.Color getColor(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/awt/Color;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic java.awt.Color.getColor:(Ljava/lang/String;Ljava/awt/Color;)Ljava/awt/Color;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 nm Ljava/lang/String;
MethodParameters:
Name Flags
nm
public static java.awt.Color getColor(java.lang.String, java.awt.Color);
descriptor: (Ljava/lang/String;Ljava/awt/Color;)Ljava/awt/Color;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;)Ljava/lang/Integer;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aload 1
areturn
3: StackMap locals: java.lang.Integer
StackMap stack:
aload 2
invokevirtual java.lang.Integer.intValue:()I
istore 3
start local 3 4: new java.awt.Color
dup
iload 3
bipush 16
ishr
sipush 255
iand
iload 3
bipush 8
ishr
sipush 255
iand
iload 3
sipush 255
iand
invokespecial java.awt.Color.<init>:(III)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 nm Ljava/lang/String;
0 5 1 v Ljava/awt/Color;
1 5 2 intval Ljava/lang/Integer;
4 5 3 i I
MethodParameters:
Name Flags
nm
v
public static java.awt.Color getColor(java.lang.String, int);
descriptor: (Ljava/lang/String;I)Ljava/awt/Color;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;)Ljava/lang/Integer;
astore 2
start local 2 1: aload 2
ifnull 2
aload 2
invokevirtual java.lang.Integer.intValue:()I
goto 3
StackMap locals: java.lang.Integer
StackMap stack:
2: iload 1
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: new java.awt.Color
dup
iload 3
bipush 16
ishr
sipush 255
iand
iload 3
bipush 8
ishr
sipush 255
iand
iload 3
iconst_0
ishr
sipush 255
iand
invokespecial java.awt.Color.<init>:(III)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 nm Ljava/lang/String;
0 5 1 v I
1 5 2 intval Ljava/lang/Integer;
4 5 3 i I
MethodParameters:
Name Flags
nm
v
public static int HSBtoRGB(float, float, float);
descriptor: (FFF)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=11, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: iconst_0
istore 4
start local 4 2: iconst_0
istore 5
start local 5 3: fload 1
fconst_0
fcmpl
ifne 6
4: fload 2
ldc 255.0
fmul
ldc 0.5
fadd
f2i
dup
istore 5
dup
istore 4
istore 3
5: goto 35
6: StackMap locals: int int int
StackMap stack:
fload 0
fload 0
f2d
invokestatic java.lang.Math.floor:(D)D
d2f
fsub
ldc 6.0
fmul
fstore 6
start local 6 7: fload 6
fload 6
f2d
invokestatic java.lang.Math.floor:(D)D
d2f
fsub
fstore 7
start local 7 8: fload 2
fconst_1
fload 1
fsub
fmul
fstore 8
start local 8 9: fload 2
fconst_1
fload 1
fload 7
fmul
fsub
fmul
fstore 9
start local 9 10: fload 2
fconst_1
fload 1
fconst_1
fload 7
fsub
fmul
fsub
fmul
fstore 10
start local 10 11: fload 6
f2i
tableswitch { // 0 - 5
0: 12
1: 16
2: 20
3: 24
4: 28
5: 32
default: 35
}
12: StackMap locals: float float float int int int float float float float float
StackMap stack:
fload 2
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 3
13: fload 10
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 4
14: fload 8
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 5
15: goto 35
16: StackMap locals:
StackMap stack:
fload 9
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 3
17: fload 2
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 4
18: fload 8
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 5
19: goto 35
20: StackMap locals:
StackMap stack:
fload 8
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 3
21: fload 2
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 4
22: fload 10
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 5
23: goto 35
24: StackMap locals:
StackMap stack:
fload 8
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 3
25: fload 9
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 4
26: fload 2
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 5
27: goto 35
28: StackMap locals:
StackMap stack:
fload 10
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 3
29: fload 8
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 4
30: fload 2
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 5
31: goto 35
32: StackMap locals:
StackMap stack:
fload 2
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 3
33: fload 8
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 4
34: fload 9
ldc 255.0
fmul
ldc 0.5
fadd
f2i
istore 5
end local 10 end local 9 end local 8 end local 7 end local 6 35: StackMap locals: float float float int int int
StackMap stack:
ldc -16777216
iload 3
bipush 16
ishl
ior
iload 4
bipush 8
ishl
ior
iload 5
iconst_0
ishl
ior
ireturn
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 36 0 hue F
0 36 1 saturation F
0 36 2 brightness F
1 36 3 r I
2 36 4 g I
3 36 5 b I
7 35 6 h F
8 35 7 f F
9 35 8 p F
10 35 9 q F
11 35 10 t F
MethodParameters:
Name Flags
hue
saturation
brightness
public static float[] RGBtoHSB(int, int, int, float[]);
descriptor: (III[F)[F
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 2
1: iconst_3
newarray 6
astore 3
2: StackMap locals:
StackMap stack:
iload 0
iload 1
if_icmple 3
iload 0
goto 4
StackMap locals:
StackMap stack:
3: iload 1
StackMap locals:
StackMap stack: int
4: istore 7
start local 7 5: iload 2
iload 7
if_icmple 6
iload 2
istore 7
6: StackMap locals: int int int float[] top top top int
StackMap stack:
iload 0
iload 1
if_icmpge 7
iload 0
goto 8
StackMap locals:
StackMap stack:
7: iload 1
StackMap locals:
StackMap stack: int
8: istore 8
start local 8 9: iload 2
iload 8
if_icmpge 10
iload 2
istore 8
10: StackMap locals: int
StackMap stack:
iload 7
i2f
ldc 255.0
fdiv
fstore 6
start local 6 11: iload 7
ifeq 14
12: iload 7
iload 8
isub
i2f
iload 7
i2f
fdiv
fstore 5
start local 5 13: goto 15
end local 5 14: StackMap locals: int int int float[] top top float int int
StackMap stack:
fconst_0
fstore 5
start local 5 15: StackMap locals: int int int float[] top float float int int
StackMap stack:
fload 5
fconst_0
fcmpl
ifne 18
16: fconst_0
fstore 4
start local 4 17: goto 31
end local 4 18: StackMap locals:
StackMap stack:
iload 7
iload 0
isub
i2f
iload 7
iload 8
isub
i2f
fdiv
fstore 9
start local 9 19: iload 7
iload 1
isub
i2f
iload 7
iload 8
isub
i2f
fdiv
fstore 10
start local 10 20: iload 7
iload 2
isub
i2f
iload 7
iload 8
isub
i2f
fdiv
fstore 11
start local 11 21: iload 0
iload 7
if_icmpne 24
22: fload 11
fload 10
fsub
fstore 4
start local 4 23: goto 28
end local 4 24: StackMap locals: float float float
StackMap stack:
iload 1
iload 7
if_icmpne 27
25: fconst_2
fload 9
fadd
fload 11
fsub
fstore 4
start local 4 26: goto 28
end local 4 27: StackMap locals:
StackMap stack:
ldc 4.0
fload 10
fadd
fload 9
fsub
fstore 4
start local 4 28: StackMap locals: int int int float[] float float float int int float float float
StackMap stack:
fload 4
ldc 6.0
fdiv
fstore 4
29: fload 4
fconst_0
fcmpg
ifge 31
30: fload 4
fconst_1
fadd
fstore 4
end local 11 end local 10 end local 9 31: StackMap locals:
StackMap stack:
aload 3
iconst_0
fload 4
fastore
32: aload 3
iconst_1
fload 5
fastore
33: aload 3
iconst_2
fload 6
fastore
34: aload 3
areturn
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 35 0 r I
0 35 1 g I
0 35 2 b I
0 35 3 hsbvals [F
17 18 4 hue F
23 24 4 hue F
26 27 4 hue F
28 35 4 hue F
13 14 5 saturation F
15 35 5 saturation F
11 35 6 brightness F
5 35 7 cmax I
9 35 8 cmin I
19 31 9 redc F
20 31 10 greenc F
21 31 11 bluec F
MethodParameters:
Name Flags
r
g
b
hsbvals
public static java.awt.Color getHSBColor(float, float, float);
descriptor: (FFF)Ljava/awt/Color;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.awt.Color
dup
fload 0
fload 1
fload 2
invokestatic java.awt.Color.HSBtoRGB:(FFF)I
invokespecial java.awt.Color.<init>:(I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 h F
0 1 1 s F
0 1 2 b F
MethodParameters:
Name Flags
h
s
b
public float[] getRGBComponents(float[]);
descriptor: ([F)[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: iconst_4
newarray 6
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 4: StackMap locals: float[]
StackMap stack:
aload 0
getfield java.awt.Color.frgbvalue:[F
ifnonnull 10
5: aload 2
iconst_0
aload 0
invokevirtual java.awt.Color.getRed:()I
i2f
ldc 255.0
fdiv
fastore
6: aload 2
iconst_1
aload 0
invokevirtual java.awt.Color.getGreen:()I
i2f
ldc 255.0
fdiv
fastore
7: aload 2
iconst_2
aload 0
invokevirtual java.awt.Color.getBlue:()I
i2f
ldc 255.0
fdiv
fastore
8: aload 2
iconst_3
aload 0
invokevirtual java.awt.Color.getAlpha:()I
i2f
ldc 255.0
fdiv
fastore
9: goto 14
10: StackMap locals:
StackMap stack:
aload 2
iconst_0
aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_0
faload
fastore
11: aload 2
iconst_1
aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_1
faload
fastore
12: aload 2
iconst_2
aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_2
faload
fastore
13: aload 2
iconst_3
aload 0
getfield java.awt.Color.falpha:F
fastore
14: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/awt/Color;
0 15 1 compArray [F
2 3 2 f [F
4 15 2 f [F
MethodParameters:
Name Flags
compArray
public float[] getRGBColorComponents(float[]);
descriptor: ([F)[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: iconst_3
newarray 6
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
aload 1
astore 2
start local 2 4: StackMap locals: float[]
StackMap stack:
aload 0
getfield java.awt.Color.frgbvalue:[F
ifnonnull 9
5: aload 2
iconst_0
aload 0
invokevirtual java.awt.Color.getRed:()I
i2f
ldc 255.0
fdiv
fastore
6: aload 2
iconst_1
aload 0
invokevirtual java.awt.Color.getGreen:()I
i2f
ldc 255.0
fdiv
fastore
7: aload 2
iconst_2
aload 0
invokevirtual java.awt.Color.getBlue:()I
i2f
ldc 255.0
fdiv
fastore
8: goto 12
9: StackMap locals:
StackMap stack:
aload 2
iconst_0
aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_0
faload
fastore
10: aload 2
iconst_1
aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_1
faload
fastore
11: aload 2
iconst_2
aload 0
getfield java.awt.Color.frgbvalue:[F
iconst_2
faload
fastore
12: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/awt/Color;
0 13 1 compArray [F
2 3 2 f [F
4 13 2 f [F
MethodParameters:
Name Flags
compArray
public float[] getComponents(float[]);
descriptor: ([F)[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.Color.fvalue:[F
ifnonnull 2
1: aload 0
aload 1
invokevirtual java.awt.Color.getRGBComponents:([F)[F
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.Color.fvalue:[F
arraylength
istore 3
start local 3 3: aload 1
ifnonnull 6
4: iload 3
iconst_1
iadd
newarray 6
astore 2
start local 2 5: goto 7
end local 2 6: StackMap locals: java.awt.Color float[] top int
StackMap stack:
aload 1
astore 2
start local 2 7: StackMap locals: java.awt.Color float[] float[] int
StackMap stack:
iconst_0
istore 4
start local 4 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 2
iload 4
aload 0
getfield java.awt.Color.fvalue:[F
iload 4
faload
fastore
10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 3
if_icmplt 9
end local 4 12: aload 2
iload 3
aload 0
getfield java.awt.Color.falpha:F
fastore
13: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/awt/Color;
0 14 1 compArray [F
5 6 2 f [F
7 14 2 f [F
3 14 3 n I
8 12 4 i I
MethodParameters:
Name Flags
compArray
public float[] getColorComponents(float[]);
descriptor: ([F)[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield java.awt.Color.fvalue:[F
ifnonnull 2
1: aload 0
aload 1
invokevirtual java.awt.Color.getRGBColorComponents:([F)[F
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.Color.fvalue:[F
arraylength
istore 3
start local 3 3: aload 1
ifnonnull 6
4: iload 3
newarray 6
astore 2
start local 2 5: goto 7
end local 2 6: StackMap locals: java.awt.Color float[] top int
StackMap stack:
aload 1
astore 2
start local 2 7: StackMap locals: java.awt.Color float[] float[] int
StackMap stack:
iconst_0
istore 4
start local 4 8: goto 11
9: StackMap locals: int
StackMap stack:
aload 2
iload 4
aload 0
getfield java.awt.Color.fvalue:[F
iload 4
faload
fastore
10: iinc 4 1
StackMap locals:
StackMap stack:
11: iload 4
iload 3
if_icmplt 9
end local 4 12: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/awt/Color;
0 13 1 compArray [F
5 6 2 f [F
7 13 2 f [F
3 13 3 n I
8 12 4 i I
MethodParameters:
Name Flags
compArray
public float[] getComponents(java.awt.color.ColorSpace, float[]);
descriptor: (Ljava/awt/color/ColorSpace;[F)[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
ifnonnull 2
1: aload 0
sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
putfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.Color.fvalue:[F
ifnonnull 8
3: iconst_3
newarray 6
astore 3
start local 3 4: aload 3
iconst_0
aload 0
invokevirtual java.awt.Color.getRed:()I
i2f
ldc 255.0
fdiv
fastore
5: aload 3
iconst_1
aload 0
invokevirtual java.awt.Color.getGreen:()I
i2f
ldc 255.0
fdiv
fastore
6: aload 3
iconst_2
aload 0
invokevirtual java.awt.Color.getBlue:()I
i2f
ldc 255.0
fdiv
fastore
7: goto 9
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.Color.fvalue:[F
astore 3
start local 3 9: StackMap locals: float[]
StackMap stack:
aload 0
getfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
aload 3
invokevirtual java.awt.color.ColorSpace.toCIEXYZ:([F)[F
astore 4
start local 4 10: aload 1
aload 4
invokevirtual java.awt.color.ColorSpace.fromCIEXYZ:([F)[F
astore 5
start local 5 11: aload 2
ifnonnull 13
12: aload 5
arraylength
iconst_1
iadd
newarray 6
astore 2
13: StackMap locals: float[] float[]
StackMap stack:
iconst_0
istore 6
start local 6 14: goto 17
15: StackMap locals: int
StackMap stack:
aload 2
iload 6
aload 5
iload 6
faload
fastore
16: iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 5
arraylength
if_icmplt 15
end local 6 18: aload 0
getfield java.awt.Color.fvalue:[F
ifnonnull 21
19: aload 2
aload 5
arraylength
aload 0
invokevirtual java.awt.Color.getAlpha:()I
i2f
ldc 255.0
fdiv
fastore
20: goto 22
21: StackMap locals:
StackMap stack:
aload 2
aload 5
arraylength
aload 0
getfield java.awt.Color.falpha:F
fastore
22: StackMap locals:
StackMap stack:
aload 2
areturn
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 Ljava/awt/Color;
0 23 1 cspace Ljava/awt/color/ColorSpace;
0 23 2 compArray [F
4 8 3 f [F
9 23 3 f [F
10 23 4 tmp [F
11 23 5 tmpout [F
14 18 6 i I
MethodParameters:
Name Flags
cspace
compArray
public float[] getColorComponents(java.awt.color.ColorSpace, float[]);
descriptor: (Ljava/awt/color/ColorSpace;[F)[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
ifnonnull 2
1: aload 0
sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
putfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.Color.fvalue:[F
ifnonnull 8
3: iconst_3
newarray 6
astore 3
start local 3 4: aload 3
iconst_0
aload 0
invokevirtual java.awt.Color.getRed:()I
i2f
ldc 255.0
fdiv
fastore
5: aload 3
iconst_1
aload 0
invokevirtual java.awt.Color.getGreen:()I
i2f
ldc 255.0
fdiv
fastore
6: aload 3
iconst_2
aload 0
invokevirtual java.awt.Color.getBlue:()I
i2f
ldc 255.0
fdiv
fastore
7: goto 9
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.Color.fvalue:[F
astore 3
start local 3 9: StackMap locals: float[]
StackMap stack:
aload 0
getfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
aload 3
invokevirtual java.awt.color.ColorSpace.toCIEXYZ:([F)[F
astore 4
start local 4 10: aload 1
aload 4
invokevirtual java.awt.color.ColorSpace.fromCIEXYZ:([F)[F
astore 5
start local 5 11: aload 2
ifnonnull 13
12: aload 5
areturn
13: StackMap locals: float[] float[]
StackMap stack:
iconst_0
istore 6
start local 6 14: goto 17
15: StackMap locals: int
StackMap stack:
aload 2
iload 6
aload 5
iload 6
faload
fastore
16: iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 5
arraylength
if_icmplt 15
end local 6 18: aload 2
areturn
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 19 0 this Ljava/awt/Color;
0 19 1 cspace Ljava/awt/color/ColorSpace;
0 19 2 compArray [F
4 8 3 f [F
9 19 3 f [F
10 19 4 tmp [F
11 19 5 tmpout [F
14 18 6 i I
MethodParameters:
Name Flags
cspace
compArray
public java.awt.color.ColorSpace getColorSpace();
descriptor: ()Ljava/awt/color/ColorSpace;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
ifnonnull 2
1: aload 0
sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
putfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
2: StackMap locals:
StackMap stack:
aload 0
getfield java.awt.Color.cs:Ljava/awt/color/ColorSpace;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/awt/Color;
public synchronized java.awt.PaintContext createContext(java.awt.image.ColorModel, java.awt.Rectangle, java.awt.geom.Rectangle2D, java.awt.geom.AffineTransform, java.awt.RenderingHints);
descriptor: (Ljava/awt/image/ColorModel;Ljava/awt/Rectangle;Ljava/awt/geom/Rectangle2D;Ljava/awt/geom/AffineTransform;Ljava/awt/RenderingHints;)Ljava/awt/PaintContext;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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: new java.awt.ColorPaintContext
dup
aload 0
invokevirtual java.awt.Color.getRGB:()I
aload 1
invokespecial java.awt.ColorPaintContext.<init>:(ILjava/awt/image/ColorModel;)V
areturn
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 1 0 this Ljava/awt/Color;
0 1 1 cm Ljava/awt/image/ColorModel;
0 1 2 r Ljava/awt/Rectangle;
0 1 3 r2d Ljava/awt/geom/Rectangle2D;
0 1 4 xform Ljava/awt/geom/AffineTransform;
0 1 5 hints Ljava/awt/RenderingHints;
MethodParameters:
Name Flags
cm
r
r2d
xform
hints
public int getTransparency();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.awt.Color.getAlpha:()I
istore 1
start local 1 1: iload 1
sipush 255
if_icmpne 3
2: iconst_1
ireturn
3: StackMap locals: int
StackMap stack:
iload 1
ifne 5
4: iconst_2
ireturn
5: StackMap locals:
StackMap stack:
iconst_3
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/awt/Color;
1 6 1 alpha I
}
SourceFile: "Color.java"