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 final java.util.Map<java.lang.String, java.lang.ref.SoftReference<com.sun.org.apache.bcel.internal.classfile.JavaClass>> loadedClasses;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/ref/SoftReference<Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;>;>;
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/Map;
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=5, 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/Map;
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.JavaClass.getClassName:()Ljava/lang/String;
new java.lang.ref.SoftReference
dup
aload 1
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
invokeinterface java.util.Map.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 final
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/Map;
aload 1
invokevirtual com.sun.org.apache.bcel.internal.classfile.JavaClass.getClassName:()Ljava/lang/String;
invokeinterface java.util.Map.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 final
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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.org.apache.bcel.internal.util.SyntheticRepository.loadedClasses:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.ref.SoftReference
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: java.lang.ref.SoftReference
StackMap stack:
aload 2
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast com.sun.org.apache.bcel.internal.classfile.JavaClass
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
0 4 1 className Ljava/lang/String;
1 4 2 ref Ljava/lang/ref/SoftReference<Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;>;
MethodParameters:
Name Flags
className final
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=4, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.isEmpty:()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: aload 0
aload 1
invokevirtual com.sun.org.apache.bcel.internal.util.SyntheticRepository.findClass:(Ljava/lang/String;)Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 2
areturn
6: StackMap locals: com.sun.org.apache.bcel.internal.classfile.JavaClass
StackMap stack:
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 3
start local 3 7: 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
8: 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 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
9: invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
0 10 1 className Ljava/lang/String;
4 10 2 clazz Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
7 10 3 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=4, locals=10, 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 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 2: aload 3
ifnull 4
3: aload 3
areturn
4: StackMap locals: java.lang.String com.sun.org.apache.bcel.internal.classfile.JavaClass
StackMap stack:
aload 2
astore 4
start local 4 5: aload 4
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 5
start local 5 6: iload 5
ifle 8
7: aload 4
iload 5
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 4
8: StackMap locals: java.lang.String int
StackMap stack:
aconst_null
astore 6
start local 6 9: aconst_null
astore 7
aconst_null
astore 8
10: aload 1
new java.lang.StringBuilder
dup
aload 4
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;
astore 9
start local 9 11: aload 0
aload 9
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;
dup
astore 6
12: aload 9
ifnull 13
aload 9
invokevirtual java.io.InputStream.close:()V
13: StackMap locals: com.sun.org.apache.bcel.internal.util.SyntheticRepository java.lang.Class java.lang.String com.sun.org.apache.bcel.internal.classfile.JavaClass java.lang.String int com.sun.org.apache.bcel.internal.classfile.JavaClass java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack: com.sun.org.apache.bcel.internal.classfile.JavaClass
areturn
StackMap locals:
StackMap stack: java.lang.Throwable
14: astore 7
15: aload 9
ifnull 16
aload 9
invokevirtual java.io.InputStream.close:()V
end local 9 StackMap locals:
StackMap stack:
16: aload 7
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
17: astore 8
aload 7
ifnonnull 18
aload 8
astore 7
goto 19
StackMap locals:
StackMap stack:
18: aload 7
aload 8
if_acmpeq 19
aload 7
aload 8
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
19: aload 7
athrow
StackMap locals: com.sun.org.apache.bcel.internal.util.SyntheticRepository java.lang.Class java.lang.String com.sun.org.apache.bcel.internal.classfile.JavaClass java.lang.String int com.sun.org.apache.bcel.internal.classfile.JavaClass
StackMap stack: java.io.IOException
20: pop
21: aload 6
areturn
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 22 0 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
0 22 1 clazz Ljava/lang/Class<*>;
1 22 2 className Ljava/lang/String;
2 22 3 repositoryClass Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
5 22 4 name Ljava/lang/String;
6 22 5 i I
9 22 6 cls Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
11 16 9 clsStream Ljava/io/InputStream;
Exception table:
from to target type
11 12 14 any
10 13 17 any
14 17 17 any
9 13 20 Class java.io.IOException
14 20 20 Class java.io.IOException
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/Class<*>;)Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
MethodParameters:
Name Flags
clazz final
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=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 20
1: 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 3
start local 3 2: aload 3
invokevirtual com.sun.org.apache.bcel.internal.classfile.ClassParser.parse:()Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
astore 4
start local 4 3: aload 0
aload 4
invokevirtual com.sun.org.apache.bcel.internal.util.SyntheticRepository.storeClass:(Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;)V
4: aload 4
astore 6
5: aload 1
ifnull 9
6: aload 1
invokevirtual java.io.InputStream.close:()V
7: goto 9
StackMap locals: com.sun.org.apache.bcel.internal.util.SyntheticRepository java.io.InputStream java.lang.String com.sun.org.apache.bcel.internal.classfile.ClassParser com.sun.org.apache.bcel.internal.classfile.JavaClass top com.sun.org.apache.bcel.internal.classfile.JavaClass
StackMap stack: java.io.IOException
8: pop
9: StackMap locals:
StackMap stack:
aload 6
areturn
end local 4 end local 3 10: StackMap locals: com.sun.org.apache.bcel.internal.util.SyntheticRepository java.io.InputStream java.lang.String
StackMap stack: java.io.IOException
astore 3
start local 3 11: 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
12: 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 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
13: invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 14: StackMap locals:
StackMap stack: java.lang.Throwable
astore 5
15: aload 1
ifnull 19
16: aload 1
invokevirtual java.io.InputStream.close:()V
17: goto 19
StackMap locals: com.sun.org.apache.bcel.internal.util.SyntheticRepository java.io.InputStream java.lang.String top top java.lang.Throwable
StackMap stack: java.io.IOException
18: pop
19: StackMap locals:
StackMap stack:
aload 5
athrow
20: StackMap locals: com.sun.org.apache.bcel.internal.util.SyntheticRepository java.io.InputStream java.lang.String
StackMap stack:
aload 1
ifnull 24
21: aload 1
invokevirtual java.io.InputStream.close:()V
22: goto 24
StackMap locals:
StackMap stack: java.io.IOException
23: pop
24: 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
25: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
26: 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 27 0 this Lcom/sun/org/apache/bcel/internal/util/SyntheticRepository;
0 27 1 is Ljava/io/InputStream;
0 27 2 className Ljava/lang/String;
2 10 3 parser Lcom/sun/org/apache/bcel/internal/classfile/ClassParser;
3 10 4 clazz Lcom/sun/org/apache/bcel/internal/classfile/JavaClass;
11 14 3 e Ljava/io/IOException;
Exception table:
from to target type
6 7 8 Class java.io.IOException
0 5 10 Class java.io.IOException
0 5 14 any
10 14 14 any
16 17 18 Class java.io.IOException
21 22 23 Class java.io.IOException
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
is final
className final
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/Map;
invokeinterface java.util.Map.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"