public class org.jruby.ir.IRScriptBody extends org.jruby.ir.IRScope
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.ir.IRScriptBody
super_class: org.jruby.ir.IRScope
{
private org.jruby.runtime.DynamicScope toplevelScope;
descriptor: Lorg/jruby/runtime/DynamicScope;
flags: (0x0002) ACC_PRIVATE
private java.lang.String fileName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.jruby.ir.IRManager, java.lang.String, org.jruby.parser.StaticScope);
descriptor: (Lorg/jruby/ir/IRManager;Ljava/lang/String;Lorg/jruby/parser/StaticScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aconst_null
aconst_null
iconst_0
aload 3
invokespecial org.jruby.ir.IRScope.<init>:(Lorg/jruby/ir/IRManager;Lorg/jruby/ir/IRScope;Lorg/jruby/util/ByteList;ILorg/jruby/parser/StaticScope;)V
1: aload 0
aconst_null
putfield org.jruby.ir.IRScriptBody.toplevelScope:Lorg/jruby/runtime/DynamicScope;
2: aload 0
aload 2
putfield org.jruby.ir.IRScriptBody.fileName:Ljava/lang/String;
3: aload 0
invokevirtual org.jruby.ir.IRScriptBody.getManager:()Lorg/jruby/ir/IRManager;
invokevirtual org.jruby.ir.IRManager.isDryRun:()Z
ifne 5
aload 3
ifnull 5
4: aload 3
aload 0
invokevirtual org.jruby.parser.StaticScope.setIRScope:(Lorg/jruby/ir/IRScope;)V
5: StackMap locals: org.jruby.ir.IRScriptBody org.jruby.ir.IRManager java.lang.String org.jruby.parser.StaticScope
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/ir/IRScriptBody;
0 6 1 manager Lorg/jruby/ir/IRManager;
0 6 2 sourceName Ljava/lang/String;
0 6 3 staticScope Lorg/jruby/parser/StaticScope;
MethodParameters:
Name Flags
manager
sourceName
staticScope
public org.jruby.runtime.DynamicScope getScriptDynamicScope();
descriptor: ()Lorg/jruby/runtime/DynamicScope;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.IRScriptBody.toplevelScope:Lorg/jruby/runtime/DynamicScope;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRScriptBody;
public void setScriptDynamicScope(org.jruby.runtime.DynamicScope);
descriptor: (Lorg/jruby/runtime/DynamicScope;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jruby.ir.IRScriptBody.toplevelScope:Lorg/jruby/runtime/DynamicScope;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/IRScriptBody;
0 2 1 tlbScope Lorg/jruby/runtime/DynamicScope;
MethodParameters:
Name Flags
tlbScope
public int getNearestModuleReferencingScopeDepth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRScriptBody;
public org.jruby.ir.IRScopeType getScopeType();
descriptor: ()Lorg/jruby/ir/IRScopeType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic org.jruby.ir.IRScopeType.SCRIPT_BODY:Lorg/jruby/ir/IRScopeType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRScriptBody;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Script: file: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.jruby.ir.IRScriptBody.getFileName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokespecial org.jruby.ir.IRScope.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRScriptBody;
public boolean isScriptScope();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRScriptBody;
public void setFileName(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.jruby.ir.IRScriptBody.fileName:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/ir/IRScriptBody;
0 2 1 fileName Ljava/lang/String;
MethodParameters:
Name Flags
fileName
public java.lang.String getFile();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.IRScriptBody.fileName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRScriptBody;
public java.lang.String getId();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.ir.IRScriptBody.fileName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRScriptBody;
public org.jruby.RubySymbol getName();
descriptor: ()Lorg/jruby/RubySymbol;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ir.IRScriptBody.getManager:()Lorg/jruby/ir/IRManager;
invokevirtual org.jruby.ir.IRManager.getRuntime:()Lorg/jruby/Ruby;
aload 0
getfield org.jruby.ir.IRScriptBody.fileName:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newSymbol:(Ljava/lang/String;)Lorg/jruby/RubySymbol;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/ir/IRScriptBody;
public void cleanupAfterExecution();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.jruby.ir.IRScriptBody.getClosures:()Ljava/util/Collection;
invokeinterface java.util.Collection.isEmpty:()Z
ifeq 4
1: aload 0
aconst_null
putfield org.jruby.ir.IRScriptBody.interpreterContext:Lorg/jruby/ir/interpreter/InterpreterContext;
2: aload 0
aconst_null
putfield org.jruby.ir.IRScriptBody.fullInterpreterContext:Lorg/jruby/ir/interpreter/FullInterpreterContext;
3: aload 0
aconst_null
putfield org.jruby.ir.IRScriptBody.localVars:Ljava/util/Map;
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/ir/IRScriptBody;
}
SourceFile: "IRScriptBody.java"