class javax.imageio.ImageTypeSpecifier$Indexed extends javax.imageio.ImageTypeSpecifier
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.imageio.ImageTypeSpecifier$Indexed
super_class: javax.imageio.ImageTypeSpecifier
{
byte[] redLUT;
descriptor: [B
flags: (0x0000)
byte[] greenLUT;
descriptor: [B
flags: (0x0000)
byte[] blueLUT;
descriptor: [B
flags: (0x0000)
byte[] alphaLUT;
descriptor: [B
flags: (0x0000)
int bits;
descriptor: I
flags: (0x0000)
int dataType;
descriptor: I
flags: (0x0000)
public void <init>(byte[], byte[], byte[], byte[], int, int);
descriptor: ([B[B[B[BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial javax.imageio.ImageTypeSpecifier.<init>:()V
1: aload 0
aconst_null
putfield javax.imageio.ImageTypeSpecifier$Indexed.alphaLUT:[B
2: aload 1
ifnull 3
aload 2
ifnull 3
aload 3
ifnonnull 4
3: StackMap locals: javax.imageio.ImageTypeSpecifier$Indexed byte[] byte[] byte[] byte[] int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "LUT is null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 5
iconst_1
if_icmpeq 7
iload 5
iconst_2
if_icmpeq 7
iload 5
iconst_4
if_icmpeq 7
5: iload 5
bipush 8
if_icmpeq 7
iload 5
bipush 16
if_icmpeq 7
6: new java.lang.IllegalArgumentException
dup
ldc "Bad value for bits!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iload 6
ifeq 14
8: iload 6
iconst_2
if_icmpeq 14
9: iload 6
iconst_1
if_icmpeq 14
10: iload 6
iconst_3
if_icmpeq 14
11: new java.lang.IllegalArgumentException
dup
12: ldc "Bad value for dataType!"
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
iload 5
bipush 8
if_icmple 15
iload 6
ifeq 16
15: StackMap locals:
StackMap stack:
iload 5
bipush 16
if_icmple 19
iload 6
iconst_3
if_icmpeq 19
16: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
17: ldc "Too many bits for dataType!"
18: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
iconst_1
iload 5
ishl
istore 7
start local 7 20: aload 1
arraylength
iload 7
if_icmpne 24
21: aload 2
arraylength
iload 7
if_icmpne 24
22: aload 3
arraylength
iload 7
if_icmpne 24
23: aload 4
ifnull 25
aload 4
arraylength
iload 7
if_icmpeq 25
24: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "LUT has improper length!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield javax.imageio.ImageTypeSpecifier$Indexed.redLUT:[B
26: aload 0
aload 2
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield javax.imageio.ImageTypeSpecifier$Indexed.greenLUT:[B
27: aload 0
aload 3
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield javax.imageio.ImageTypeSpecifier$Indexed.blueLUT:[B
28: aload 4
ifnull 30
29: aload 0
aload 4
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield javax.imageio.ImageTypeSpecifier$Indexed.alphaLUT:[B
30: StackMap locals:
StackMap stack:
aload 0
iload 5
putfield javax.imageio.ImageTypeSpecifier$Indexed.bits:I
31: aload 0
iload 6
putfield javax.imageio.ImageTypeSpecifier$Indexed.dataType:I
32: aload 4
ifnonnull 40
33: aload 0
new java.awt.image.IndexColorModel
dup
iload 5
34: aload 1
arraylength
35: aload 1
36: aload 2
37: aload 3
invokespecial java.awt.image.IndexColorModel.<init>:(II[B[B[B)V
38: putfield javax.imageio.ImageTypeSpecifier$Indexed.colorModel:Ljava/awt/image/ColorModel;
39: goto 47
40: StackMap locals:
StackMap stack:
aload 0
new java.awt.image.IndexColorModel
dup
iload 5
41: aload 1
arraylength
42: aload 1
43: aload 2
44: aload 3
45: aload 4
invokespecial java.awt.image.IndexColorModel.<init>:(II[B[B[B[B)V
46: putfield javax.imageio.ImageTypeSpecifier$Indexed.colorModel:Ljava/awt/image/ColorModel;
47: StackMap locals:
StackMap stack:
iload 5
bipush 8
if_icmpne 48
iload 6
ifeq 51
48: StackMap locals:
StackMap stack:
iload 5
bipush 16
if_icmpne 59
49: iload 6
iconst_2
if_icmpeq 51
50: iload 6
iconst_1
if_icmpne 59
51: StackMap locals:
StackMap stack:
iconst_1
newarray 10
astore 8
start local 8 52: aload 0
53: new java.awt.image.PixelInterleavedSampleModel
dup
iload 6
54: iconst_1
iconst_1
iconst_1
iconst_1
55: aload 8
56: invokespecial java.awt.image.PixelInterleavedSampleModel.<init>:(IIIII[I)V
57: putfield javax.imageio.ImageTypeSpecifier$Indexed.sampleModel:Ljava/awt/image/SampleModel;
end local 8 58: goto 62
59: StackMap locals:
StackMap stack:
aload 0
60: new java.awt.image.MultiPixelPackedSampleModel
dup
iload 6
iconst_1
iconst_1
iload 5
invokespecial java.awt.image.MultiPixelPackedSampleModel.<init>:(IIII)V
61: putfield javax.imageio.ImageTypeSpecifier$Indexed.sampleModel:Ljava/awt/image/SampleModel;
62: StackMap locals:
StackMap stack:
return
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 63 0 this Ljavax/imageio/ImageTypeSpecifier$Indexed;
0 63 1 redLUT [B
0 63 2 greenLUT [B
0 63 3 blueLUT [B
0 63 4 alphaLUT [B
0 63 5 bits I
0 63 6 dataType I
20 63 7 len I
52 58 8 bandOffsets [I
MethodParameters:
Name Flags
redLUT
greenLUT
blueLUT
alphaLUT
bits
dataType
}
SourceFile: "ImageTypeSpecifier.java"
NestHost: javax.imageio.ImageTypeSpecifier
InnerClasses:
Indexed = javax.imageio.ImageTypeSpecifier$Indexed of javax.imageio.ImageTypeSpecifier