public class com.sun.imageio.plugins.gif.GIFImageWriterSpi extends javax.imageio.spi.ImageWriterSpi
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.gif.GIFImageWriterSpi
super_class: javax.imageio.spi.ImageWriterSpi
{
private static final java.lang.String vendorName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "Oracle Corporation"
private static final java.lang.String version;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "1.0"
private static final java.lang.String[] names;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] suffixes;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String[] MIMETypes;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String writerClassName;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "com.sun.imageio.plugins.gif.GIFImageWriter"
private static final java.lang.String[] readerSpiNames;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "gif"
aastore
dup
iconst_1
ldc "GIF"
aastore
putstatic com.sun.imageio.plugins.gif.GIFImageWriterSpi.names:[Ljava/lang/String;
1: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "gif"
aastore
putstatic com.sun.imageio.plugins.gif.GIFImageWriterSpi.suffixes:[Ljava/lang/String;
2: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "image/gif"
aastore
putstatic com.sun.imageio.plugins.gif.GIFImageWriterSpi.MIMETypes:[Ljava/lang/String;
3: iconst_1
anewarray java.lang.String
dup
iconst_0
4: ldc "com.sun.imageio.plugins.gif.GIFImageReaderSpi"
aastore
5: putstatic com.sun.imageio.plugins.gif.GIFImageWriterSpi.readerSpiNames:[Ljava/lang/String;
6: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=19, locals=1, args_size=1
start local 0 0: aload 0
ldc "Oracle Corporation"
1: ldc "1.0"
2: getstatic com.sun.imageio.plugins.gif.GIFImageWriterSpi.names:[Ljava/lang/String;
3: getstatic com.sun.imageio.plugins.gif.GIFImageWriterSpi.suffixes:[Ljava/lang/String;
4: getstatic com.sun.imageio.plugins.gif.GIFImageWriterSpi.MIMETypes:[Ljava/lang/String;
5: ldc "com.sun.imageio.plugins.gif.GIFImageWriter"
6: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljavax/imageio/stream/ImageOutputStream;
aastore
7: getstatic com.sun.imageio.plugins.gif.GIFImageWriterSpi.readerSpiNames:[Ljava/lang/String;
8: iconst_1
9: ldc "javax_imageio_gif_stream_1.0"
10: ldc "com.sun.imageio.plugins.gif.GIFStreamMetadataFormat"
11: aconst_null
aconst_null
12: iconst_1
13: ldc "javax_imageio_gif_image_1.0"
14: ldc "com.sun.imageio.plugins.gif.GIFImageMetadataFormat"
15: aconst_null
aconst_null
invokespecial javax.imageio.spi.ImageWriterSpi.<init>:(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Class;[Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
16: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriterSpi;
public boolean canEncodeImage(javax.imageio.ImageTypeSpecifier);
descriptor: (Ljavax/imageio/ImageTypeSpecifier;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "type == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.imageio.ImageTypeSpecifier.getSampleModel:()Ljava/awt/image/SampleModel;
astore 2
start local 2 3: aload 1
invokevirtual javax.imageio.ImageTypeSpecifier.getColorModel:()Ljava/awt/image/ColorModel;
astore 3
start local 3 4: aload 2
invokevirtual java.awt.image.SampleModel.getNumBands:()I
iconst_1
if_icmpne 11
5: aload 2
iconst_0
invokevirtual java.awt.image.SampleModel.getSampleSize:(I)I
bipush 8
if_icmpgt 11
6: aload 2
invokevirtual java.awt.image.SampleModel.getWidth:()I
ldc 65535
if_icmpgt 11
7: aload 2
invokevirtual java.awt.image.SampleModel.getHeight:()I
ldc 65535
if_icmpgt 11
8: aload 3
ifnull 10
aload 3
invokevirtual java.awt.image.ColorModel.getComponentSize:()[I
iconst_0
iaload
bipush 8
9: if_icmpgt 11
StackMap locals: java.awt.image.SampleModel java.awt.image.ColorModel
StackMap stack:
10: iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: istore 4
start local 4 13: iload 4
ifeq 15
14: iconst_1
ireturn
15: StackMap locals: int
StackMap stack:
aload 1
invokestatic com.sun.imageio.plugins.common.PaletteBuilder.canCreatePalette:(Ljavax/imageio/ImageTypeSpecifier;)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriterSpi;
0 16 1 type Ljavax/imageio/ImageTypeSpecifier;
3 16 2 sm Ljava/awt/image/SampleModel;
4 16 3 cm Ljava/awt/image/ColorModel;
13 16 4 canEncode Z
MethodParameters:
Name Flags
type
public java.lang.String getDescription(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: ldc "Standard GIF image writer"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriterSpi;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public javax.imageio.ImageWriter createWriterInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljavax/imageio/ImageWriter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.imageio.plugins.gif.GIFImageWriter
dup
aload 0
invokespecial com.sun.imageio.plugins.gif.GIFImageWriter.<init>:(Lcom/sun/imageio/plugins/gif/GIFImageWriterSpi;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/gif/GIFImageWriterSpi;
0 1 1 extension Ljava/lang/Object;
MethodParameters:
Name Flags
extension
}
SourceFile: "GIFImageWriterSpi.java"