public class org.jruby.internal.runtime.ReadonlyAccessor implements org.jruby.runtime.IAccessor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.internal.runtime.ReadonlyAccessor
super_class: java.lang.Object
{
private java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private org.jruby.runtime.IAccessor accessor;
descriptor: Lorg/jruby/runtime/IAccessor;
flags: (0x0002) ACC_PRIVATE
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/ReadonlyAccessor;
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.ReadonlyAccessor.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, org.jruby.runtime.IAccessor);
descriptor: (Ljava/lang/String;Lorg/jruby/runtime/IAccessor;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: getstatic org.jruby.internal.runtime.ReadonlyAccessor.$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.ReadonlyAccessor java.lang.String org.jruby.runtime.IAccessor
StackMap stack:
getstatic org.jruby.internal.runtime.ReadonlyAccessor.$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:
aload 0
aload 1
putfield org.jruby.internal.runtime.ReadonlyAccessor.name:Ljava/lang/String;
4: aload 0
aload 2
putfield org.jruby.internal.runtime.ReadonlyAccessor.accessor:Lorg/jruby/runtime/IAccessor;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/jruby/internal/runtime/ReadonlyAccessor;
0 6 1 name Ljava/lang/String;
0 6 2 accessor Lorg/jruby/runtime/IAccessor;
MethodParameters:
Name Flags
name
accessor
public org.jruby.runtime.builtin.IRubyObject getValue();
descriptor: ()Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.ReadonlyAccessor.accessor:Lorg/jruby/runtime/IAccessor;
invokeinterface org.jruby.runtime.IAccessor.getValue:()Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/ReadonlyAccessor;
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.ReadonlyAccessor.$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 1
invokeinterface org.jruby.runtime.builtin.IRubyObject.getRuntime:()Lorg/jruby/Ruby;
new java.lang.StringBuilder
dup
aload 0
getfield org.jruby.internal.runtime.ReadonlyAccessor.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 " is a read-only variable"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 0
getfield org.jruby.internal.runtime.ReadonlyAccessor.name:Ljava/lang/String;
invokevirtual org.jruby.Ruby.newNameError:(Ljava/lang/String;Ljava/lang/String;)Lorg/jruby/exceptions/RaiseException;
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/internal/runtime/ReadonlyAccessor;
0 2 1 newValue Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
newValue
}
SourceFile: "ReadonlyAccessor.java"