public class org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber
super_class: java.lang.Object
{
int offset;
descriptor: I
flags: (0x0000)
byte[] magicNumber;
descriptor: [B
flags: (0x0000)
byte[] buffer;
descriptor: [B
flags: (0x0000)
public void <init>(int, byte[]);
descriptor: (I[B)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
invokespecial java.lang.Object.<init>:()V
1: aload 0
iload 1
putfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.offset:I
2: aload 0
aload 2
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.magicNumber:[B
3: aload 0
aload 2
arraylength
newarray 8
putfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.buffer:[B
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry$MagicNumber;
0 5 1 offset I
0 5 2 magicNumber [B
MethodParameters:
Name Flags
offset
magicNumber
int getReadlimit();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.offset:I
aload 0
getfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.magicNumber:[B
arraylength
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry$MagicNumber;
boolean isMatch(java.io.InputStream);
descriptor: (Ljava/io/InputStream;)Z
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
aload 0
invokevirtual org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.getReadlimit:()I
invokevirtual java.io.InputStream.mark:(I)V
2: goto 11
3: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.offset:I
iload 2
isub
i2l
invokevirtual java.io.InputStream.skip:(J)J
l2i
istore 3
start local 3 4: iload 3
iconst_m1
if_icmpne 10
5: aload 1
invokevirtual java.io.InputStream.reset:()V
6: goto 9
StackMap locals: org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber java.io.InputStream int int
StackMap stack: java.io.IOException
7: astore 5
start local 5 8: new java.io.StreamCorruptedException
dup
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.io.StreamCorruptedException.<init>:(Ljava/lang/String;)V
athrow
end local 5 9: StackMap locals:
StackMap stack:
iconst_0
ireturn
10: StackMap locals:
StackMap stack:
iload 2
iload 3
iadd
istore 2
end local 3 11: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.offset:I
if_icmplt 3
12: iconst_0
istore 2
13: goto 22
14: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.buffer:[B
iload 2
aload 0
getfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.buffer:[B
arraylength
iload 2
isub
invokevirtual java.io.InputStream.read:([BII)I
istore 3
start local 3 15: iload 3
iconst_m1
if_icmpne 21
16: aload 1
invokevirtual java.io.InputStream.reset:()V
17: goto 20
StackMap locals: org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber java.io.InputStream int int
StackMap stack: java.io.IOException
18: astore 5
start local 5 19: new java.io.StreamCorruptedException
dup
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.io.StreamCorruptedException.<init>:(Ljava/lang/String;)V
athrow
end local 5 20: StackMap locals:
StackMap stack:
iconst_0
ireturn
21: StackMap locals:
StackMap stack:
iload 2
iload 3
iadd
istore 2
end local 3 22: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.buffer:[B
arraylength
if_icmplt 14
23: iconst_0
istore 3
start local 3 24: goto 32
25: StackMap locals: int
StackMap stack:
aload 0
getfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.magicNumber:[B
iload 3
baload
aload 0
getfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.buffer:[B
iload 3
baload
if_icmpeq 31
26: aload 1
invokevirtual java.io.InputStream.reset:()V
27: goto 30
StackMap locals:
StackMap stack: java.io.IOException
28: astore 5
start local 5 29: new java.io.StreamCorruptedException
dup
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.io.StreamCorruptedException.<init>:(Ljava/lang/String;)V
athrow
end local 5 30: StackMap locals:
StackMap stack:
iconst_0
ireturn
31: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
32: iload 3
aload 0
getfield org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber.magicNumber:[B
arraylength
if_icmplt 25
end local 3 33: goto 46
StackMap locals: org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber java.io.InputStream int
StackMap stack: java.io.IOException
34: pop
35: aload 1
invokevirtual java.io.InputStream.reset:()V
36: goto 39
StackMap locals:
StackMap stack: java.io.IOException
37: astore 5
start local 5 38: new java.io.StreamCorruptedException
dup
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.io.StreamCorruptedException.<init>:(Ljava/lang/String;)V
athrow
end local 5 39: StackMap locals:
StackMap stack:
iconst_0
ireturn
40: StackMap locals:
StackMap stack: java.lang.Throwable
astore 4
41: aload 1
invokevirtual java.io.InputStream.reset:()V
42: goto 45
StackMap locals: org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber java.io.InputStream int top java.lang.Throwable
StackMap stack: java.io.IOException
43: astore 5
start local 5 44: new java.io.StreamCorruptedException
dup
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.io.StreamCorruptedException.<init>:(Ljava/lang/String;)V
athrow
end local 5 45: StackMap locals:
StackMap stack:
aload 4
athrow
46: StackMap locals: org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber java.io.InputStream int
StackMap stack:
aload 1
invokevirtual java.io.InputStream.reset:()V
47: goto 50
StackMap locals:
StackMap stack: java.io.IOException
48: astore 5
start local 5 49: new java.io.StreamCorruptedException
dup
aload 5
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokespecial java.io.StreamCorruptedException.<init>:(Ljava/lang/String;)V
athrow
end local 5 50: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 this Lorg/apache/batik/ext/awt/image/spi/MagicNumberRegistryEntry$MagicNumber;
0 51 1 is Ljava/io/InputStream;
1 51 2 idx I
4 11 3 rn I
15 22 3 rn I
24 33 3 i I
8 9 5 ioe Ljava/io/IOException;
19 20 5 ioe Ljava/io/IOException;
29 30 5 ioe Ljava/io/IOException;
38 39 5 ioe Ljava/io/IOException;
44 45 5 ioe Ljava/io/IOException;
49 50 5 ioe Ljava/io/IOException;
Exception table:
from to target type
5 6 7 Class java.io.IOException
16 17 18 Class java.io.IOException
26 27 28 Class java.io.IOException
2 5 34 Class java.io.IOException
10 16 34 Class java.io.IOException
21 26 34 Class java.io.IOException
31 33 34 Class java.io.IOException
35 36 37 Class java.io.IOException
2 5 40 any
10 16 40 any
21 26 40 any
31 35 40 any
41 42 43 Class java.io.IOException
46 47 48 Class java.io.IOException
Exceptions:
throws java.io.StreamCorruptedException
MethodParameters:
Name Flags
is
}
SourceFile: "MagicNumberRegistryEntry.java"
NestHost: org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry
InnerClasses:
public MagicNumber = org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry$MagicNumber of org.apache.batik.ext.awt.image.spi.MagicNumberRegistryEntry