public class com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi extends javax.imageio.spi.ImageReaderSpi
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi
super_class: javax.imageio.spi.ImageReaderSpi
{
private static final int MAX_WBMP_WIDTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1024
private static final int MAX_WBMP_HEIGHT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 768
private static java.lang.String[] writerSpiNames;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String[] formatNames;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String[] entensions;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.lang.String[] mimeType;
descriptor: [Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private boolean registered;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "com.sun.imageio.plugins.wbmp.WBMPImageWriterSpi"
aastore
1: putstatic com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi.writerSpiNames:[Ljava/lang/String;
2: iconst_2
anewarray java.lang.String
dup
iconst_0
ldc "wbmp"
aastore
dup
iconst_1
ldc "WBMP"
aastore
putstatic com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi.formatNames:[Ljava/lang/String;
3: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "wbmp"
aastore
putstatic com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi.entensions:[Ljava/lang/String;
4: iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "image/vnd.wap.wbmp"
aastore
putstatic com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi.mimeType:[Ljava/lang/String;
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.wbmp.WBMPImageReaderSpi.formatNames:[Ljava/lang/String;
3: getstatic com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi.entensions:[Ljava/lang/String;
4: getstatic com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi.mimeType:[Ljava/lang/String;
5: ldc "com.sun.imageio.plugins.wbmp.WBMPImageReader"
6: iconst_1
anewarray java.lang.Class
dup
iconst_0
ldc Ljavax/imageio/stream/ImageInputStream;
aastore
7: getstatic com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi.writerSpiNames:[Ljava/lang/String;
8: iconst_1
9: aconst_null
aconst_null
aconst_null
aconst_null
10: iconst_1
11: ldc "javax_imageio_wbmp_1.0"
12: ldc "com.sun.imageio.plugins.wbmp.WBMPMetadataFormat"
13: aconst_null
aconst_null
invokespecial javax.imageio.spi.ImageReaderSpi.<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
14: aload 0
iconst_0
putfield com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi.registered:Z
15: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageReaderSpi;
public void onRegistration(javax.imageio.spi.ServiceRegistry, java.lang.Class<?>);
descriptor: (Ljavax/imageio/spi/ServiceRegistry;Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi.registered:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi.registered:Z
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageReaderSpi;
0 4 1 registry Ljavax/imageio/spi/ServiceRegistry;
0 4 2 category Ljava/lang/Class<*>;
Signature: (Ljavax/imageio/spi/ServiceRegistry;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
registry
category
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 WBMP Image Reader"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageReaderSpi;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
public boolean canDecodeInput(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.imageio.stream.ImageInputStream
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast javax.imageio.stream.ImageInputStream
astore 2
start local 2 3: aload 2
invokeinterface javax.imageio.stream.ImageInputStream.mark:()V
4: aload 2
invokeinterface javax.imageio.stream.ImageInputStream.readByte:()B
istore 3
start local 3 5: aload 2
invokeinterface javax.imageio.stream.ImageInputStream.readByte:()B
istore 4
start local 4 6: iload 3
ifne 7
iload 4
ifeq 9
7: StackMap locals: javax.imageio.stream.ImageInputStream int int
StackMap stack:
aload 2
invokeinterface javax.imageio.stream.ImageInputStream.reset:()V
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 2
invokestatic com.sun.imageio.plugins.common.ReaderUtil.readMultiByteInteger:(Ljavax/imageio/stream/ImageInputStream;)I
istore 5
start local 5 10: aload 2
invokestatic com.sun.imageio.plugins.common.ReaderUtil.readMultiByteInteger:(Ljavax/imageio/stream/ImageInputStream;)I
istore 6
start local 6 11: iload 5
ifle 12
iload 6
ifgt 14
12: StackMap locals: int int
StackMap stack:
aload 2
invokeinterface javax.imageio.stream.ImageInputStream.reset:()V
13: iconst_0
ireturn
14: StackMap locals:
StackMap stack:
aload 2
invokeinterface javax.imageio.stream.ImageInputStream.length:()J
lstore 7
start local 7 15: lload 7
ldc -1
lcmp
ifne 19
16: aload 2
invokeinterface javax.imageio.stream.ImageInputStream.reset:()V
17: iload 5
sipush 1024
if_icmpge 18
iload 6
sipush 768
if_icmpge 18
iconst_1
ireturn
StackMap locals: long
StackMap stack:
18: iconst_0
ireturn
19: StackMap locals:
StackMap stack:
lload 7
aload 2
invokeinterface javax.imageio.stream.ImageInputStream.getStreamPosition:()J
lsub
lstore 7
20: aload 2
invokeinterface javax.imageio.stream.ImageInputStream.reset:()V
21: iload 5
bipush 8
idiv
iload 5
bipush 8
irem
ifne 22
iconst_0
goto 23
StackMap locals:
StackMap stack: int
22: iconst_1
StackMap locals: com.sun.imageio.plugins.wbmp.WBMPImageReaderSpi java.lang.Object javax.imageio.stream.ImageInputStream int int int int long
StackMap stack: int int
23: iadd
i2l
lstore 9
start local 9 24: lload 7
lload 9
iload 6
i2l
lmul
lcmp
ifne 25
iconst_1
ireturn
StackMap locals: long
StackMap stack:
25: iconst_0
ireturn
end local 9 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 26 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageReaderSpi;
0 26 1 source Ljava/lang/Object;
3 26 2 stream Ljavax/imageio/stream/ImageInputStream;
5 26 3 type I
6 26 4 fixHeaderField I
10 26 5 width I
11 26 6 height I
15 26 7 dataLength J
24 26 9 scanSize J
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
source
public javax.imageio.ImageReader createReaderInstance(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljavax/imageio/ImageReader;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.imageio.plugins.wbmp.WBMPImageReader
dup
aload 0
invokespecial com.sun.imageio.plugins.wbmp.WBMPImageReader.<init>:(Ljavax/imageio/spi/ImageReaderSpi;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/wbmp/WBMPImageReaderSpi;
0 1 1 extension Ljava/lang/Object;
Exceptions:
throws javax.imageio.IIOException
MethodParameters:
Name Flags
extension
}
SourceFile: "WBMPImageReaderSpi.java"