class org.jruby.RubyGlobal$LastExitStatusVariable extends org.jruby.runtime.GlobalVariable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.jruby.RubyGlobal$LastExitStatusVariable
super_class: org.jruby.runtime.GlobalVariable
{
public void <init>(org.jruby.Ruby, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 // org.jruby.RubyGlobal$LastExitStatusVariable this
start local 1 // org.jruby.Ruby runtime
start local 2 // java.lang.String name
0: .line 622
aload 0 /* this */
aload 1 /* runtime */
aload 2 /* name */
aload 1 /* runtime */
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
invokespecial org.jruby.runtime.GlobalVariable.<init>:(Lorg/jruby/Ruby;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)V
1: .line 623
return
end local 2 // java.lang.String name
end local 1 // org.jruby.Ruby runtime
end local 0 // org.jruby.RubyGlobal$LastExitStatusVariable this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/RubyGlobal$LastExitStatusVariable;
0 2 1 runtime Lorg/jruby/Ruby;
0 2 2 name Ljava/lang/String;
MethodParameters:
Name Flags
runtime
name
public org.jruby.runtime.builtin.IRubyObject get();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 // org.jruby.RubyGlobal$LastExitStatusVariable this
0: .line 627
aload 0 /* this */
getfield org.jruby.RubyGlobal$LastExitStatusVariable.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getCurrentContext:()Lorg/jruby/runtime/ThreadContext;
invokevirtual org.jruby.runtime.ThreadContext.getLastExitStatus:()Lorg/jruby/runtime/builtin/IRubyObject;
astore 1 /* lastExitStatus */
start local 1 // org.jruby.runtime.builtin.IRubyObject lastExitStatus
1: .line 628
aload 1 /* lastExitStatus */
ifnonnull 2
aload 0 /* this */
getfield org.jruby.RubyGlobal$LastExitStatusVariable.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
goto 3
StackMap locals: org.jruby.runtime.builtin.IRubyObject
StackMap stack:
2: aload 1 /* lastExitStatus */
StackMap locals:
StackMap stack: org.jruby.runtime.builtin.IRubyObject
3: areturn
end local 1 // org.jruby.runtime.builtin.IRubyObject lastExitStatus
end local 0 // org.jruby.RubyGlobal$LastExitStatusVariable this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/RubyGlobal$LastExitStatusVariable;
1 4 1 lastExitStatus Lorg/jruby/runtime/builtin/IRubyObject;
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=3, locals=2, args_size=2
start local 0 // org.jruby.RubyGlobal$LastExitStatusVariable this
start local 1 // org.jruby.runtime.builtin.IRubyObject lastExitStatus
0: .line 633
aload 0 /* this */
getfield org.jruby.RubyGlobal$LastExitStatusVariable.runtime:Lorg/jruby/Ruby;
ldc "$? is a read-only variable"
ldc "$?"
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 // org.jruby.runtime.builtin.IRubyObject lastExitStatus
end local 0 // org.jruby.RubyGlobal$LastExitStatusVariable this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyGlobal$LastExitStatusVariable;
0 1 1 lastExitStatus Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
lastExitStatus
}
SourceFile: "RubyGlobal.java"
NestHost: org.jruby.RubyGlobal
InnerClasses:
private LastExitStatusVariable = org.jruby.RubyGlobal$LastExitStatusVariable of org.jruby.RubyGlobal