public class javax.imageio.ImageTypeSpecifier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.imageio.ImageTypeSpecifier
super_class: java.lang.Object
{
protected java.awt.image.ColorModel colorModel;
descriptor: Ljava/awt/image/ColorModel;
flags: (0x0004) ACC_PROTECTED
protected java.awt.image.SampleModel sampleModel;
descriptor: Ljava/awt/image/SampleModel;
flags: (0x0004) ACC_PROTECTED
private static javax.imageio.ImageTypeSpecifier[] BISpecifier;
descriptor: [Ljavax/imageio/ImageTypeSpecifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.awt.color.ColorSpace sRGB;
descriptor: Ljava/awt/color/ColorSpace;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: sipush 1000
invokestatic java.awt.color.ColorSpace.getInstance:(I)Ljava/awt/color/ColorSpace;
putstatic javax.imageio.ImageTypeSpecifier.sRGB:Ljava/awt/color/ColorSpace;
1: bipush 14
anewarray javax.imageio.ImageTypeSpecifier
2: putstatic javax.imageio.ImageTypeSpecifier.BISpecifier:[Ljavax/imageio/ImageTypeSpecifier;
3: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/ImageTypeSpecifier;
public void <init>(java.awt.image.ColorModel, java.awt.image.SampleModel);
descriptor: (Ljava/awt/image/ColorModel;Ljava/awt/image/SampleModel;)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 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "colorModel == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.imageio.ImageTypeSpecifier java.awt.image.ColorModel java.awt.image.SampleModel
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
ldc "sampleModel == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual java.awt.image.ColorModel.isCompatibleSampleModel:(Ljava/awt/image/SampleModel;)Z
ifne 9
6: new java.lang.IllegalArgumentException
dup
7: ldc "sampleModel is incompatible with colorModel!"
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield javax.imageio.ImageTypeSpecifier.colorModel:Ljava/awt/image/ColorModel;
10: aload 0
aload 2
putfield javax.imageio.ImageTypeSpecifier.sampleModel:Ljava/awt/image/SampleModel;
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/imageio/ImageTypeSpecifier;
0 12 1 colorModel Ljava/awt/image/ColorModel;
0 12 2 sampleModel Ljava/awt/image/SampleModel;
MethodParameters:
Name Flags
colorModel
sampleModel
public void <init>(java.awt.image.RenderedImage);
descriptor: (Ljava/awt/image/RenderedImage;)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 1
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "image == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.imageio.ImageTypeSpecifier java.awt.image.RenderedImage
StackMap stack:
aload 0
aload 1
invokeinterface java.awt.image.RenderedImage.getColorModel:()Ljava/awt/image/ColorModel;
putfield javax.imageio.ImageTypeSpecifier.colorModel:Ljava/awt/image/ColorModel;
4: aload 0
aload 1
invokeinterface java.awt.image.RenderedImage.getSampleModel:()Ljava/awt/image/SampleModel;
putfield javax.imageio.ImageTypeSpecifier.sampleModel:Ljava/awt/image/SampleModel;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/imageio/ImageTypeSpecifier;
0 6 1 image Ljava/awt/image/RenderedImage;
MethodParameters:
Name Flags
image
public static javax.imageio.ImageTypeSpecifier createPacked(java.awt.color.ColorSpace, int, int, int, int, int, boolean);
descriptor: (Ljava/awt/color/ColorSpace;IIIIIZ)Ljavax/imageio/ImageTypeSpecifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=9, locals=7, 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: new javax.imageio.ImageTypeSpecifier$Packed
dup
aload 0
1: iload 1
2: iload 2
3: iload 3
4: iload 4
5: iload 5
6: iload 6
7: invokespecial javax.imageio.ImageTypeSpecifier$Packed.<init>:(Ljava/awt/color/ColorSpace;IIIIIZ)V
areturn
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 8 0 colorSpace Ljava/awt/color/ColorSpace;
0 8 1 redMask I
0 8 2 greenMask I
0 8 3 blueMask I
0 8 4 alphaMask I
0 8 5 transferType I
0 8 6 isAlphaPremultiplied Z
MethodParameters:
Name Flags
colorSpace
redMask
greenMask
blueMask
alphaMask
transferType
isAlphaPremultiplied
static java.awt.image.ColorModel createComponentCM(java.awt.color.ColorSpace, int, int, boolean, boolean);
descriptor: (Ljava/awt/color/ColorSpace;IIZZ)Ljava/awt/image/ColorModel;
flags: (0x0008) ACC_STATIC
Code:
stack=8, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 3
ifeq 1
iconst_3
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
2: StackMap locals:
StackMap stack: int
istore 5
start local 5 3: iload 1
newarray 10
astore 6
start local 6 4: iload 2
invokestatic java.awt.image.DataBuffer.getDataTypeSize:(I)I
istore 7
start local 7 5: iconst_0
istore 8
start local 8 6: goto 9
7: StackMap locals: java.awt.color.ColorSpace int int int int int int[] int int
StackMap stack:
aload 6
iload 8
iload 7
iastore
8: iinc 8 1
StackMap locals:
StackMap stack:
9: iload 8
iload 1
if_icmplt 7
end local 8 10: new java.awt.image.ComponentColorModel
dup
aload 0
11: aload 6
12: iload 3
13: iload 4
14: iload 5
15: iload 2
16: invokespecial java.awt.image.ComponentColorModel.<init>:(Ljava/awt/color/ColorSpace;[IZZII)V
areturn
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 17 0 colorSpace Ljava/awt/color/ColorSpace;
0 17 1 numBands I
0 17 2 dataType I
0 17 3 hasAlpha Z
0 17 4 isAlphaPremultiplied Z
3 17 5 transparency I
4 17 6 numBits [I
5 17 7 bits I
6 10 8 i I
MethodParameters:
Name Flags
colorSpace
numBands
dataType
hasAlpha
isAlphaPremultiplied
public static javax.imageio.ImageTypeSpecifier createInterleaved(java.awt.color.ColorSpace, int[], int, boolean, boolean);
descriptor: (Ljava/awt/color/ColorSpace;[IIZZ)Ljavax/imageio/ImageTypeSpecifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new javax.imageio.ImageTypeSpecifier$Interleaved
dup
aload 0
1: aload 1
2: iload 2
3: iload 3
4: iload 4
5: invokespecial javax.imageio.ImageTypeSpecifier$Interleaved.<init>:(Ljava/awt/color/ColorSpace;[IIZZ)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 colorSpace Ljava/awt/color/ColorSpace;
0 6 1 bandOffsets [I
0 6 2 dataType I
0 6 3 hasAlpha Z
0 6 4 isAlphaPremultiplied Z
MethodParameters:
Name Flags
colorSpace
bandOffsets
dataType
hasAlpha
isAlphaPremultiplied
public static javax.imageio.ImageTypeSpecifier createBanded(java.awt.color.ColorSpace, int[], int[], int, boolean, boolean);
descriptor: (Ljava/awt/color/ColorSpace;[I[IIZZ)Ljavax/imageio/ImageTypeSpecifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, 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 javax.imageio.ImageTypeSpecifier$Banded
dup
aload 0
1: aload 1
2: aload 2
3: iload 3
4: iload 4
5: iload 5
6: invokespecial javax.imageio.ImageTypeSpecifier$Banded.<init>:(Ljava/awt/color/ColorSpace;[I[IIZZ)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 7 0 colorSpace Ljava/awt/color/ColorSpace;
0 7 1 bankIndices [I
0 7 2 bandOffsets [I
0 7 3 dataType I
0 7 4 hasAlpha Z
0 7 5 isAlphaPremultiplied Z
MethodParameters:
Name Flags
colorSpace
bankIndices
bandOffsets
dataType
hasAlpha
isAlphaPremultiplied
public static javax.imageio.ImageTypeSpecifier createGrayscale(int, int, boolean);
descriptor: (IIZ)Ljavax/imageio/ImageTypeSpecifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new javax.imageio.ImageTypeSpecifier$Grayscale
dup
iload 0
1: iload 1
2: iload 2
3: iconst_0
4: iconst_0
5: invokespecial javax.imageio.ImageTypeSpecifier$Grayscale.<init>:(IIZZZ)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 bits I
0 6 1 dataType I
0 6 2 isSigned Z
MethodParameters:
Name Flags
bits
dataType
isSigned
public static javax.imageio.ImageTypeSpecifier createGrayscale(int, int, boolean, boolean);
descriptor: (IIZZ)Ljavax/imageio/ImageTypeSpecifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new javax.imageio.ImageTypeSpecifier$Grayscale
dup
iload 0
1: iload 1
2: iload 2
3: iconst_1
4: iload 3
5: invokespecial javax.imageio.ImageTypeSpecifier$Grayscale.<init>:(IIZZZ)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 bits I
0 6 1 dataType I
0 6 2 isSigned Z
0 6 3 isAlphaPremultiplied Z
MethodParameters:
Name Flags
bits
dataType
isSigned
isAlphaPremultiplied
public static javax.imageio.ImageTypeSpecifier createIndexed(byte[], byte[], byte[], byte[], int, int);
descriptor: ([B[B[B[BII)Ljavax/imageio/ImageTypeSpecifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=8, 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 javax.imageio.ImageTypeSpecifier$Indexed
dup
aload 0
1: aload 1
2: aload 2
3: aload 3
4: iload 4
5: iload 5
6: invokespecial javax.imageio.ImageTypeSpecifier$Indexed.<init>:([B[B[B[BII)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 7 0 redLUT [B
0 7 1 greenLUT [B
0 7 2 blueLUT [B
0 7 3 alphaLUT [B
0 7 4 bits I
0 7 5 dataType I
MethodParameters:
Name Flags
redLUT
greenLUT
blueLUT
alphaLUT
bits
dataType
public static javax.imageio.ImageTypeSpecifier createFromBufferedImageType(int);
descriptor: (I)Ljavax/imageio/ImageTypeSpecifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: iload 0
iconst_1
if_icmplt 3
1: iload 0
bipush 13
if_icmpgt 3
2: iload 0
invokestatic javax.imageio.ImageTypeSpecifier.getSpecifier:(I)Ljavax/imageio/ImageTypeSpecifier;
areturn
3: StackMap locals:
StackMap stack:
iload 0
ifne 5
4: new java.lang.IllegalArgumentException
dup
ldc "Cannot create from TYPE_CUSTOM!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid BufferedImage type!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 bufferedImageType I
MethodParameters:
Name Flags
bufferedImageType
public static javax.imageio.ImageTypeSpecifier createFromRenderedImage(java.awt.image.RenderedImage);
descriptor: (Ljava/awt/image/RenderedImage;)Ljavax/imageio/ImageTypeSpecifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "image == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
instanceof java.awt.image.BufferedImage
ifeq 6
3: aload 0
checkcast java.awt.image.BufferedImage
invokevirtual java.awt.image.BufferedImage.getType:()I
istore 1
start local 1 4: iload 1
ifeq 6
5: iload 1
invokestatic javax.imageio.ImageTypeSpecifier.getSpecifier:(I)Ljavax/imageio/ImageTypeSpecifier;
areturn
end local 1 6: StackMap locals:
StackMap stack:
new javax.imageio.ImageTypeSpecifier
dup
aload 0
invokespecial javax.imageio.ImageTypeSpecifier.<init>:(Ljava/awt/image/RenderedImage;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 image Ljava/awt/image/RenderedImage;
4 6 1 bufferedImageType I
MethodParameters:
Name Flags
image
public int getBufferedImageType();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
iconst_1
iconst_1
invokevirtual javax.imageio.ImageTypeSpecifier.createBufferedImage:(II)Ljava/awt/image/BufferedImage;
astore 1
start local 1 1: aload 1
invokevirtual java.awt.image.BufferedImage.getType:()I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/imageio/ImageTypeSpecifier;
1 2 1 bi Ljava/awt/image/BufferedImage;
public int getNumComponents();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.ImageTypeSpecifier.colorModel:Ljava/awt/image/ColorModel;
invokevirtual java.awt.image.ColorModel.getNumComponents:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/ImageTypeSpecifier;
public int getNumBands();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.ImageTypeSpecifier.sampleModel:Ljava/awt/image/SampleModel;
invokevirtual java.awt.image.SampleModel.getNumBands:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/ImageTypeSpecifier;
public int getBitsPerBand(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iload 1
aload 0
invokevirtual javax.imageio.ImageTypeSpecifier.getNumBands:()I
if_icmplt 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "band out of range!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.ImageTypeSpecifier.sampleModel:Ljava/awt/image/SampleModel;
iload 1
invokevirtual java.awt.image.SampleModel.getSampleSize:(I)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/imageio/ImageTypeSpecifier;
0 3 1 band I
MethodParameters:
Name Flags
band
public java.awt.image.SampleModel getSampleModel();
descriptor: ()Ljava/awt/image/SampleModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.ImageTypeSpecifier.sampleModel:Ljava/awt/image/SampleModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/ImageTypeSpecifier;
public java.awt.image.SampleModel getSampleModel(int, int);
descriptor: (II)Ljava/awt/image/SampleModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
i2l
iload 2
i2l
lmul
ldc 2147483647
lcmp
ifle 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "width*height > Integer.MAX_VALUE!"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.ImageTypeSpecifier.sampleModel:Ljava/awt/image/SampleModel;
iload 1
iload 2
invokevirtual java.awt.image.SampleModel.createCompatibleSampleModel:(II)Ljava/awt/image/SampleModel;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/imageio/ImageTypeSpecifier;
0 5 1 width I
0 5 2 height I
MethodParameters:
Name Flags
width
height
public java.awt.image.ColorModel getColorModel();
descriptor: ()Ljava/awt/image/ColorModel;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.ImageTypeSpecifier.colorModel:Ljava/awt/image/ColorModel;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/ImageTypeSpecifier;
public java.awt.image.BufferedImage createBufferedImage(int, int);
descriptor: (II)Ljava/awt/image/BufferedImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
invokevirtual javax.imageio.ImageTypeSpecifier.getSampleModel:(II)Ljava/awt/image/SampleModel;
astore 3
start local 3 1: aload 3
2: new java.awt.Point
dup
iconst_0
iconst_0
invokespecial java.awt.Point.<init>:(II)V
3: invokestatic java.awt.image.Raster.createWritableRaster:(Ljava/awt/image/SampleModel;Ljava/awt/Point;)Ljava/awt/image/WritableRaster;
4: astore 4
start local 4 5: new java.awt.image.BufferedImage
dup
aload 0
getfield javax.imageio.ImageTypeSpecifier.colorModel:Ljava/awt/image/ColorModel;
aload 4
6: aload 0
getfield javax.imageio.ImageTypeSpecifier.colorModel:Ljava/awt/image/ColorModel;
invokevirtual java.awt.image.ColorModel.isAlphaPremultiplied:()Z
7: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
8: invokespecial java.awt.image.BufferedImage.<init>:(Ljava/awt/image/ColorModel;Ljava/awt/image/WritableRaster;ZLjava/util/Hashtable;)V
9: areturn
end local 4 end local 3 10: StackMap locals:
StackMap stack: java.lang.NegativeArraySizeException
pop
11: new java.lang.IllegalArgumentException
dup
12: ldc "Array size > Integer.MAX_VALUE!"
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljavax/imageio/ImageTypeSpecifier;
0 14 1 width I
0 14 2 height I
1 10 3 sampleModel Ljava/awt/image/SampleModel;
5 10 4 raster Ljava/awt/image/WritableRaster;
Exception table:
from to target type
0 9 10 Class java.lang.NegativeArraySizeException
MethodParameters:
Name Flags
width
height
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
instanceof javax.imageio.ImageTypeSpecifier
ifne 2
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.imageio.ImageTypeSpecifier
astore 2
start local 2 3: aload 0
getfield javax.imageio.ImageTypeSpecifier.colorModel:Ljava/awt/image/ColorModel;
aload 2
getfield javax.imageio.ImageTypeSpecifier.colorModel:Ljava/awt/image/ColorModel;
invokevirtual java.awt.image.ColorModel.equals:(Ljava/lang/Object;)Z
ifeq 6
4: aload 0
getfield javax.imageio.ImageTypeSpecifier.sampleModel:Ljava/awt/image/SampleModel;
aload 2
getfield javax.imageio.ImageTypeSpecifier.sampleModel:Ljava/awt/image/SampleModel;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
StackMap locals: javax.imageio.ImageTypeSpecifier
StackMap stack:
6: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/imageio/ImageTypeSpecifier;
0 7 1 o Ljava/lang/Object;
3 7 2 that Ljavax/imageio/ImageTypeSpecifier;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: bipush 9
aload 0
getfield javax.imageio.ImageTypeSpecifier.colorModel:Ljava/awt/image/ColorModel;
invokevirtual java.awt.image.ColorModel.hashCode:()I
imul
bipush 14
aload 0
getfield javax.imageio.ImageTypeSpecifier.sampleModel:Ljava/awt/image/SampleModel;
invokevirtual java.lang.Object.hashCode:()I
imul
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/ImageTypeSpecifier;
private static javax.imageio.ImageTypeSpecifier getSpecifier(int);
descriptor: (I)Ljavax/imageio/ImageTypeSpecifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic javax.imageio.ImageTypeSpecifier.BISpecifier:[Ljavax/imageio/ImageTypeSpecifier;
iload 0
aaload
ifnonnull 2
1: getstatic javax.imageio.ImageTypeSpecifier.BISpecifier:[Ljavax/imageio/ImageTypeSpecifier;
iload 0
iload 0
invokestatic javax.imageio.ImageTypeSpecifier.createSpecifier:(I)Ljavax/imageio/ImageTypeSpecifier;
aastore
2: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageTypeSpecifier.BISpecifier:[Ljavax/imageio/ImageTypeSpecifier;
iload 0
aaload
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type I
MethodParameters:
Name Flags
type
private static javax.imageio.ImageTypeSpecifier createSpecifier(int);
descriptor: (I)Ljavax/imageio/ImageTypeSpecifier;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=8, args_size=1
start local 0 0: iload 0
tableswitch { // 1 - 13
1: 1
2: 9
3: 17
4: 25
5: 33
6: 39
7: 45
8: 51
9: 59
10: 67
11: 71
12: 75
13: 79
default: 95
}
1: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageTypeSpecifier.sRGB:Ljava/awt/color/ColorSpace;
2: ldc 16711680
3: ldc 65280
4: sipush 255
5: iconst_0
6: iconst_3
7: iconst_0
8: invokestatic javax.imageio.ImageTypeSpecifier.createPacked:(Ljava/awt/color/ColorSpace;IIIIIZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
9: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageTypeSpecifier.sRGB:Ljava/awt/color/ColorSpace;
10: ldc 16711680
11: ldc 65280
12: sipush 255
13: ldc -16777216
14: iconst_3
15: iconst_0
16: invokestatic javax.imageio.ImageTypeSpecifier.createPacked:(Ljava/awt/color/ColorSpace;IIIIIZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
17: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageTypeSpecifier.sRGB:Ljava/awt/color/ColorSpace;
18: ldc 16711680
19: ldc 65280
20: sipush 255
21: ldc -16777216
22: iconst_3
23: iconst_1
24: invokestatic javax.imageio.ImageTypeSpecifier.createPacked:(Ljava/awt/color/ColorSpace;IIIIIZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
25: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageTypeSpecifier.sRGB:Ljava/awt/color/ColorSpace;
26: sipush 255
27: ldc 65280
28: ldc 16711680
29: iconst_0
30: iconst_3
31: iconst_0
32: invokestatic javax.imageio.ImageTypeSpecifier.createPacked:(Ljava/awt/color/ColorSpace;IIIIIZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
33: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageTypeSpecifier.sRGB:Ljava/awt/color/ColorSpace;
34: iconst_3
newarray 10
dup
iconst_0
iconst_2
iastore
dup
iconst_1
iconst_1
iastore
35: iconst_0
36: iconst_0
37: iconst_0
38: invokestatic javax.imageio.ImageTypeSpecifier.createInterleaved:(Ljava/awt/color/ColorSpace;[IIZZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
39: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageTypeSpecifier.sRGB:Ljava/awt/color/ColorSpace;
40: iconst_4
newarray 10
dup
iconst_0
iconst_3
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_1
iastore
41: iconst_0
42: iconst_1
43: iconst_0
44: invokestatic javax.imageio.ImageTypeSpecifier.createInterleaved:(Ljava/awt/color/ColorSpace;[IIZZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
45: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageTypeSpecifier.sRGB:Ljava/awt/color/ColorSpace;
46: iconst_4
newarray 10
dup
iconst_0
iconst_3
iastore
dup
iconst_1
iconst_2
iastore
dup
iconst_2
iconst_1
iastore
47: iconst_0
48: iconst_1
49: iconst_1
50: invokestatic javax.imageio.ImageTypeSpecifier.createInterleaved:(Ljava/awt/color/ColorSpace;[IIZZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
51: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageTypeSpecifier.sRGB:Ljava/awt/color/ColorSpace;
52: ldc 63488
53: sipush 2016
54: bipush 31
55: iconst_0
56: iconst_1
57: iconst_0
58: invokestatic javax.imageio.ImageTypeSpecifier.createPacked:(Ljava/awt/color/ColorSpace;IIIIIZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
59: StackMap locals:
StackMap stack:
getstatic javax.imageio.ImageTypeSpecifier.sRGB:Ljava/awt/color/ColorSpace;
60: sipush 31744
61: sipush 992
62: bipush 31
63: iconst_0
64: iconst_1
65: iconst_0
66: invokestatic javax.imageio.ImageTypeSpecifier.createPacked:(Ljava/awt/color/ColorSpace;IIIIIZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
67: StackMap locals:
StackMap stack:
bipush 8
68: iconst_0
69: iconst_0
70: invokestatic javax.imageio.ImageTypeSpecifier.createGrayscale:(IIZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
71: StackMap locals:
StackMap stack:
bipush 16
72: iconst_1
73: iconst_0
74: invokestatic javax.imageio.ImageTypeSpecifier.createGrayscale:(IIZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
75: StackMap locals:
StackMap stack:
iconst_1
76: iconst_0
77: iconst_0
78: invokestatic javax.imageio.ImageTypeSpecifier.createGrayscale:(IIZ)Ljavax/imageio/ImageTypeSpecifier;
areturn
79: StackMap locals:
StackMap stack:
new java.awt.image.BufferedImage
dup
iconst_1
iconst_1
bipush 13
invokespecial java.awt.image.BufferedImage.<init>:(III)V
80: astore 1
start local 1 81: aload 1
invokevirtual java.awt.image.BufferedImage.getColorModel:()Ljava/awt/image/ColorModel;
checkcast java.awt.image.IndexColorModel
astore 2
start local 2 82: aload 2
invokevirtual java.awt.image.IndexColorModel.getMapSize:()I
istore 3
start local 3 83: iload 3
newarray 8
astore 4
start local 4 84: iload 3
newarray 8
astore 5
start local 5 85: iload 3
newarray 8
astore 6
start local 6 86: iload 3
newarray 8
astore 7
start local 7 87: aload 2
aload 4
invokevirtual java.awt.image.IndexColorModel.getReds:([B)V
88: aload 2
aload 5
invokevirtual java.awt.image.IndexColorModel.getGreens:([B)V
89: aload 2
aload 6
invokevirtual java.awt.image.IndexColorModel.getBlues:([B)V
90: aload 2
aload 7
invokevirtual java.awt.image.IndexColorModel.getAlphas:([B)V
91: aload 4
aload 5
aload 6
aload 7
92: bipush 8
93: iconst_0
94: invokestatic javax.imageio.ImageTypeSpecifier.createIndexed:([B[B[B[BII)Ljavax/imageio/ImageTypeSpecifier;
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 95: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Invalid BufferedImage type!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 96 0 type I
81 95 1 bi Ljava/awt/image/BufferedImage;
82 95 2 icm Ljava/awt/image/IndexColorModel;
83 95 3 mapSize I
84 95 4 redLUT [B
85 95 5 greenLUT [B
86 95 6 blueLUT [B
87 95 7 alphaLUT [B
MethodParameters:
Name Flags
type
}
SourceFile: "ImageTypeSpecifier.java"
NestMembers:
javax.imageio.ImageTypeSpecifier$Banded javax.imageio.ImageTypeSpecifier$Grayscale javax.imageio.ImageTypeSpecifier$Indexed javax.imageio.ImageTypeSpecifier$Interleaved javax.imageio.ImageTypeSpecifier$Packed
InnerClasses:
Banded = javax.imageio.ImageTypeSpecifier$Banded of javax.imageio.ImageTypeSpecifier
Grayscale = javax.imageio.ImageTypeSpecifier$Grayscale of javax.imageio.ImageTypeSpecifier
Indexed = javax.imageio.ImageTypeSpecifier$Indexed of javax.imageio.ImageTypeSpecifier
Interleaved = javax.imageio.ImageTypeSpecifier$Interleaved of javax.imageio.ImageTypeSpecifier
Packed = javax.imageio.ImageTypeSpecifier$Packed of javax.imageio.ImageTypeSpecifier