class javax.imageio.ImageTypeSpecifier$Packed extends javax.imageio.ImageTypeSpecifier
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.imageio.ImageTypeSpecifier$Packed
super_class: javax.imageio.ImageTypeSpecifier
{
java.awt.color.ColorSpace colorSpace;
descriptor: Ljava/awt/color/ColorSpace;
flags: (0x0000)
int redMask;
descriptor: I
flags: (0x0000)
int greenMask;
descriptor: I
flags: (0x0000)
int blueMask;
descriptor: I
flags: (0x0000)
int alphaMask;
descriptor: I
flags: (0x0000)
int transferType;
descriptor: I
flags: (0x0000)
boolean isAlphaPremultiplied;
descriptor: Z
flags: (0x0000)
public void <init>(java.awt.color.ColorSpace, int, int, int, int, int, boolean);
descriptor: (Ljava/awt/color/ColorSpace;IIIIIZ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
invokespecial javax.imageio.ImageTypeSpecifier.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "colorSpace == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.imageio.ImageTypeSpecifier$Packed java.awt.color.ColorSpace int int int int int int
StackMap stack:
aload 1
invokevirtual java.awt.color.ColorSpace.getType:()I
iconst_5
if_icmpeq 7
4: new java.lang.IllegalArgumentException
dup
5: ldc "colorSpace is not of type TYPE_RGB!"
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
iload 6
ifeq 13
8: iload 6
iconst_1
if_icmpeq 13
9: iload 6
iconst_3
if_icmpeq 13
10: new java.lang.IllegalArgumentException
dup
11: ldc "Bad value for transferType!"
12: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
iload 2
ifne 18
iload 3
ifne 18
14: iload 4
ifne 18
iload 5
ifne 18
15: new java.lang.IllegalArgumentException
dup
16: ldc "No mask has at least 1 bit set!"
17: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.imageio.ImageTypeSpecifier$Packed.colorSpace:Ljava/awt/color/ColorSpace;
19: aload 0
iload 2
putfield javax.imageio.ImageTypeSpecifier$Packed.redMask:I
20: aload 0
iload 3
putfield javax.imageio.ImageTypeSpecifier$Packed.greenMask:I
21: aload 0
iload 4
putfield javax.imageio.ImageTypeSpecifier$Packed.blueMask:I
22: aload 0
iload 5
putfield javax.imageio.ImageTypeSpecifier$Packed.alphaMask:I
23: aload 0
iload 6
putfield javax.imageio.ImageTypeSpecifier$Packed.transferType:I
24: aload 0
iload 7
putfield javax.imageio.ImageTypeSpecifier$Packed.isAlphaPremultiplied:Z
25: bipush 32
istore 8
start local 8 26: aload 0
27: new java.awt.image.DirectColorModel
dup
aload 1
28: iload 8
29: iload 2
iload 3
iload 4
30: iload 5
iload 7
31: iload 6
32: invokespecial java.awt.image.DirectColorModel.<init>:(Ljava/awt/color/ColorSpace;IIIIIZI)V
33: putfield javax.imageio.ImageTypeSpecifier$Packed.colorModel:Ljava/awt/image/ColorModel;
34: aload 0
aload 0
getfield javax.imageio.ImageTypeSpecifier$Packed.colorModel:Ljava/awt/image/ColorModel;
iconst_1
iconst_1
invokevirtual java.awt.image.ColorModel.createCompatibleSampleModel:(II)Ljava/awt/image/SampleModel;
putfield javax.imageio.ImageTypeSpecifier$Packed.sampleModel:Ljava/awt/image/SampleModel;
35: return
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 36 0 this Ljavax/imageio/ImageTypeSpecifier$Packed;
0 36 1 colorSpace Ljava/awt/color/ColorSpace;
0 36 2 redMask I
0 36 3 greenMask I
0 36 4 blueMask I
0 36 5 alphaMask I
0 36 6 transferType I
0 36 7 isAlphaPremultiplied Z
26 36 8 bits I
MethodParameters:
Name Flags
colorSpace
redMask
greenMask
blueMask
alphaMask
transferType
isAlphaPremultiplied
}
SourceFile: "ImageTypeSpecifier.java"
NestHost: javax.imageio.ImageTypeSpecifier
InnerClasses:
Packed = javax.imageio.ImageTypeSpecifier$Packed of javax.imageio.ImageTypeSpecifier