final class javax.swing.colorchooser.ColorModelCMYK extends javax.swing.colorchooser.ColorModel
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.swing.colorchooser.ColorModelCMYK
super_class: javax.swing.colorchooser.ColorModel
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=1, args_size=1
start local 0 // javax.swing.colorchooser.ColorModelCMYK this
0: .line 31
aload 0 /* this */
ldc "cmyk"
iconst_5
anewarray java.lang.String
dup
iconst_0
ldc "Cyan"
aastore
dup
iconst_1
ldc "Magenta"
aastore
dup
iconst_2
ldc "Yellow"
aastore
dup
iconst_3
ldc "Black"
aastore
dup
iconst_4
ldc "Alpha"
aastore
invokespecial javax.swing.colorchooser.ColorModel.<init>:(Ljava/lang/String;[Ljava/lang/String;)V
1: .line 32
return
end local 0 // javax.swing.colorchooser.ColorModelCMYK this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/swing/colorchooser/ColorModelCMYK;
void setColor(int, float[]);
descriptor: (I[F)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=3
start local 0 // javax.swing.colorchooser.ColorModelCMYK this
start local 1 // int color
start local 2 // float[] space
0: .line 36
aload 0 /* this */
iload 1 /* color */
aload 2 /* space */
invokespecial javax.swing.colorchooser.ColorModel.setColor:(I[F)V
1: .line 37
aload 2 /* space */
iconst_4
aload 2 /* space */
iconst_3
faload
fastore
2: .line 38
aload 2 /* space */
aload 2 /* space */
invokestatic javax.swing.colorchooser.ColorModelCMYK.RGBtoCMYK:([F[F)[F
pop
3: .line 39
return
end local 2 // float[] space
end local 1 // int color
end local 0 // javax.swing.colorchooser.ColorModelCMYK this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/swing/colorchooser/ColorModelCMYK;
0 4 1 color I
0 4 2 space [F
MethodParameters:
Name Flags
color
space
int getColor(float[]);
descriptor: ([F)I
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 // javax.swing.colorchooser.ColorModelCMYK this
start local 1 // float[] space
0: .line 43
aload 1 /* space */
aload 1 /* space */
invokestatic javax.swing.colorchooser.ColorModelCMYK.CMYKtoRGB:([F[F)[F
pop
1: .line 44
aload 1 /* space */
iconst_3
aload 1 /* space */
iconst_4
faload
fastore
2: .line 45
aload 0 /* this */
aload 1 /* space */
invokespecial javax.swing.colorchooser.ColorModel.getColor:([F)I
ireturn
end local 1 // float[] space
end local 0 // javax.swing.colorchooser.ColorModelCMYK this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/swing/colorchooser/ColorModelCMYK;
0 3 1 space [F
MethodParameters:
Name Flags
space
private static float[] CMYKtoRGB(float[], float[]);
descriptor: ([F[F)[F
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=2, args_size=2
start local 0 // float[] cmyk
start local 1 // float[] rgb
0: .line 58
aload 1 /* rgb */
ifnonnull 2
1: .line 59
iconst_3
newarray 6
astore 1 /* rgb */
2: .line 61
StackMap locals:
StackMap stack:
aload 1 /* rgb */
iconst_0
fconst_1
aload 0 /* cmyk */
iconst_0
faload
aload 0 /* cmyk */
iconst_3
faload
fmul
fadd
aload 0 /* cmyk */
iconst_3
faload
fsub
aload 0 /* cmyk */
iconst_0
faload
fsub
fastore
3: .line 62
aload 1 /* rgb */
iconst_1
fconst_1
aload 0 /* cmyk */
iconst_1
faload
aload 0 /* cmyk */
iconst_3
faload
fmul
fadd
aload 0 /* cmyk */
iconst_3
faload
fsub
aload 0 /* cmyk */
iconst_1
faload
fsub
fastore
4: .line 63
aload 1 /* rgb */
iconst_2
fconst_1
aload 0 /* cmyk */
iconst_2
faload
aload 0 /* cmyk */
iconst_3
faload
fmul
fadd
aload 0 /* cmyk */
iconst_3
faload
fsub
aload 0 /* cmyk */
iconst_2
faload
fsub
fastore
5: .line 64
aload 1 /* rgb */
areturn
end local 1 // float[] rgb
end local 0 // float[] cmyk
LocalVariableTable:
Start End Slot Name Signature
0 6 0 cmyk [F
0 6 1 rgb [F
MethodParameters:
Name Flags
cmyk
rgb
private static float[] RGBtoCMYK(float[], float[]);
descriptor: ([F[F)[F
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 // float[] rgb
start local 1 // float[] cmyk
0: .line 77
aload 1 /* cmyk */
ifnonnull 2
1: .line 78
iconst_4
newarray 6
astore 1 /* cmyk */
2: .line 80
StackMap locals:
StackMap stack:
aload 0 /* rgb */
iconst_0
faload
aload 0 /* rgb */
iconst_1
faload
aload 0 /* rgb */
iconst_2
faload
invokestatic javax.swing.colorchooser.ColorModelHSL.max:(FFF)F
fstore 2 /* max */
start local 2 // float max
3: .line 81
fload 2 /* max */
fconst_0
fcmpl
ifle 8
4: .line 82
aload 1 /* cmyk */
iconst_0
fconst_1
aload 0 /* rgb */
iconst_0
faload
fload 2 /* max */
fdiv
fsub
fastore
5: .line 83
aload 1 /* cmyk */
iconst_1
fconst_1
aload 0 /* rgb */
iconst_1
faload
fload 2 /* max */
fdiv
fsub
fastore
6: .line 84
aload 1 /* cmyk */
iconst_2
fconst_1
aload 0 /* rgb */
iconst_2
faload
fload 2 /* max */
fdiv
fsub
fastore
7: .line 85
goto 11
8: .line 87
StackMap locals: float
StackMap stack:
aload 1 /* cmyk */
iconst_0
fconst_0
fastore
9: .line 88
aload 1 /* cmyk */
iconst_1
fconst_0
fastore
10: .line 89
aload 1 /* cmyk */
iconst_2
fconst_0
fastore
11: .line 91
StackMap locals:
StackMap stack:
aload 1 /* cmyk */
iconst_3
fconst_1
fload 2 /* max */
fsub
fastore
12: .line 92
aload 1 /* cmyk */
areturn
end local 2 // float max
end local 1 // float[] cmyk
end local 0 // float[] rgb
LocalVariableTable:
Start End Slot Name Signature
0 13 0 rgb [F
0 13 1 cmyk [F
3 13 2 max F
MethodParameters:
Name Flags
rgb
cmyk
}
SourceFile: "ColorModelCMYK.java"