public class org.jruby.RubyBinding extends org.jruby.RubyObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyBinding
super_class: org.jruby.RubyObject
{
private org.jruby.runtime.Binding binding;
descriptor: Lorg/jruby/runtime/Binding;
flags: (0x0002) ACC_PRIVATE
private static org.jruby.runtime.ObjectAllocator BINDING_ALLOCATOR;
descriptor: Lorg/jruby/runtime/ObjectAllocator;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.jruby.RubyBinding$1
dup
invokespecial org.jruby.RubyBinding$1.<init>:()V
putstatic org.jruby.RubyBinding.BINDING_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.Ruby, org.jruby.RubyClass, org.jruby.runtime.Binding);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Binding;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: aload 0
aload 3
putfield org.jruby.RubyBinding.binding:Lorg/jruby/runtime/Binding;
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyBinding;
0 3 1 runtime Lorg/jruby/Ruby;
0 3 2 rubyClass Lorg/jruby/RubyClass;
0 3 3 binding Lorg/jruby/runtime/Binding;
MethodParameters:
Name Flags
runtime
rubyClass
binding
private void <init>(org.jruby.Ruby, org.jruby.RubyClass);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial org.jruby.RubyObject.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyBinding;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 rubyClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
rubyClass
public static org.jruby.RubyClass createBindingClass(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyClass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ldc "Binding"
aload 0
invokevirtual org.jruby.Ruby.getObject:()Lorg/jruby/RubyClass;
getstatic org.jruby.RubyBinding.BINDING_ALLOCATOR:Lorg/jruby/runtime/ObjectAllocator;
invokevirtual org.jruby.Ruby.defineClass:(Ljava/lang/String;Lorg/jruby/RubyClass;Lorg/jruby/runtime/ObjectAllocator;)Lorg/jruby/RubyClass;
astore 1
start local 1 1: aload 1
getstatic org.jruby.runtime.ClassIndex.BINDING:Lorg/jruby/runtime/ClassIndex;
invokevirtual org.jruby.RubyClass.setClassIndex:(Lorg/jruby/runtime/ClassIndex;)V
2: aload 1
ldc Lorg/jruby/RubyBinding;
invokevirtual org.jruby.RubyClass.setReifiedClass:(Ljava/lang/Class;)V
3: aload 1
ldc Lorg/jruby/RubyBinding;
invokevirtual org.jruby.RubyClass.defineAnnotatedMethods:(Ljava/lang/Class;)V
4: aload 1
invokevirtual org.jruby.RubyClass.getSingletonClass:()Lorg/jruby/RubyClass;
ldc "new"
invokevirtual org.jruby.RubyClass.undefineMethod:(Ljava/lang/String;)V
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 runtime Lorg/jruby/Ruby;
1 6 1 bindingClass Lorg/jruby/RubyClass;
MethodParameters:
Name Flags
runtime
public org.jruby.runtime.Binding getBinding();
descriptor: ()Lorg/jruby/runtime/Binding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyBinding.binding:Lorg/jruby/runtime/Binding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyBinding;
public static org.jruby.RubyBinding newBinding(org.jruby.Ruby, org.jruby.runtime.Binding);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/Binding;)Lorg/jruby/RubyBinding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: new org.jruby.RubyBinding
dup
aload 0
aload 0
invokevirtual org.jruby.Ruby.getBinding:()Lorg/jruby/RubyClass;
aload 1
invokespecial org.jruby.RubyBinding.<init>:(Lorg/jruby/Ruby;Lorg/jruby/RubyClass;Lorg/jruby/runtime/Binding;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 binding Lorg/jruby/runtime/Binding;
MethodParameters:
Name Flags
runtime
binding
public static org.jruby.RubyBinding newBinding(org.jruby.Ruby);
descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyBinding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.currentBinding:()Lorg/jruby/runtime/Binding;
invokestatic org.jruby.RubyBinding.newBinding:(Lorg/jruby/Ruby;Lorg/jruby/runtime/Binding;)Lorg/jruby/RubyBinding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
public static org.jruby.RubyBinding newBinding(org.jruby.Ruby, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyBinding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
aload 1
invokevirtual org.jruby.runtime.ThreadContext.currentBinding:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/Binding;
invokestatic org.jruby.RubyBinding.newBinding:(Lorg/jruby/Ruby;Lorg/jruby/runtime/Binding;)Lorg/jruby/RubyBinding;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 runtime Lorg/jruby/Ruby;
0 1 1 self Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
runtime
self
public org.jruby.runtime.builtin.IRubyObject initialize(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.jruby.runtime.ThreadContext.currentBinding:()Lorg/jruby/runtime/Binding;
putfield org.jruby.RubyBinding.binding:Lorg/jruby/runtime/Binding;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyBinding;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize"}, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject initialize_copy(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
checkcast org.jruby.RubyBinding
astore 2
start local 2 1: aload 0
aload 2
getfield org.jruby.RubyBinding.binding:Lorg/jruby/runtime/Binding;
invokevirtual org.jruby.runtime.Binding.clone:()Lorg/jruby/runtime/Binding;
putfield org.jruby.RubyBinding.binding:Lorg/jruby/runtime/Binding;
2: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyBinding;
0 3 1 other Lorg/jruby/runtime/builtin/IRubyObject;
1 3 2 otherBinding Lorg/jruby/RubyBinding;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"initialize_copy"}, required = 1, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
MethodParameters:
Name Flags
other
public org.jruby.runtime.builtin.IRubyObject eval(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject[]);
descriptor: (Lorg/jruby/runtime/ThreadContext;[Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
arraylength
iconst_1
iadd
anewarray org.jruby.runtime.builtin.IRubyObject
astore 3
start local 3 1: aload 3
iconst_0
aload 2
iconst_0
aaload
aastore
2: aload 3
iconst_1
aload 0
aastore
3: aload 2
arraylength
iconst_1
if_icmple 7
4: aload 3
iconst_2
aload 2
iconst_1
aaload
aastore
5: aload 2
arraylength
iconst_2
if_icmple 7
6: aload 3
iconst_3
aload 2
iconst_2
aaload
aastore
7: StackMap locals: org.jruby.runtime.builtin.IRubyObject[]
StackMap stack:
aload 1
aload 0
aload 3
getstatic org.jruby.runtime.Block.NULL_BLOCK:Lorg/jruby/runtime/Block;
invokestatic org.jruby.RubyKernel.eval:(Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/RubyBinding;
0 8 1 context Lorg/jruby/runtime/ThreadContext;
0 8 2 args [Lorg/jruby/runtime/builtin/IRubyObject;
1 8 3 newArgs [Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"eval"}, required = 1, optional = 2)
MethodParameters:
Name Flags
context
args
public org.jruby.runtime.builtin.IRubyObject local_variable_defined_p(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
getfield org.jruby.RubyBinding.binding:Lorg/jruby/runtime/Binding;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.runtime.Binding.getEvalScope:(Lorg/jruby/Ruby;)Lorg/jruby/runtime/DynamicScope;
invokevirtual org.jruby.runtime.DynamicScope.getStaticScope:()Lorg/jruby/parser/StaticScope;
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
invokevirtual org.jruby.parser.StaticScope.isDefined:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: org.jruby.runtime.ThreadContext
1: iconst_0
StackMap locals: org.jruby.RubyBinding org.jruby.runtime.ThreadContext org.jruby.runtime.builtin.IRubyObject
StackMap stack: org.jruby.runtime.ThreadContext int
2: invokestatic org.jruby.RubyBoolean.newBoolean:(Lorg/jruby/runtime/ThreadContext;Z)Lorg/jruby/RubyBoolean;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyBinding;
0 3 1 context Lorg/jruby/runtime/ThreadContext;
0 3 2 symbol Lorg/jruby/runtime/builtin/IRubyObject;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"local_variable_defined?"})
MethodParameters:
Name Flags
context
symbol
public org.jruby.runtime.builtin.IRubyObject local_variable_get(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 3
start local 3 1: aload 0
getfield org.jruby.RubyBinding.binding:Lorg/jruby/runtime/Binding;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.runtime.Binding.getEvalScope:(Lorg/jruby/Ruby;)Lorg/jruby/runtime/DynamicScope;
astore 4
start local 4 2: aload 4
invokevirtual org.jruby.runtime.DynamicScope.getStaticScope:()Lorg/jruby/parser/StaticScope;
aload 3
invokevirtual org.jruby.parser.StaticScope.isDefined:(Ljava/lang/String;)I
istore 5
start local 5 3: iload 5
iconst_m1
if_icmpne 4
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "local variable `"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' not defined for "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.jruby.RubyBinding.inspect:()Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
4: StackMap locals: java.lang.String org.jruby.runtime.DynamicScope int
StackMap stack:
aload 4
iload 5
ldc 65535
iand
iload 5
bipush 16
ishr
aload 1
getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
invokevirtual org.jruby.runtime.DynamicScope.getValueOrNil:(IILorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
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 5 0 this Lorg/jruby/RubyBinding;
0 5 1 context Lorg/jruby/runtime/ThreadContext;
0 5 2 symbol Lorg/jruby/runtime/builtin/IRubyObject;
1 5 3 name Ljava/lang/String;
2 5 4 evalScope Lorg/jruby/runtime/DynamicScope;
3 5 5 slot I
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
symbol
public org.jruby.runtime.builtin.IRubyObject local_variable_set(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.asJavaString:()Ljava/lang/String;
invokevirtual java.lang.String.intern:()Ljava/lang/String;
astore 4
start local 4 1: aload 0
getfield org.jruby.RubyBinding.binding:Lorg/jruby/runtime/Binding;
aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.runtime.Binding.getEvalScope:(Lorg/jruby/Ruby;)Lorg/jruby/runtime/DynamicScope;
astore 5
start local 5 2: aload 5
invokevirtual org.jruby.runtime.DynamicScope.getStaticScope:()Lorg/jruby/parser/StaticScope;
aload 4
invokevirtual org.jruby.parser.StaticScope.isDefined:(Ljava/lang/String;)I
istore 6
start local 6 3: iload 6
iconst_m1
if_icmpne 6
4: aload 5
invokevirtual org.jruby.runtime.DynamicScope.getStaticScope:()Lorg/jruby/parser/StaticScope;
aload 4
invokevirtual java.lang.String.intern:()Ljava/lang/String;
invokevirtual org.jruby.parser.StaticScope.addVariable:(Ljava/lang/String;)I
istore 6
5: aload 5
invokevirtual org.jruby.runtime.DynamicScope.growIfNeeded:()V
6: StackMap locals: java.lang.String org.jruby.runtime.DynamicScope int
StackMap stack:
aload 5
iload 6
ldc 65535
iand
aload 3
iload 6
bipush 16
ishr
invokevirtual org.jruby.runtime.DynamicScope.setValue:(ILorg/jruby/runtime/builtin/IRubyObject;I)Lorg/jruby/runtime/builtin/IRubyObject;
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 7 0 this Lorg/jruby/RubyBinding;
0 7 1 context Lorg/jruby/runtime/ThreadContext;
0 7 2 symbol Lorg/jruby/runtime/builtin/IRubyObject;
0 7 3 value Lorg/jruby/runtime/builtin/IRubyObject;
1 7 4 name Ljava/lang/String;
2 7 5 evalScope Lorg/jruby/runtime/DynamicScope;
3 7 6 slot I
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
symbol
value
public org.jruby.runtime.builtin.IRubyObject local_variables(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
astore 2
start local 2 1: aload 0
getfield org.jruby.RubyBinding.binding:Lorg/jruby/runtime/Binding;
aload 2
invokevirtual org.jruby.runtime.Binding.getEvalScope:(Lorg/jruby/Ruby;)Lorg/jruby/runtime/DynamicScope;
invokevirtual org.jruby.runtime.DynamicScope.getStaticScope:()Lorg/jruby/parser/StaticScope;
aload 2
invokevirtual org.jruby.parser.StaticScope.getLocalVariables:(Lorg/jruby/Ruby;)Lorg/jruby/RubyArray;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyBinding;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
1 2 2 runtime Lorg/jruby/Ruby;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod()
MethodParameters:
Name Flags
context
public org.jruby.runtime.builtin.IRubyObject receiver(org.jruby.runtime.ThreadContext);
descriptor: (Lorg/jruby/runtime/ThreadContext;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.RubyBinding.binding:Lorg/jruby/runtime/Binding;
invokevirtual org.jruby.runtime.Binding.getSelf:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyBinding;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyMethod(name = {"receiver"})
MethodParameters:
Name Flags
context
}
SourceFile: "RubyBinding.java"
NestMembers:
org.jruby.RubyBinding$1
InnerClasses:
org.jruby.RubyBinding$1
RuntimeVisibleAnnotations:
org.jruby.anno.JRubyClass(name = {"Binding"})