public class org.jruby.RubyGlobal$OutputGlobalVariable extends org.jruby.runtime.GlobalVariable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyGlobal$OutputGlobalVariable
super_class: org.jruby.runtime.GlobalVariable
{
public void <init>(org.jruby.Ruby, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 // org.jruby.RubyGlobal$OutputGlobalVariable this
start local 1 // org.jruby.Ruby runtime
start local 2 // java.lang.String name
start local 3 // org.jruby.runtime.builtin.IRubyObject value
0: .line 921
aload 0 /* this */
aload 1 /* runtime */
aload 2 /* name */
aload 3 /* value */
invokespecial org.jruby.runtime.GlobalVariable.<init>:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: .line 922
return
end local 3 // org.jruby.runtime.builtin.IRubyObject value
end local 2 // java.lang.String name
end local 1 // org.jruby.Ruby runtime
end local 0 // org.jruby.RubyGlobal$OutputGlobalVariable this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyGlobal$OutputGlobalVariable;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 name Ljava/lang/String;
0 2 3 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
runtime
name
value
public org.jruby.runtime.builtin.IRubyObject set(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 // org.jruby.RubyGlobal$OutputGlobalVariable this
start local 1 // org.jruby.runtime.builtin.IRubyObject value
0: .line 926
aload 1 /* value */
aload 0 /* this */
invokevirtual org.jruby.RubyGlobal$OutputGlobalVariable.get:()Lorg/jruby/runtime/builtin/IRubyObject;
if_acmpne 2
1: .line 927
aload 1 /* value */
areturn
2: .line 930
StackMap locals:
StackMap stack:
aload 1 /* value */
ldc "write"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsTo:(Ljava/lang/String;)Z
ifne 6
aload 1 /* value */
ldc "write"
invokeinterface org.jruby.runtime.builtin.IRubyObject.respondsToMissing:(Ljava/lang/String;)Z
ifne 6
3: .line 931
aload 0 /* this */
getfield org.jruby.RubyGlobal$OutputGlobalVariable.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
aload 0 /* this */
invokevirtual org.jruby.RubyGlobal$OutputGlobalVariable.name:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " must have write method, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: .line 932
aload 1 /* value */
invokeinterface org.jruby.runtime.builtin.IRubyObject.getType:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " given"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: .line 931
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
6: .line 935
StackMap locals:
StackMap stack:
aload 0 /* this */
aload 1 /* value */
invokespecial org.jruby.runtime.GlobalVariable.set:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 1 // org.jruby.runtime.builtin.IRubyObject value
end local 0 // org.jruby.RubyGlobal$OutputGlobalVariable this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/jruby/RubyGlobal$OutputGlobalVariable;
0 7 1 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
value
}
SourceFile: "RubyGlobal.java"
NestHost: org.jruby.RubyGlobal
InnerClasses:
public OutputGlobalVariable = org.jruby.RubyGlobal$OutputGlobalVariable of org.jruby.RubyGlobal