public class org.jruby.internal.runtime.UndefinedAccessor implements org.jruby.runtime.IAccessor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.internal.runtime.UndefinedAccessor
super_class: java.lang.Object
{
private final org.jruby.Ruby runtime;
descriptor: Lorg/jruby/Ruby;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.jruby.internal.runtime.GlobalVariable globalVariable;
descriptor: Lorg/jruby/internal/runtime/GlobalVariable;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/jruby/internal/runtime/UndefinedAccessor;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.jruby.internal.runtime.UndefinedAccessor.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(org.jruby.Ruby, org.jruby.internal.runtime.GlobalVariable, java.lang.String);
descriptor: (Lorg/jruby/Ruby;Lorg/jruby/internal/runtime/GlobalVariable;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.jruby.internal.runtime.UndefinedAccessor.$assertionsDisabled:Z
ifne 2
aload 1
ifnonnull 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: org.jruby.internal.runtime.UndefinedAccessor org.jruby.Ruby org.jruby.internal.runtime.GlobalVariable java.lang.String
StackMap stack:
getstatic org.jruby.internal.runtime.UndefinedAccessor.$assertionsDisabled:Z
ifne 3
aload 2
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
getstatic org.jruby.internal.runtime.UndefinedAccessor.$assertionsDisabled:Z
ifne 4
aload 3
ifnonnull 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.jruby.internal.runtime.UndefinedAccessor.runtime:Lorg/jruby/Ruby;
5: aload 0
aload 2
putfield org.jruby.internal.runtime.UndefinedAccessor.globalVariable:Lorg/jruby/internal/runtime/GlobalVariable;
6: aload 0
aload 3
putfield org.jruby.internal.runtime.UndefinedAccessor.name:Ljava/lang/String;
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jruby/internal/runtime/UndefinedAccessor;
0 8 1 runtime Lorg/jruby/Ruby;
0 8 2 globalVariable Lorg/jruby/internal/runtime/GlobalVariable;
0 8 3 name Ljava/lang/String;
MethodParameters:
Name Flags
runtime
globalVariable
name
public org.jruby.runtime.builtin.IRubyObject getValue();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.UndefinedAccessor.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.isVerbose:()Z
ifeq 2
1: aload 0
getfield org.jruby.internal.runtime.UndefinedAccessor.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
getstatic org.jruby.common.IRubyWarnings$ID.ACCESSOR_NOT_INITIALIZED:Lorg/jruby/common/IRubyWarnings$ID;
new java.lang.StringBuilder
dup
ldc "global variable `"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.jruby.internal.runtime.UndefinedAccessor.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' not initialized"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual org.jruby.common.RubyWarnings.warning:(Lorg/jruby/common/IRubyWarnings$ID;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.internal.runtime.UndefinedAccessor.runtime:Lorg/jruby/Ruby;
invokevirtual org.jruby.Ruby.getNil:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/internal/runtime/UndefinedAccessor;
public org.jruby.runtime.builtin.IRubyObject setValue(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 start local 1 0: getstatic org.jruby.internal.runtime.UndefinedAccessor.$assertionsDisabled:Z
ifne 1
aload 1
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.internal.runtime.UndefinedAccessor.globalVariable:Lorg/jruby/internal/runtime/GlobalVariable;
new org.jruby.internal.runtime.ValueAccessor
dup
aload 1
invokespecial org.jruby.internal.runtime.ValueAccessor.<init>:(Lorg/jruby/runtime/builtin/IRubyObject;)V
invokevirtual org.jruby.internal.runtime.GlobalVariable.setAccessor:(Lorg/jruby/runtime/IAccessor;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/internal/runtime/UndefinedAccessor;
0 3 1 newValue Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
newValue
}
SourceFile: "UndefinedAccessor.java"
InnerClasses:
public final ID = org.jruby.common.IRubyWarnings$ID of org.jruby.common.IRubyWarnings