class org.jruby.runtime.load.LibrarySearcher
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.runtime.load.LibrarySearcher
super_class: java.lang.Object
{
private final org.jruby.runtime.load.LoadService loadService;
descriptor: Lorg/jruby/runtime/load/LoadService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.runtime.load.LoadService);
descriptor: (Lorg/jruby/runtime/load/LoadService;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.jruby.runtime.load.LibrarySearcher.loadService:Lorg/jruby/runtime/load/LoadService;
2: aload 0
aload 1
getfield org.jruby.runtime.load.LoadService.runtime:Lorg/jruby/Ruby;
putfield org.jruby.runtime.load.LibrarySearcher.runtime:Lorg/jruby/Ruby;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/runtime/load/LibrarySearcher;
0 4 1 loadService Lorg/jruby/runtime/load/LoadService;
MethodParameters:
Name Flags
loadService
public org.jruby.runtime.load.LibrarySearcher$FoundLibrary findBySearchState(org.jruby.runtime.load.LoadService$SearchState);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield org.jruby.runtime.load.LoadService$SearchState.searchFile:Ljava/lang/String;
aload 1
getfield org.jruby.runtime.load.LoadService$SearchState.suffixType:Lorg/jruby/runtime/load/LoadService$SuffixType;
invokevirtual org.jruby.runtime.load.LibrarySearcher.findLibrary:(Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
astore 2
start local 2 1: aload 2
ifnull 4
2: aload 1
aload 2
putfield org.jruby.runtime.load.LoadService$SearchState.library:Lorg/jruby/runtime/load/Library;
3: aload 1
aload 2
invokevirtual org.jruby.runtime.load.LibrarySearcher$FoundLibrary.getLoadName:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService$SearchState.setLoadName:(Ljava/lang/String;)V
4: StackMap locals: org.jruby.runtime.load.LibrarySearcher$FoundLibrary
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/load/LibrarySearcher;
0 5 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
1 5 2 lib Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
MethodParameters:
Name Flags
state
public org.jruby.runtime.load.LibrarySearcher$FoundLibrary findLibrary(java.lang.String, org.jruby.runtime.load.LoadService$SuffixType);
descriptor: (Ljava/lang/String;Lorg/jruby/runtime/load/LoadService$SuffixType;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokevirtual org.jruby.runtime.load.LoadService$SuffixType.getSuffixes:()[Ljava/lang/String;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: org.jruby.runtime.load.LibrarySearcher java.lang.String org.jruby.runtime.load.LoadService$SuffixType top int int java.lang.String[]
StackMap stack:
1: aload 6
iload 4
aaload
astore 3
start local 3 2: aload 0
aload 1
aload 3
invokevirtual org.jruby.runtime.load.LibrarySearcher.findResourceLibrary:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
astore 7
start local 7 3: aload 7
ifnull 5
4: aload 7
areturn
end local 7 end local 3 5: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 1
7: aload 0
aload 1
invokevirtual org.jruby.runtime.load.LibrarySearcher.findServiceLibrary:(Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/runtime/load/LibrarySearcher;
0 8 1 baseName Ljava/lang/String;
0 8 2 suffixType Lorg/jruby/runtime/load/LoadService$SuffixType;
2 5 3 suffix Ljava/lang/String;
3 5 7 library Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
MethodParameters:
Name Flags
baseName
suffixType
private org.jruby.runtime.load.LibrarySearcher$FoundLibrary findServiceLibrary(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.jruby.runtime.load.DebugLog.JarExtension:Lorg/jruby/runtime/load/DebugLog;
aload 1
invokevirtual org.jruby.runtime.load.DebugLog.logTry:(Ljava/lang/String;)V
1: aload 0
getfield org.jruby.runtime.load.LibrarySearcher.runtime:Lorg/jruby/Ruby;
aload 1
invokestatic org.jruby.runtime.load.ClassExtensionLibrary.tryFind:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/runtime/load/ClassExtensionLibrary;
astore 2
start local 2 2: aload 2
ifnull 5
3: getstatic org.jruby.runtime.load.DebugLog.JarExtension:Lorg/jruby/runtime/load/DebugLog;
aload 1
invokevirtual org.jruby.runtime.load.DebugLog.logFound:(Ljava/lang/String;)V
4: new org.jruby.runtime.load.LibrarySearcher$FoundLibrary
dup
aload 2
aload 1
invokespecial org.jruby.runtime.load.LibrarySearcher$FoundLibrary.<init>:(Lorg/jruby/runtime/load/Library;Ljava/lang/String;)V
areturn
5: StackMap locals: org.jruby.runtime.load.Library
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/runtime/load/LibrarySearcher;
0 6 1 name Ljava/lang/String;
2 6 2 extensionLibrary Lorg/jruby/runtime/load/Library;
MethodParameters:
Name Flags
name
private org.jruby.runtime.load.LibrarySearcher$FoundLibrary findResourceLibrary(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc "./"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
aload 1
aload 2
invokevirtual org.jruby.runtime.load.LibrarySearcher.findFileResource:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
areturn
2: StackMap locals:
StackMap stack:
aload 1
ldc "../"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
aload 1
aload 2
invokevirtual org.jruby.runtime.load.LibrarySearcher.findFileResource:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
areturn
4: StackMap locals:
StackMap stack:
aload 1
ldc "~/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 12
5: aload 0
getfield org.jruby.runtime.load.LibrarySearcher.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
ldc "ENV"
invokevirtual org.jruby.RubyClass.getConstant:(Ljava/lang/String;)Lorg/jruby/runtime/builtin/IRubyObject;
checkcast org.jruby.RubyHash
astore 3
start local 3 6: aload 0
getfield org.jruby.runtime.load.LibrarySearcher.runtime:Lorg/jruby/Ruby;
ldc "HOME"
invokevirtual org.jruby.Ruby.newString:(Ljava/lang/String;)Lorg/jruby/RubyString;
astore 4
start local 4 7: aload 3
aload 4
invokevirtual org.jruby.RubyHash.has_key_p:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBoolean;
invokevirtual org.jruby.RubyBoolean.isFalse:()Z
ifeq 9
8: aconst_null
areturn
9: StackMap locals: org.jruby.RubyHash org.jruby.RubyString
StackMap stack:
aload 3
aload 0
getfield org.jruby.runtime.load.LibrarySearcher.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 4
invokevirtual org.jruby.RubyHash.op_aref:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 5
start local 5 10: new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
iconst_2
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 6
start local 6 11: aload 0
aload 6
aload 2
invokevirtual org.jruby.runtime.load.LibrarySearcher.findFileResource:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
areturn
end local 6 end local 5 end local 4 end local 3 12: StackMap locals:
StackMap stack:
aload 1
invokestatic org.jruby.runtime.load.LibrarySearcher.isAbsolute:(Ljava/lang/String;)Z
ifeq 14
13: aload 0
aload 1
aload 2
invokevirtual org.jruby.runtime.load.LibrarySearcher.findFileResource:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
areturn
14: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LibrarySearcher.loadService:Lorg/jruby/runtime/load/LoadService;
getfield org.jruby.runtime.load.LoadService.loadPath:Lorg/jruby/RubyArray;
invokevirtual org.jruby.RubyArray.toJavaArray:()[Lorg/jruby/runtime/builtin/IRubyObject;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 20
StackMap locals: org.jruby.runtime.load.LibrarySearcher java.lang.String java.lang.String top int int org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
15: aload 6
iload 4
aaload
astore 3
start local 3 16: aload 0
aload 1
aload 2
aload 0
aload 3
invokevirtual org.jruby.runtime.load.LibrarySearcher.getPath:(Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LibrarySearcher.findFileResourceWithLoadPath:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
astore 7
start local 7 17: aload 7
ifnull 19
aload 7
18: areturn
end local 7 end local 3 19: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
iload 5
if_icmplt 15
21: goto 24
StackMap locals: org.jruby.runtime.load.LibrarySearcher java.lang.String java.lang.String
StackMap stack: java.lang.Throwable
22: astore 3
start local 3 23: aload 3
invokevirtual java.lang.Throwable.printStackTrace:()V
end local 3 24: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.runtime.load.LibrarySearcher.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentDirectory:()Ljava/lang/String;
getstatic org.jruby.util.URLResource.URI_CLASSLOADER:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 27
25: aload 0
aload 1
aload 2
ldc "."
invokevirtual org.jruby.runtime.load.LibrarySearcher.findFileResourceWithLoadPath:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
astore 3
start local 3 26: aload 3
ifnull 27
aconst_null
areturn
end local 3 27: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 2
getstatic org.jruby.util.URLResource.URI_CLASSLOADER:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LibrarySearcher.findFileResourceWithLoadPath:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/jruby/runtime/load/LibrarySearcher;
0 28 1 baseName Ljava/lang/String;
0 28 2 suffix Ljava/lang/String;
6 12 3 env Lorg/jruby/RubyHash;
7 12 4 env_home Lorg/jruby/RubyString;
10 12 5 home Ljava/lang/String;
11 12 6 path Ljava/lang/String;
16 19 3 loadPathEntry Lorg/jruby/runtime/builtin/IRubyObject;
17 19 7 library Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
23 24 3 t Ljava/lang/Throwable;
26 27 3 library Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
Exception table:
from to target type
14 18 22 Class java.lang.Throwable
19 21 22 Class java.lang.Throwable
MethodParameters:
Name Flags
baseName
suffix
private java.lang.String getPath(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.runtime.load.LibrarySearcher.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokestatic org.jruby.RubyFile.get_path:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyString;
invokevirtual org.jruby.RubyString.asJavaString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LibrarySearcher;
0 1 1 loadPathEntry Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
loadPathEntry
private org.jruby.runtime.load.LibrarySearcher$FoundLibrary findFileResource(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual org.jruby.runtime.load.LibrarySearcher.findFileResourceWithLoadPath:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LibrarySearcher;
0 1 1 searchName Ljava/lang/String;
0 1 2 suffix Ljava/lang/String;
MethodParameters:
Name Flags
searchName
suffix
private org.jruby.runtime.load.LibrarySearcher$FoundLibrary findFileResourceWithLoadPath(java.lang.String, java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/runtime/load/LibrarySearcher$FoundLibrary;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnull 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 "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aload 1
StackMap locals:
StackMap stack: java.lang.String
2: astore 4
start local 4 3: 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
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 5
start local 5 4: getstatic org.jruby.runtime.load.DebugLog.Resource:Lorg/jruby/runtime/load/DebugLog;
aload 5
invokevirtual org.jruby.runtime.load.DebugLog.logTry:(Ljava/lang/String;)V
5: aload 0
getfield org.jruby.runtime.load.LibrarySearcher.runtime:Lorg/jruby/Ruby;
aload 5
invokestatic org.jruby.util.JRubyFile.createResourceAsFile:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/util/FileResource;
astore 6
start local 6 6: aload 6
invokeinterface org.jruby.util.FileResource.exists:()Z
ifeq 18
7: aload 6
invokeinterface org.jruby.util.FileResource.absolutePath:()Ljava/lang/String;
aload 6
invokeinterface org.jruby.util.FileResource.canonicalPath:()Ljava/lang/String;
if_acmpeq 14
8: aload 0
getfield org.jruby.runtime.load.LibrarySearcher.runtime:Lorg/jruby/Ruby;
aload 6
invokeinterface org.jruby.util.FileResource.canonicalPath:()Ljava/lang/String;
invokestatic org.jruby.util.JRubyFile.createResourceAsFile:(Lorg/jruby/Ruby;Ljava/lang/String;)Lorg/jruby/util/FileResource;
astore 7
start local 7 9: aload 7
invokeinterface org.jruby.util.FileResource.exists:()Z
ifeq 14
10: aload 0
aload 7
aload 7
invokeinterface org.jruby.util.FileResource.canonicalPath:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LibrarySearcher.resolveScriptName:(Lorg/jruby/util/FileResource;Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 11: aload 0
aload 7
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
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LibrarySearcher.resolveLoadName:(Lorg/jruby/util/FileResource;Ljava/lang/String;)Ljava/lang/String;
astore 9
start local 9 12: getstatic org.jruby.runtime.load.DebugLog.Resource:Lorg/jruby/runtime/load/DebugLog;
aload 5
invokevirtual org.jruby.runtime.load.DebugLog.logFound:(Ljava/lang/String;)V
13: new org.jruby.runtime.load.LibrarySearcher$FoundLibrary
dup
aload 1
aload 8
aload 6
invokestatic org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.create:(Ljava/lang/String;Ljava/lang/String;Lorg/jruby/util/FileResource;)Lorg/jruby/runtime/load/LibrarySearcher$ResourceLibrary;
aload 9
invokespecial org.jruby.runtime.load.LibrarySearcher$FoundLibrary.<init>:(Lorg/jruby/runtime/load/Library;Ljava/lang/String;)V
areturn
end local 9 end local 8 end local 7 14: StackMap locals: java.lang.String java.lang.String org.jruby.util.FileResource
StackMap stack:
getstatic org.jruby.runtime.load.DebugLog.Resource:Lorg/jruby/runtime/load/DebugLog;
aload 5
invokevirtual org.jruby.runtime.load.DebugLog.logFound:(Ljava/lang/String;)V
15: aload 0
aload 6
aload 5
invokevirtual org.jruby.runtime.load.LibrarySearcher.resolveScriptName:(Lorg/jruby/util/FileResource;Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 16: aload 0
aload 6
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
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LibrarySearcher.resolveLoadName:(Lorg/jruby/util/FileResource;Ljava/lang/String;)Ljava/lang/String;
astore 8
start local 8 17: new org.jruby.runtime.load.LibrarySearcher$FoundLibrary
dup
aload 1
aload 7
aload 6
invokestatic org.jruby.runtime.load.LibrarySearcher$ResourceLibrary.create:(Ljava/lang/String;Ljava/lang/String;Lorg/jruby/util/FileResource;)Lorg/jruby/runtime/load/LibrarySearcher$ResourceLibrary;
aload 8
invokespecial org.jruby.runtime.load.LibrarySearcher$FoundLibrary.<init>:(Lorg/jruby/runtime/load/Library;Ljava/lang/String;)V
areturn
end local 8 end local 7 18: StackMap locals:
StackMap stack:
aconst_null
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 19 0 this Lorg/jruby/runtime/load/LibrarySearcher;
0 19 1 searchName Ljava/lang/String;
0 19 2 suffix Ljava/lang/String;
0 19 3 loadPath Ljava/lang/String;
3 19 4 fullPath Ljava/lang/String;
4 19 5 pathWithSuffix Ljava/lang/String;
6 19 6 resource Lorg/jruby/util/FileResource;
9 14 7 expandedResource Lorg/jruby/util/FileResource;
11 14 8 scriptName Ljava/lang/String;
12 14 9 loadName Ljava/lang/String;
16 18 7 scriptName Ljava/lang/String;
17 18 8 loadName Ljava/lang/String;
MethodParameters:
Name Flags
searchName
suffix
loadPath
private static boolean isAbsolute(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc "jar:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
iconst_4
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 0
2: StackMap locals:
StackMap stack:
aload 0
ldc "file:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
ldc "uri:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 0
ldc "classpath:"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.isAbsolute:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 path Ljava/lang/String;
MethodParameters:
Name Flags
path
protected java.lang.String resolveLoadName(org.jruby.util.FileResource, java.lang.String);
descriptor: (Lorg/jruby/util/FileResource;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.jruby.util.FileResource.absolutePath:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LibrarySearcher;
0 1 1 resource Lorg/jruby/util/FileResource;
0 1 2 ruby18path Ljava/lang/String;
MethodParameters:
Name Flags
resource
ruby18path
protected java.lang.String resolveScriptName(org.jruby.util.FileResource, java.lang.String);
descriptor: (Lorg/jruby/util/FileResource;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.jruby.util.FileResource.absolutePath:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LibrarySearcher;
0 1 1 resource Lorg/jruby/util/FileResource;
0 1 2 ruby18Path Ljava/lang/String;
MethodParameters:
Name Flags
resource
ruby18Path
}
SourceFile: "LibrarySearcher.java"
NestMembers:
org.jruby.runtime.load.LibrarySearcher$ClassResourceLibrary org.jruby.runtime.load.LibrarySearcher$FoundLibrary org.jruby.runtime.load.LibrarySearcher$JarResourceLibrary org.jruby.runtime.load.LibrarySearcher$ResourceLibrary
InnerClasses:
ClassResourceLibrary = org.jruby.runtime.load.LibrarySearcher$ClassResourceLibrary of org.jruby.runtime.load.LibrarySearcher
FoundLibrary = org.jruby.runtime.load.LibrarySearcher$FoundLibrary of org.jruby.runtime.load.LibrarySearcher
JarResourceLibrary = org.jruby.runtime.load.LibrarySearcher$JarResourceLibrary of org.jruby.runtime.load.LibrarySearcher
ResourceLibrary = org.jruby.runtime.load.LibrarySearcher$ResourceLibrary of org.jruby.runtime.load.LibrarySearcher
public SearchState = org.jruby.runtime.load.LoadService$SearchState of org.jruby.runtime.load.LoadService
public final SuffixType = org.jruby.runtime.load.LoadService$SuffixType of org.jruby.runtime.load.LoadService