public class org.jruby.RubyGlobal$StringOrRegexpGlobalVariable extends org.jruby.runtime.GlobalVariable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyGlobal$StringOrRegexpGlobalVariable
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$StringOrRegexpGlobalVariable 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 758
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 759
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$StringOrRegexpGlobalVariable this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyGlobal$StringOrRegexpGlobalVariable;
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$StringOrRegexpGlobalVariable this
start local 1 // org.jruby.runtime.builtin.IRubyObject value
0: .line 763
aload 1 /* value */
invokeinterface org.jruby.runtime.builtin.IRubyObject.isNil:()Z
ifne 2
aload 1 /* value */
instanceof org.jruby.RubyString
ifne 2
aload 1 /* value */
instanceof org.jruby.RubyRegexp
ifne 2
1: .line 764
aload 0 /* this */
getfield org.jruby.RubyGlobal$StringOrRegexpGlobalVariable.runtime:Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
ldc "value of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0 /* this */
invokevirtual org.jruby.RubyGlobal$StringOrRegexpGlobalVariable.name:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " must be String or Regexp"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.Ruby.newTypeError:(Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
2: .line 766
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$StringOrRegexpGlobalVariable this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyGlobal$StringOrRegexpGlobalVariable;
0 3 1 value Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
value
}
SourceFile: "RubyGlobal.java"
NestHost: org.jruby.RubyGlobal
InnerClasses:
public StringOrRegexpGlobalVariable = org.jruby.RubyGlobal$StringOrRegexpGlobalVariable of org.jruby.RubyGlobal