public class org.jruby.java.codegen.MultiClassLoader extends java.lang.ClassLoader
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.java.codegen.MultiClassLoader
super_class: java.lang.ClassLoader
{
private java.util.List<java.lang.ClassLoader> classLoaders;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Ljava/lang/ClassLoader;>;
public void <init>(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.lang.ClassLoader.<init>:(Ljava/lang/ClassLoader;)V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield org.jruby.java.codegen.MultiClassLoader.classLoaders:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/java/codegen/MultiClassLoader;
0 3 1 parent Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
parent
public void addClassLoader(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.java.codegen.MultiClassLoader.classLoaders:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/java/codegen/MultiClassLoader;
0 2 1 loader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
loader
protected java.lang.Class<?> findClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 1
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
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;
astore 2
start local 2 1: aload 0
getfield org.jruby.java.codegen.MultiClassLoader.classLoaders:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: org.jruby.java.codegen.MultiClassLoader java.lang.String java.lang.String top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 3
start local 3 3: aload 3
aload 2
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 5
start local 5 4: aload 5
ifnull 6
5: aload 3
aload 1
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
areturn
end local 5 end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
7: aload 0
aload 1
invokespecial java.lang.ClassLoader.findClass:(Ljava/lang/String;)Ljava/lang/Class;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/java/codegen/MultiClassLoader;
0 8 1 name Ljava/lang/String;
1 8 2 path Ljava/lang/String;
3 6 3 classLoader Ljava/lang/ClassLoader;
4 6 5 resource Ljava/net/URL;
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
name
protected java.net.URL findResource(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URL;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.java.codegen.MultiClassLoader.classLoaders:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: org.jruby.java.codegen.MultiClassLoader java.lang.String top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 2
start local 2 2: aload 2
aload 1
invokevirtual java.lang.ClassLoader.getResource:(Ljava/lang/String;)Ljava/net/URL;
astore 4
start local 4 3: aload 4
ifnull 5
4: aload 4
areturn
end local 4 end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
6: aload 0
aload 1
invokespecial java.lang.ClassLoader.findResource:(Ljava/lang/String;)Ljava/net/URL;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/java/codegen/MultiClassLoader;
0 7 1 name Ljava/lang/String;
2 5 2 classLoader Ljava/lang/ClassLoader;
3 5 4 resource Ljava/net/URL;
MethodParameters:
Name Flags
name
protected java.util.Enumeration<java.net.URL> findResources(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Enumeration;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: new java.util.Vector
dup
invokespecial java.util.Vector.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.jruby.java.codegen.MultiClassLoader.classLoaders:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 7
StackMap locals: org.jruby.java.codegen.MultiClassLoader java.lang.String java.util.Vector top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.ClassLoader
astore 3
start local 3 3: aload 3
aload 1
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 5
start local 5 4: goto 6
5: StackMap locals: org.jruby.java.codegen.MultiClassLoader java.lang.String java.util.Vector java.lang.ClassLoader java.util.Iterator java.util.Enumeration
StackMap stack:
aload 2
aload 5
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.URL
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
6: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 5
end local 5 end local 3 7: StackMap locals: org.jruby.java.codegen.MultiClassLoader java.lang.String java.util.Vector top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: aload 0
aload 1
invokespecial java.lang.ClassLoader.findResources:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 3
start local 3 9: goto 11
10: StackMap locals: org.jruby.java.codegen.MultiClassLoader java.lang.String java.util.Vector java.util.Enumeration
StackMap stack:
aload 2
aload 3
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.URL
invokevirtual java.util.Vector.add:(Ljava/lang/Object;)Z
pop
11: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 10
12: aload 2
invokevirtual java.util.Vector.elements:()Ljava/util/Enumeration;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/jruby/java/codegen/MultiClassLoader;
0 13 1 name Ljava/lang/String;
1 13 2 vector Ljava/util/Vector<Ljava/net/URL;>;
3 7 3 classLoader Ljava/lang/ClassLoader;
4 7 5 enumeration Ljava/util/Enumeration<Ljava/net/URL;>;
9 13 3 enumeration Ljava/util/Enumeration<Ljava/net/URL;>;
Exceptions:
throws java.io.IOException
Signature: (Ljava/lang/String;)Ljava/util/Enumeration<Ljava/net/URL;>;
MethodParameters:
Name Flags
name
}
SourceFile: "MultiClassLoader.java"