public class com.sun.org.apache.bcel.internal.util.SyntheticRepository implements com.sun.org.apache.bcel.internal.util.Repository
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.org.apache.bcel.internal.util.SyntheticRepository
super_class: java.lang.Object
{
private static java.util.HashMap _instances;
descriptor: Ljava/util/HashMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.util.HashMap _loadedClasses;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic com.sun.org.apache.bcel.internal.util.SyntheticRepository._instances:Ljava/util/HashMap;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.sun.org.apache.bcel.internal.util.SyntheticRepository._loadedClasses:Ljava/util/HashMap;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
public static com.sun.org.apache.bcel.internal.util.SyntheticRepository getInstance();
descriptor: ()Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.org.apache.bcel.internal.util.SyntheticRepository
dup
invokespecial com.sun.org.apache.bcel.internal.util.SyntheticRepository.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public void storeClass(com.sun.org.apache.bcel.internal.classfile.JavaClass);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.bcel.internal.util.SyntheticRepository._loadedClasses:Ljava/util/HashMap;
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.JavaClass.getClassName:()Ljava/lang/String;
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
aload 0
invokevirtual com.sun.org.apache.bcel.internal.classfile.JavaClass.setRepository:(Lcom/sun/org/apache/bcel/internal/util/Repository;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
0 3 1 clazz Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
MethodParameters:
Name Flags
clazz
public void removeClass(com.sun.org.apache.bcel.internal.classfile.JavaClass);
descriptor: (Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.bcel.internal.util.SyntheticRepository._loadedClasses:Ljava/util/HashMap;
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.JavaClass.getClassName:()Ljava/lang/String;
invokevirtual java.util.HashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
0 2 1 clazz Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
MethodParameters:
Name Flags
clazz
public com.sun.org.apache.bcel.internal.classfile.JavaClass findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.bcel.internal.util.SyntheticRepository._loadedClasses:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.classfile.JavaClass
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
0 1 1 className Ljava/lang/String;
MethodParameters:
Name Flags
className
public com.sun.org.apache.bcel.internal.classfile.JavaClass loadClass(java.lang.String);
descriptor: (Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid class name "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 1
3: new java.io.IOException
dup
new java.lang.StringBuilder
dup
ldc "Couldn't find: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".class"
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
astore 2
start local 2 4: new java.lang.ClassNotFoundException
dup
new java.lang.StringBuilder
dup
ldc "Exception while looking for class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
0 7 1 className Ljava/lang/String;
4 7 2 e Ljava/io/IOException;
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
className
public com.sun.org.apache.bcel.internal.classfile.JavaClass loadClass(java.lang.Class);
descriptor: (Ljava/lang/Class;)Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
astore 2
start local 2 1: aload 2
astore 3
start local 3 2: aload 3
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4
start local 4 3: iload 4
ifle 5
4: aload 3
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 3
5: StackMap locals: java.lang.String java.lang.String int
StackMap stack:
aload 0
aload 1
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
aload 2
invokevirtual com.sun.org.apache.bcel.internal.util.SyntheticRepository.loadClass:(Ljava/io/InputStream;Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
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 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
0 6 1 clazz Ljava/lang/Class;
1 6 2 className Ljava/lang/String;
2 6 3 name Ljava/lang/String;
3 6 4 i I
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
clazz
private com.sun.org.apache.bcel.internal.classfile.JavaClass loadClass(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual com.sun.org.apache.bcel.internal.util.SyntheticRepository.findClass:(Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: com.sun.org.apache.bcel.internal.classfile.JavaClass
StackMap stack:
aload 1
ifnull 13
4: new com.sun.org.apache.bcel.internal.classfile.ClassParser
dup
aload 1
aload 2
invokespecial com.sun.org.apache.bcel.internal.classfile.ClassParser.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 4
start local 4 5: aload 4
invokevirtual com.sun.org.apache.bcel.internal.classfile.ClassParser.parse:()Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
astore 3
6: aload 0
aload 3
invokevirtual com.sun.org.apache.bcel.internal.util.SyntheticRepository.storeClass:(Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;)V
7: aload 3
8: areturn
end local 4 9: StackMap locals:
StackMap stack: java.io.IOException
astore 4
start local 4 10: new java.lang.ClassNotFoundException
dup
new java.lang.StringBuilder
dup
ldc "Exception while looking for class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
11: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 4
invokevirtual java.io.IOException.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 4 13: StackMap locals:
StackMap stack:
new java.lang.ClassNotFoundException
dup
new java.lang.StringBuilder
dup
ldc "SyntheticRepository could not load "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
0 16 1 is Ljava/io/InputStream;
0 16 2 className Ljava/lang/String;
1 16 3 clazz Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
5 9 4 parser Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
10 13 4 e Ljava/io/IOException;
Exception table:
from to target type
3 8 9 Class java.io.IOException
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
is
className
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.org.apache.bcel.internal.util.SyntheticRepository._loadedClasses:Ljava/util/HashMap;
invokevirtual java.util.HashMap.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
}
SourceFile: "SyntheticRepository.java"