public class org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository 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.NonCachingClassLoaderRepository
super_class: java.lang.Object
{
private static java.lang.ClassLoader bootClassLoader;
descriptor: Ljava/lang/ClassLoader;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private final org.aspectj.apache.bcel.util.ClassLoaderReference loaderRef;
descriptor: Lorg/aspectj/apache/bcel/util/ClassLoaderReference;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<java.lang.String, org.aspectj.apache.bcel.classfile.JavaClass> loadedClasses;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/aspectj/apache/bcel/classfile/JavaClass;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
putstatic org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.bootClassLoader:Ljava/lang/ClassLoader;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository$SoftHashMap
dup
invokespecial org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository$SoftHashMap.<init>:()V
putfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadedClasses:Ljava/util/Map;
2: aload 0
3: new org.aspectj.apache.bcel.util.DefaultClassLoaderReference
dup
aload 1
ifnull 4
aload 1
goto 5
StackMap locals: org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository java.lang.ClassLoader
StackMap stack: org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository new 3 new 3
4: invokestatic org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.getBootClassLoader:()Ljava/lang/ClassLoader;
StackMap locals: org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository java.lang.ClassLoader
StackMap stack: org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository new 3 new 3 java.lang.ClassLoader
5: invokespecial org.aspectj.apache.bcel.util.DefaultClassLoaderReference.<init>:(Ljava/lang/ClassLoader;)V
putfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loaderRef:Lorg/aspectj/apache/bcel/util/ClassLoaderReference;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/aspectj/apache/bcel/util/NonCachingClassLoaderRepository;
0 7 1 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
loader
public void <init>(org.aspectj.apache.bcel.util.ClassLoaderReference);
descriptor: (Lorg/aspectj/apache/bcel/util/ClassLoaderReference;)V
flags: (0x0001) ACC_PUBLIC
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
new org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository$SoftHashMap
dup
invokespecial org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository$SoftHashMap.<init>:()V
putfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadedClasses:Ljava/util/Map;
2: aload 0
aload 1
putfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loaderRef:Lorg/aspectj/apache/bcel/util/ClassLoaderReference;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/aspectj/apache/bcel/util/NonCachingClassLoaderRepository;
0 4 1 loaderRef Lorg/aspectj/apache/bcel/util/ClassLoaderReference;
MethodParameters:
Name Flags
loaderRef
private static synchronized java.lang.ClassLoader getBootClassLoader();
descriptor: ()Ljava/lang/ClassLoader;
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=0, args_size=0
0: getstatic org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.bootClassLoader:Ljava/lang/ClassLoader;
ifnonnull 2
1: new java.net.URLClassLoader
dup
iconst_0
anewarray java.net.URL
invokespecial java.net.URLClassLoader.<init>:([Ljava/net/URL;)V
putstatic org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.bootClassLoader:Ljava/lang/ClassLoader;
2: StackMap locals:
StackMap stack:
getstatic org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.bootClassLoader:Ljava/lang/ClassLoader;
areturn
LocalVariableTable:
Start End Slot Name Signature
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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadedClasses:Ljava/util/Map;
dup
astore 2
monitorenter
1: aload 0
getfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadedClasses:Ljava/util/Map;
aload 1
invokevirtual org.aspectj.apache.bcel.classfile.JavaClass.getClassName:()Ljava/lang/String;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
monitorexit
3: goto 6
StackMap locals: org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository org.aspectj.apache.bcel.classfile.JavaClass java.util.Map
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual org.aspectj.apache.bcel.classfile.JavaClass.setRepository:(Lorg/aspectj/apache/bcel/util/Repository;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/aspectj/apache/bcel/util/NonCachingClassLoaderRepository;
0 8 1 clazz Lorg/aspectj/apache/bcel/classfile/JavaClass;
Exception table:
from to target type
1 3 4 any
4 5 4 any
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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadedClasses:Ljava/util/Map;
dup
astore 2
monitorenter
1: aload 0
getfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadedClasses:Ljava/util/Map;
aload 1
invokevirtual org.aspectj.apache.bcel.classfile.JavaClass.getClassName:()Ljava/lang/String;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
monitorexit
3: goto 6
StackMap locals: org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository org.aspectj.apache.bcel.classfile.JavaClass java.util.Map
StackMap stack: java.lang.Throwable
4: aload 2
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/aspectj/apache/bcel/util/NonCachingClassLoaderRepository;
0 7 1 clazz Lorg/aspectj/apache/bcel/classfile/JavaClass;
Exception table:
from to target type
1 3 4 any
4 5 4 any
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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadedClasses:Ljava/util/Map;
dup
astore 2
monitorenter
1: aload 0
getfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadedClasses:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 4
2: aload 0
getfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadedClasses:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.aspectj.apache.bcel.classfile.JavaClass
aload 2
monitorexit
3: areturn
4: StackMap locals: java.util.Map
StackMap stack:
aload 2
monitorexit
5: aconst_null
areturn
6: StackMap locals:
StackMap stack: java.lang.Throwable
aload 2
monitorexit
7: athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/aspectj/apache/bcel/util/NonCachingClassLoaderRepository;
0 8 1 className Ljava/lang/String;
Exception table:
from to target type
1 3 6 any
4 5 6 any
6 7 6 any
MethodParameters:
Name Flags
className
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadedClasses:Ljava/util/Map;
dup
astore 1
monitorenter
1: aload 0
getfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadedClasses:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
2: aload 1
monitorexit
3: goto 6
StackMap locals: org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository java.util.Map
StackMap stack: java.lang.Throwable
4: aload 1
monitorexit
5: athrow
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/aspectj/apache/bcel/util/NonCachingClassLoaderRepository;
Exception table:
from to target type
1 3 4 any
4 5 4 any
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=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.findClass:(Ljava/lang/String;)Lorg/aspectj/apache/bcel/classfile/JavaClass;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 2
areturn
3: StackMap locals: org.aspectj.apache.bcel.classfile.JavaClass
StackMap stack:
aload 0
aload 1
invokevirtual org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadJavaClass:(Ljava/lang/String;)Lorg/aspectj/apache/bcel/classfile/JavaClass;
astore 2
4: aload 0
aload 2
invokevirtual org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.storeClass:(Lorg/aspectj/apache/bcel/classfile/JavaClass;)V
5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/aspectj/apache/bcel/util/NonCachingClassLoaderRepository;
0 6 1 className Ljava/lang/String;
1 6 2 javaClass Lorg/aspectj/apache/bcel/classfile/JavaClass;
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=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loadClass:(Ljava/lang/String;)Lorg/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/NonCachingClassLoaderRepository;
0 1 1 clazz Ljava/lang/Class;
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
clazz
private org.aspectj.apache.bcel.classfile.JavaClass loadJavaClass(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/aspectj/apache/bcel/classfile/JavaClass;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 2
start local 2 1: aload 0
getfield org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository.loaderRef:Lorg/aspectj/apache/bcel/util/ClassLoaderReference;
invokeinterface org.aspectj.apache.bcel.util.ClassLoaderReference.getClassLoader:()Ljava/lang/ClassLoader;
new java.lang.StringBuilder
dup
aload 2
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.ClassLoader.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
astore 3
start local 3 2: aload 3
ifnonnull 4
3: new java.lang.ClassNotFoundException
dup
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " not found."
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
4: StackMap locals: java.lang.String java.io.InputStream
StackMap stack:
new org.aspectj.apache.bcel.classfile.ClassParser
dup
aload 3
aload 1
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;
6: areturn
end local 4 end local 3 7: StackMap locals: org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository java.lang.String java.lang.String
StackMap stack: java.io.IOException
astore 3
start local 3 8: new java.lang.ClassNotFoundException
dup
aload 3
invokevirtual java.io.IOException.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 9 0 this Lorg/aspectj/apache/bcel/util/NonCachingClassLoaderRepository;
0 9 1 className Ljava/lang/String;
1 9 2 classFile Ljava/lang/String;
2 7 3 is Ljava/io/InputStream;
5 7 4 parser Lorg/aspectj/apache/bcel/classfile/ClassParser;
8 9 3 e Ljava/io/IOException;
Exception table:
from to target type
1 6 7 Class java.io.IOException
Exceptions:
throws java.lang.ClassNotFoundException
MethodParameters:
Name Flags
className
}
SourceFile: "NonCachingClassLoaderRepository.java"
NestMembers:
org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository$SoftHashMap org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository$SoftHashMap$SpecialValue
InnerClasses:
public SoftHashMap = org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository$SoftHashMap of org.aspectj.apache.bcel.util.NonCachingClassLoaderRepository