public class com.sun.imageio.plugins.common.BogusColorSpace extends java.awt.color.ColorSpace
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.common.BogusColorSpace
super_class: java.awt.color.ColorSpace
{
private static int getType(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iload 0
iconst_1
if_icmpge 2
1: new java.lang.IllegalArgumentException
dup
ldc "numComponents < 1!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 0
tableswitch { // 1 - 1
1: 3
default: 5
}
3: StackMap locals:
StackMap stack:
bipush 6
istore 1
start local 1 4: goto 6
end local 1 5: StackMap locals:
StackMap stack:
iload 0
bipush 10
iadd
istore 1
start local 1 6: StackMap locals: int
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 numComponents I
4 5 1 type I
6 7 1 type I
MethodParameters:
Name Flags
numComponents
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
iload 1
invokestatic com.sun.imageio.plugins.common.BogusColorSpace.getType:(I)I
iload 1
invokespecial java.awt.color.ColorSpace.<init>:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/imageio/plugins/common/BogusColorSpace;
0 2 1 numComponents I
MethodParameters:
Name Flags
numComponents
public float[] toRGB(float[]);
descriptor: ([F)[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
aload 0
invokevirtual com.sun.imageio.plugins.common.BogusColorSpace.getNumComponents:()I
if_icmpge 4
1: new java.lang.ArrayIndexOutOfBoundsException
dup
2: ldc "colorvalue.length < getNumComponents()"
3: invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iconst_3
newarray 6
astore 2
start local 2 5: aload 1
iconst_0
aload 2
iconst_0
6: iconst_3
aload 0
invokevirtual com.sun.imageio.plugins.common.BogusColorSpace.getNumComponents:()I
invokestatic java.lang.Math.min:(II)I
7: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/imageio/plugins/common/BogusColorSpace;
0 9 1 colorvalue [F
5 9 2 rgbvalue [F
MethodParameters:
Name Flags
colorvalue
public float[] fromRGB(float[]);
descriptor: ([F)[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_3
if_icmpge 4
1: new java.lang.ArrayIndexOutOfBoundsException
dup
2: ldc "rgbvalue.length < 3"
3: invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.imageio.plugins.common.BogusColorSpace.getNumComponents:()I
newarray 6
astore 2
start local 2 5: aload 1
iconst_0
aload 2
iconst_0
6: iconst_3
aload 2
arraylength
invokestatic java.lang.Math.min:(II)I
7: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/imageio/plugins/common/BogusColorSpace;
0 9 1 rgbvalue [F
5 9 2 colorvalue [F
MethodParameters:
Name Flags
rgbvalue
public float[] toCIEXYZ(float[]);
descriptor: ([F)[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
aload 0
invokevirtual com.sun.imageio.plugins.common.BogusColorSpace.getNumComponents:()I
if_icmpge 4
1: new java.lang.ArrayIndexOutOfBoundsException
dup
2: ldc "colorvalue.length < getNumComponents()"
3: invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iconst_3
newarray 6
astore 2
start local 2 5: aload 1
iconst_0
aload 2
iconst_0
6: iconst_3
aload 0
invokevirtual com.sun.imageio.plugins.common.BogusColorSpace.getNumComponents:()I
invokestatic java.lang.Math.min:(II)I
7: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/imageio/plugins/common/BogusColorSpace;
0 9 1 colorvalue [F
5 9 2 xyzvalue [F
MethodParameters:
Name Flags
colorvalue
public float[] fromCIEXYZ(float[]);
descriptor: ([F)[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
arraylength
iconst_3
if_icmpge 4
1: new java.lang.ArrayIndexOutOfBoundsException
dup
2: ldc "xyzvalue.length < 3"
3: invokespecial java.lang.ArrayIndexOutOfBoundsException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.imageio.plugins.common.BogusColorSpace.getNumComponents:()I
newarray 6
astore 2
start local 2 5: aload 1
iconst_0
aload 2
iconst_0
6: iconst_3
aload 2
arraylength
invokestatic java.lang.Math.min:(II)I
7: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/imageio/plugins/common/BogusColorSpace;
0 9 1 xyzvalue [F
5 9 2 colorvalue [F
MethodParameters:
Name Flags
xyzvalue
}
SourceFile: "BogusColorSpace.java"