public class org.jruby.runtime.load.LoadService$ScriptClassSearcher implements org.jruby.runtime.load.LoadService$LoadSearcher
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.runtime.load.LoadService$ScriptClassSearcher
super_class: java.lang.Object
{
final org.jruby.runtime.load.LoadService this$0;
descriptor: Lorg/jruby/runtime/load/LoadService;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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 // org.jruby.runtime.load.LoadService$ScriptClassSearcher this
0: .line 763
aload 0 /* this */
aload 1
putfield org.jruby.runtime.load.LoadService$ScriptClassSearcher.this$0:Lorg/jruby/runtime/load/LoadService;
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.jruby.runtime.load.LoadService$ScriptClassSearcher this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/load/LoadService$ScriptClassSearcher;
MethodParameters:
Name Flags
this$0 final
public boolean shouldTrySearch(org.jruby.runtime.load.LoadService$SearchState);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 // org.jruby.runtime.load.LoadService$ScriptClassSearcher this
start local 1 // org.jruby.runtime.load.LoadService$SearchState state
0: .line 777
aload 1 /* state */
getfield org.jruby.runtime.load.LoadService$SearchState.library:Lorg/jruby/runtime/load/Library;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 // org.jruby.runtime.load.LoadService$SearchState state
end local 0 // org.jruby.runtime.load.LoadService$ScriptClassSearcher this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/runtime/load/LoadService$ScriptClassSearcher;
0 2 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
MethodParameters:
Name Flags
state
public boolean trySearch(org.jruby.runtime.load.LoadService$SearchState);
descriptor: (Lorg/jruby/runtime/load/LoadService$SearchState;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 // org.jruby.runtime.load.LoadService$ScriptClassSearcher this
start local 1 // org.jruby.runtime.load.LoadService$SearchState state
0: .line 783
aload 0 /* this */
getfield org.jruby.runtime.load.LoadService$ScriptClassSearcher.this$0:Lorg/jruby/runtime/load/LoadService;
aload 1 /* state */
getfield org.jruby.runtime.load.LoadService$SearchState.searchFile:Ljava/lang/String;
invokevirtual org.jruby.runtime.load.LoadService.buildClassName:(Ljava/lang/String;)Ljava/lang/String;
astore 3 /* className */
start local 3 // java.lang.String className
1: .line 784
aload 3 /* className */
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4 /* lastSlashIndex */
start local 4 // int lastSlashIndex
2: .line 785
iload 4 /* lastSlashIndex */
iconst_m1
if_icmple 7
iload 4 /* lastSlashIndex */
aload 3 /* className */
invokevirtual java.lang.String.length:()I
iconst_1
isub
if_icmpge 7
aload 3 /* className */
iload 4 /* lastSlashIndex */
iconst_1
iadd
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isJavaIdentifierStart:(C)Z
ifne 7
3: .line 786
iload 4 /* lastSlashIndex */
iconst_m1
if_icmpne 6
4: .line 787
new java.lang.StringBuilder
dup
bipush 95
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3 /* className */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 3 /* className */
5: .line 788
goto 7
6: .line 789
StackMap locals: org.jruby.runtime.load.LoadService$ScriptClassSearcher org.jruby.runtime.load.LoadService$SearchState top java.lang.String int
StackMap stack:
new java.lang.StringBuilder
dup
aload 3 /* className */
iconst_0
iload 4 /* lastSlashIndex */
iconst_1
iadd
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
bipush 95
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 3 /* className */
iload 4 /* lastSlashIndex */
iconst_1
iadd
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 3 /* className */
7: .line 792
StackMap locals:
StackMap stack:
aload 3 /* className */
bipush 47
bipush 46
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 3 /* className */
8: .line 794
aload 3 /* className */
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 5 /* scriptClass */
start local 5 // java.lang.Class scriptClass
9: .line 795
aload 5 /* scriptClass */
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast org.jruby.ast.executable.Script
astore 2 /* script */
end local 5 // java.lang.Class scriptClass
start local 2 // org.jruby.ast.executable.Script script
10: .line 796
goto 13
end local 2 // org.jruby.ast.executable.Script script
StackMap locals:
StackMap stack: java.lang.Exception
11: pop
12: .line 797
iconst_1
ireturn
start local 2 // org.jruby.ast.executable.Script script
13: .line 799
StackMap locals: org.jruby.runtime.load.LoadService$ScriptClassSearcher org.jruby.runtime.load.LoadService$SearchState org.jruby.ast.executable.Script java.lang.String int
StackMap stack:
aload 1 /* state */
new org.jruby.runtime.load.LoadService$ScriptClassSearcher$ScriptClassLibrary
dup
aload 0 /* this */
aload 2 /* script */
invokespecial org.jruby.runtime.load.LoadService$ScriptClassSearcher$ScriptClassLibrary.<init>:(Lorg/jruby/runtime/load/LoadService$ScriptClassSearcher;Lorg/jruby/ast/executable/Script;)V
putfield org.jruby.runtime.load.LoadService$SearchState.library:Lorg/jruby/runtime/load/Library;
14: .line 800
iconst_1
ireturn
end local 4 // int lastSlashIndex
end local 3 // java.lang.String className
end local 2 // org.jruby.ast.executable.Script script
end local 1 // org.jruby.runtime.load.LoadService$SearchState state
end local 0 // org.jruby.runtime.load.LoadService$ScriptClassSearcher this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/jruby/runtime/load/LoadService$ScriptClassSearcher;
0 15 1 state Lorg/jruby/runtime/load/LoadService$SearchState;
10 11 2 script Lorg/jruby/ast/executable/Script;
13 15 2 script Lorg/jruby/ast/executable/Script;
1 15 3 className Ljava/lang/String;
2 15 4 lastSlashIndex I
9 10 5 scriptClass Ljava/lang/Class;
Exception table:
from to target type
8 10 11 Class java.lang.Exception
Exceptions:
throws org.jruby.exceptions.RaiseException
MethodParameters:
Name Flags
state
}
SourceFile: "LoadService.java"
NestHost: org.jruby.runtime.load.LoadService
InnerClasses:
public abstract LoadSearcher = org.jruby.runtime.load.LoadService$LoadSearcher of org.jruby.runtime.load.LoadService
public ScriptClassSearcher = org.jruby.runtime.load.LoadService$ScriptClassSearcher of org.jruby.runtime.load.LoadService
public ScriptClassLibrary = org.jruby.runtime.load.LoadService$ScriptClassSearcher$ScriptClassLibrary of org.jruby.runtime.load.LoadService$ScriptClassSearcher
public SearchState = org.jruby.runtime.load.LoadService$SearchState of org.jruby.runtime.load.LoadService
RuntimeVisibleAnnotations:
java.lang.Deprecated()