public final class com.sun.org.apache.bcel.internal.classfile.ClassParser
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.classfile.ClassParser
super_class: java.lang.Object
{
private java.io.DataInputStream dataInputStream;
descriptor: Ljava/io/DataInputStream;
flags: (0x0002) ACC_PRIVATE
private final boolean fileOwned;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String file_name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.String zip_file;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private int class_name_index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int superclass_name_index;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int major;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int minor;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int access_flags;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int[] interfaces;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.bcel.internal.classfile.ConstantPool constant_pool;
descriptor: Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.bcel.internal.classfile.Field[] fields;
descriptor: [Lcom/sun/org/apache/bcel/internal/classfile/Field;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.bcel.internal.classfile.Method[] methods;
descriptor: [Lcom/sun/org/apache/bcel/internal/classfile/Method;
flags: (0x0002) ACC_PRIVATE
private com.sun.org.apache.bcel.internal.classfile.Attribute[] attributes;
descriptor: [Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
flags: (0x0002) ACC_PRIVATE
private final boolean is_zip;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int BUFSIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8192
public void <init>(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.file_name:Ljava/lang/String;
2: aload 0
iconst_0
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.fileOwned:Z
3: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 3
start local 3 4: aload 0
aload 3
ldc "java.util.zip."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 5
aload 3
ldc "java.util.jar."
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 5
iconst_0
goto 6
StackMap locals: com.sun.org.apache.bcel.internal.classfile.ClassParser java.io.InputStream java.lang.String java.lang.String
StackMap stack: com.sun.org.apache.bcel.internal.classfile.ClassParser
5: iconst_1
StackMap locals: com.sun.org.apache.bcel.internal.classfile.ClassParser java.io.InputStream java.lang.String java.lang.String
StackMap stack: com.sun.org.apache.bcel.internal.classfile.ClassParser int
6: putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.is_zip:Z
7: aload 1
instanceof java.io.DataInputStream
ifeq 10
8: aload 0
aload 1
checkcast java.io.DataInputStream
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
new java.io.DataInputStream
dup
new java.io.BufferedInputStream
dup
aload 1
sipush 8192
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
0 12 1 inputStream Ljava/io/InputStream;
0 12 2 file_name Ljava/lang/String;
4 12 3 clazz Ljava/lang/String;
MethodParameters:
Name Flags
inputStream final
file_name final
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.is_zip:Z
2: aload 0
aload 1
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.file_name:Ljava/lang/String;
3: aload 0
iconst_1
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.fileOwned:Z
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
0 5 1 file_name Ljava/lang/String;
MethodParameters:
Name Flags
file_name final
public void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)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
iconst_1
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.is_zip:Z
2: aload 0
iconst_1
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.fileOwned:Z
3: aload 0
aload 1
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.zip_file:Ljava/lang/String;
4: aload 0
aload 2
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.file_name:Ljava/lang/String;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
0 6 1 zip_file Ljava/lang/String;
0 6 2 file_name Ljava/lang/String;
MethodParameters:
Name Flags
zip_file final
file_name final
public com.sun.org.apache.bcel.internal.classfile.JavaClass parse();
descriptor: ()Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=14, locals=4, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.fileOwned:Z
ifeq 14
2: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.is_zip:Z
ifeq 11
3: new java.util.zip.ZipFile
dup
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.zip_file:Ljava/lang/String;
invokespecial java.util.zip.ZipFile.<init>:(Ljava/lang/String;)V
astore 1
4: aload 1
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.file_name:Ljava/lang/String;
invokevirtual java.util.zip.ZipFile.getEntry:(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
astore 2
start local 2 5: aload 2
ifnonnull 7
6: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "File "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.file_name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " not found"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: java.util.zip.ZipFile java.util.zip.ZipEntry
StackMap stack:
aload 0
new java.io.DataInputStream
dup
new java.io.BufferedInputStream
dup
aload 1
aload 2
invokevirtual java.util.zip.ZipFile.getInputStream:(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;
8: sipush 8192
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
9: putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
end local 2 10: goto 14
11: StackMap locals:
StackMap stack:
aload 0
new java.io.DataInputStream
dup
new java.io.BufferedInputStream
dup
new java.io.FileInputStream
dup
12: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.file_name:Ljava/lang/String;
invokespecial java.io.FileInputStream.<init>:(Ljava/lang/String;)V
sipush 8192
invokespecial java.io.BufferedInputStream.<init>:(Ljava/io/InputStream;I)V
invokespecial java.io.DataInputStream.<init>:(Ljava/io/InputStream;)V
13: putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
14: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.ClassParser.readID:()V
15: aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.ClassParser.readVersion:()V
16: aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.ClassParser.readConstantPool:()V
17: aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.ClassParser.readClassInfo:()V
18: aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.ClassParser.readInterfaces:()V
19: aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.ClassParser.readFields:()V
20: aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.ClassParser.readMethods:()V
21: aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.ClassParser.readAttributes:()V
22: goto 34
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 3
24: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.fileOwned:Z
ifeq 29
25: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
ifnull 29
26: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.close:()V
27: goto 29
StackMap locals: com.sun.org.apache.bcel.internal.classfile.ClassParser java.util.zip.ZipFile top java.lang.Throwable
StackMap stack: java.io.IOException
28: pop
29: StackMap locals:
StackMap stack:
aload 1
ifnull 33
30: aload 1
invokevirtual java.util.zip.ZipFile.close:()V
31: goto 33
StackMap locals:
StackMap stack: java.io.IOException
32: pop
33: StackMap locals:
StackMap stack:
aload 3
athrow
34: StackMap locals: com.sun.org.apache.bcel.internal.classfile.ClassParser java.util.zip.ZipFile
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.fileOwned:Z
ifeq 39
35: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
ifnull 39
36: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.close:()V
37: goto 39
StackMap locals:
StackMap stack: java.io.IOException
38: pop
39: StackMap locals:
StackMap stack:
aload 1
ifnull 43
40: aload 1
invokevirtual java.util.zip.ZipFile.close:()V
41: goto 43
StackMap locals:
StackMap stack: java.io.IOException
42: pop
43: StackMap locals:
StackMap stack:
new com.sun.org.apache.bcel.internal.classfile.JavaClass
dup
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.class_name_index:I
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.superclass_name_index:I
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.file_name:Ljava/lang/String;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.major:I
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.minor:I
44: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.access_flags:I
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.constant_pool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.interfaces:[I
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.fields:[Lcom/sun/org/apache/bcel/internal/classfile/Field;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.methods:[Lcom/sun/org/apache/bcel/internal/classfile/Method;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.attributes:[Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.is_zip:Z
ifeq 46
45: iconst_3
goto 47
46: StackMap locals: com.sun.org.apache.bcel.internal.classfile.ClassParser java.util.zip.ZipFile
StackMap stack: new 43 new 43 int int java.lang.String int int int com.sun.org.apache.bcel.internal.classfile.ConstantPool int[] com.sun.org.apache.bcel.internal.classfile.Field[] com.sun.org.apache.bcel.internal.classfile.Method[] com.sun.org.apache.bcel.internal.classfile.Attribute[]
iconst_2
47: StackMap locals: com.sun.org.apache.bcel.internal.classfile.ClassParser java.util.zip.ZipFile
StackMap stack: new 43 new 43 int int java.lang.String int int int com.sun.org.apache.bcel.internal.classfile.ConstantPool int[] com.sun.org.apache.bcel.internal.classfile.Field[] com.sun.org.apache.bcel.internal.classfile.Method[] com.sun.org.apache.bcel.internal.classfile.Attribute[] int
invokespecial com.sun.org.apache.bcel.internal.classfile.JavaClass.<init>:(IILjava/lang/String;IIILcom/sun/org/apache/bcel/internal/classfile/ConstantPool;[I[Lcom/sun/org/apache/bcel/internal/classfile/Field;[Lcom/sun/org/apache/bcel/internal/classfile/Method;[Lcom/sun/org/apache/bcel/internal/classfile/Attribute;B)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
1 48 1 zip Ljava/util/zip/ZipFile;
5 10 2 entry Ljava/util/zip/ZipEntry;
Exception table:
from to target type
1 23 23 any
25 27 28 Class java.io.IOException
29 31 32 Class java.io.IOException
35 37 38 Class java.io.IOException
39 41 42 Class java.io.IOException
Exceptions:
throws java.io.IOException, com.sun.org.apache.bcel.internal.classfile.ClassFormatException
private void readAttributes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
istore 1
start local 1 1: aload 0
iload 1
anewarray com.sun.org.apache.bcel.internal.classfile.Attribute
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.attributes:[Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.attributes:[Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
iload 2
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.constant_pool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
invokestatic com.sun.org.apache.bcel.internal.classfile.Attribute.readAttribute:(Ljava/io/DataInputStream;Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)Lcom/sun/org/apache/bcel/internal/classfile/Attribute;
aastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 1
if_icmplt 4
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
1 8 1 attributes_count I
3 7 2 i I
Exceptions:
throws java.io.IOException, com.sun.org.apache.bcel.internal.classfile.ClassFormatException
private void readClassInfo();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.access_flags:I
1: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.access_flags:I
sipush 512
iand
ifeq 3
2: aload 0
dup
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.access_flags:I
sipush 1024
ior
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.access_flags:I
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.access_flags:I
sipush 1024
iand
ifeq 6
4: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.access_flags:I
bipush 16
iand
ifeq 6
5: new com.sun.org.apache.bcel.internal.classfile.ClassFormatException
dup
new java.lang.StringBuilder
dup
ldc "Class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.file_name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " can't be both final and abstract"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.org.apache.bcel.internal.classfile.ClassFormatException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.class_name_index:I
7: aload 0
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.superclass_name_index:I
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
Exceptions:
throws java.io.IOException, com.sun.org.apache.bcel.internal.classfile.ClassFormatException
private void readConstantPool();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
new com.sun.org.apache.bcel.internal.classfile.ConstantPool
dup
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokespecial com.sun.org.apache.bcel.internal.classfile.ConstantPool.<init>:(Ljava/io/DataInput;)V
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.constant_pool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
Exceptions:
throws java.io.IOException, com.sun.org.apache.bcel.internal.classfile.ClassFormatException
private void readFields();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
istore 1
start local 1 1: aload 0
iload 1
anewarray com.sun.org.apache.bcel.internal.classfile.Field
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.fields:[Lcom/sun/org/apache/bcel/internal/classfile/Field;
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.fields:[Lcom/sun/org/apache/bcel/internal/classfile/Field;
iload 2
new com.sun.org.apache.bcel.internal.classfile.Field
dup
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.constant_pool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
invokespecial com.sun.org.apache.bcel.internal.classfile.Field.<init>:(Ljava/io/DataInput;Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
aastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 1
if_icmplt 4
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
1 8 1 fields_count I
3 7 2 i I
Exceptions:
throws java.io.IOException, com.sun.org.apache.bcel.internal.classfile.ClassFormatException
private void readID();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readInt:()I
ldc -889275714
if_icmpeq 2
1: new com.sun.org.apache.bcel.internal.classfile.ClassFormatException
dup
new java.lang.StringBuilder
dup
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.file_name:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not a Java .class file"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial com.sun.org.apache.bcel.internal.classfile.ClassFormatException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
Exceptions:
throws java.io.IOException, com.sun.org.apache.bcel.internal.classfile.ClassFormatException
private void readInterfaces();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
istore 1
start local 1 1: aload 0
iload 1
newarray 10
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.interfaces:[I
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.interfaces:[I
iload 2
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
iastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 1
if_icmplt 4
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
1 8 1 interfaces_count I
3 7 2 i I
Exceptions:
throws java.io.IOException, com.sun.org.apache.bcel.internal.classfile.ClassFormatException
private void readMethods();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
istore 1
start local 1 1: aload 0
iload 1
anewarray com.sun.org.apache.bcel.internal.classfile.Method
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.methods:[Lcom/sun/org/apache/bcel/internal/classfile/Method;
2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: int int
StackMap stack:
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.methods:[Lcom/sun/org/apache/bcel/internal/classfile/Method;
iload 2
new com.sun.org.apache.bcel.internal.classfile.Method
dup
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.constant_pool:Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;
invokespecial com.sun.org.apache.bcel.internal.classfile.Method.<init>:(Ljava/io/DataInput;Lcom/sun/org/apache/bcel/internal/classfile/ConstantPool;)V
aastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
iload 1
if_icmplt 4
end local 2 7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
1 8 1 methods_count I
3 7 2 i I
Exceptions:
throws java.io.IOException, com.sun.org.apache.bcel.internal.classfile.ClassFormatException
private void readVersion();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.minor:I
1: aload 0
aload 0
getfield com.sun.org.apache.bcel.internal.classfile.ClassParser.dataInputStream:Ljava/io/DataInputStream;
invokevirtual java.io.DataInputStream.readUnsignedShort:()I
putfield com.sun.org.apache.bcel.internal.classfile.ClassParser.major:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
Exceptions:
throws java.io.IOException, com.sun.org.apache.bcel.internal.classfile.ClassFormatException
}
SourceFile: "ClassParser.java"