public class org.aspectj.apache.bcel.util.SyntheticRepository implements org.aspectj.apache.bcel.util.Repository
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.aspectj.apache.bcel.util.SyntheticRepository
super_class: java.lang.Object
{
private static final java.lang.String DEFAULT_PATH;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static java.util.HashMap<org.aspectj.apache.bcel.util.ClassPath, org.aspectj.apache.bcel.util.SyntheticRepository> _instances;
descriptor: Ljava/util/HashMap;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljava/util/HashMap<Lorg/aspectj/apache/bcel/util/ClassPath;Lorg/aspectj/apache/bcel/util/SyntheticRepository;>;
private org.aspectj.apache.bcel.util.ClassPath _path;
descriptor: Lorg/aspectj/apache/bcel/util/ClassPath;
flags: (0x0002) ACC_PRIVATE
private java.util.WeakHashMap<java.lang.String, org.aspectj.apache.bcel.classfile.JavaClass> _loadedClasses;
descriptor: Ljava/util/WeakHashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/WeakHashMap<Ljava/lang/String;Lorg/aspectj/apache/bcel/classfile/JavaClass;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic org.aspectj.apache.bcel.util.ClassPath.getClassPath:()Ljava/lang/String;
putstatic org.aspectj.apache.bcel.util.SyntheticRepository.DEFAULT_PATH:Ljava/lang/String;
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic org.aspectj.apache.bcel.util.SyntheticRepository._instances:Ljava/util/HashMap;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(org.aspectj.apache.bcel.util.ClassPath);
descriptor: (Lorg/aspectj/apache/bcel/util/ClassPath;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.aspectj.apache.bcel.util.SyntheticRepository._path:Lorg/aspectj/apache/bcel/util/ClassPath;
2: aload 0
new java.util.WeakHashMap
dup
invokespecial java.util.WeakHashMap.<init>:()V
putfield org.aspectj.apache.bcel.util.SyntheticRepository._loadedClasses:Ljava/util/WeakHashMap;
3: aload 0
aload 1
putfield org.aspectj.apache.bcel.util.SyntheticRepository._path:Lorg/aspectj/apache/bcel/util/ClassPath;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/aspectj/apache/bcel/util/SyntheticRepository;
0 5 1 path Lorg/aspectj/apache/bcel/util/ClassPath;
MethodParameters:
Name Flags
path
public static org.aspectj.apache.bcel.util.SyntheticRepository getInstance();
descriptor: ()Lorg/aspectj/apache/bcel/util/SyntheticRepository;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.aspectj.apache.bcel.util.ClassPath.getSystemClassPath:()Lorg/aspectj/apache/bcel/util/ClassPath;
invokestatic org.aspectj.apache.bcel.util.SyntheticRepository.getInstance:(Lorg/aspectj/apache/bcel/util/ClassPath;)Lorg/aspectj/apache/bcel/util/SyntheticRepository;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static org.aspectj.apache.bcel.util.SyntheticRepository getInstance(org.aspectj.apache.bcel.util.ClassPath);
descriptor: (Lorg/aspectj/apache/bcel/util/ClassPath;)Lorg/aspectj/apache/bcel/util/SyntheticRepository;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: getstatic org.aspectj.apache.bcel.util.SyntheticRepository._instances:Ljava/util/HashMap;
aload 0
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.aspectj.apache.bcel.util.SyntheticRepository
astore 1
start local 1 1: aload 1
ifnonnull 4
2: new org.aspectj.apache.bcel.util.SyntheticRepository
dup
aload 0
invokespecial org.aspectj.apache.bcel.util.SyntheticRepository.<init>:(Lorg/aspectj/apache/bcel/util/ClassPath;)V
astore 1
3: getstatic org.aspectj.apache.bcel.util.SyntheticRepository._instances:Ljava/util/HashMap;
aload 0
aload 1
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: StackMap locals: org.aspectj.apache.bcel.util.SyntheticRepository
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 classPath Lorg/aspectj/apache/bcel/util/ClassPath;
1 5 1 rep Lorg/aspectj/apache/bcel/util/SyntheticRepository;
MethodParameters:
Name Flags
classPath
public void storeClass(org.aspectj.apache.bcel.classfile.JavaClass);
descriptor: (Lorg/aspectj/apache/bcel/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 org.aspectj.apache.bcel.util.SyntheticRepository._loadedClasses:Ljava/util/WeakHashMap;
aload 1
invokevirtual org.aspectj.apache.bcel.classfile.JavaClass.getClassName:()Ljava/lang/String;
aload 1
invokevirtual java.util.WeakHashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
aload 0
invokevirtual org.aspectj.apache.bcel.classfile.JavaClass.setRepository:(Lorg/aspectj/apache/bcel/util/Repository;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/aspectj/apache/bcel/util/SyntheticRepository;
0 3 1 clazz Lorg/aspectj/apache/bcel/classfile/JavaClass;
MethodParameters:
Name Flags
clazz
public void removeClass(org.aspectj.apache.bcel.classfile.JavaClass);
descriptor: (Lorg/aspectj/apache/bcel/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 org.aspectj.apache.bcel.util.SyntheticRepository._loadedClasses:Ljava/util/WeakHashMap;
aload 1
invokevirtual org.aspectj.apache.bcel.classfile.JavaClass.getClassName:()Ljava/lang/String;
invokevirtual java.util.WeakHashMap.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 Lorg/aspectj/apache/bcel/util/SyntheticRepository;
0 2 1 clazz Lorg/aspectj/apache/bcel/classfile/JavaClass;
MethodParameters:
Name Flags
clazz
public org.aspectj.apache.bcel.classfile.JavaClass findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/aspectj/apache/bcel/classfile/JavaClass;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.aspectj.apache.bcel.util.SyntheticRepository._loadedClasses:Ljava/util/WeakHashMap;
aload 1
invokevirtual java.util.WeakHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.aspectj.apache.bcel.classfile.JavaClass
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/aspectj/apache/bcel/util/SyntheticRepository;
0 1 1 className Ljava/lang/String;
MethodParameters:
Name Flags
className
public org.aspectj.apache.bcel.classfile.JavaClass loadClass(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/aspectj/apache/bcel/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: aload 0
aload 0
getfield org.aspectj.apache.bcel.util.SyntheticRepository._path:Lorg/aspectj/apache/bcel/util/ClassPath;
aload 1
invokevirtual org.aspectj.apache.bcel.util.ClassPath.getInputStream:(Ljava/lang/String;)Ljava/io/InputStream;
aload 1
invokevirtual org.aspectj.apache.bcel.util.SyntheticRepository.loadClass:(Ljava/io/InputStream;Ljava/lang/String;)Lorg/aspectj/apache/bcel/classfile/JavaClass;
4: areturn
5: StackMap locals:
StackMap stack: java.io.IOException
astore 2
start local 2 6: 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
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;
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 Lorg/aspectj/apache/bcel/util/SyntheticRepository;
0 7 1 className Ljava/lang/String;
6 7 2 e Ljava/io/IOException;
Exception table:
from to target type
3 4 5 Class java.io.IOException
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
className
public org.aspectj.apache.bcel.classfile.JavaClass loadClass(java.lang.Class);
descriptor: (Ljava/lang/Class;)Lorg/aspectj/apache/bcel/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 org.aspectj.apache.bcel.util.SyntheticRepository.loadClass:(Ljava/io/InputStream;Ljava/lang/String;)Lorg/aspectj/apache/bcel/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 Lorg/aspectj/apache/bcel/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 org.aspectj.apache.bcel.classfile.JavaClass loadClass(java.io.InputStream, java.lang.String);
descriptor: (Ljava/io/InputStream;Ljava/lang/String;)Lorg/aspectj/apache/bcel/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 org.aspectj.apache.bcel.util.SyntheticRepository.findClass:(Ljava/lang/String;)Lorg/aspectj/apache/bcel/classfile/JavaClass;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: org.aspectj.apache.bcel.classfile.JavaClass
StackMap stack:
aload 1
ifnull 11
4: new org.aspectj.apache.bcel.classfile.ClassParser
dup
aload 1
aload 2
invokespecial org.aspectj.apache.bcel.classfile.ClassParser.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 4
start local 4 5: aload 4
invokevirtual org.aspectj.apache.bcel.classfile.ClassParser.parse:()Lorg/aspectj/apache/bcel/classfile/JavaClass;
astore 3
6: aload 0
aload 3
invokevirtual org.aspectj.apache.bcel.util.SyntheticRepository.storeClass:(Lorg/aspectj/apache/bcel/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
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;
invokespecial java.lang.ClassNotFoundException.<init>:(Ljava/lang/String;)V
athrow
end local 4 11: 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
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
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 12 0 this Lorg/aspectj/apache/bcel/util/SyntheticRepository;
0 12 1 is Ljava/io/InputStream;
0 12 2 className Ljava/lang/String;
1 12 3 clazz Lorg/aspectj/apache/bcel/classfile/JavaClass;
5 9 4 parser Lorg/aspectj/apache/bcel/classfile/ClassParser;
10 11 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 org.aspectj.apache.bcel.util.SyntheticRepository._loadedClasses:Ljava/util/WeakHashMap;
invokevirtual java.util.WeakHashMap.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/aspectj/apache/bcel/util/SyntheticRepository;
}
SourceFile: "SyntheticRepository.java"