public class org.jruby.internal.runtime.methods.AttrWriterMethod extends org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOne
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.internal.runtime.methods.AttrWriterMethod
super_class: org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOne
{
private org.jruby.runtime.ivars.MethodData methodData;
descriptor: Lorg/jruby/runtime/ivars/MethodData;
flags: (0x0002) ACC_PRIVATE
private final java.lang.String variableName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.jruby.runtime.ivars.VariableAccessor accessor;
descriptor: Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0002) ACC_PRIVATE
public void <init>(org.jruby.RubyModule, org.jruby.runtime.Visibility, java.lang.String);
descriptor: (Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOne.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
1: aload 0
getstatic org.jruby.runtime.ivars.VariableAccessor.DUMMY_ACCESSOR:Lorg/jruby/runtime/ivars/VariableAccessor;
putfield org.jruby.internal.runtime.methods.AttrWriterMethod.accessor:Lorg/jruby/runtime/ivars/VariableAccessor;
2: aload 0
aload 3
putfield org.jruby.internal.runtime.methods.AttrWriterMethod.variableName:Ljava/lang/String;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jruby/internal/runtime/methods/AttrWriterMethod;
0 4 1 implementationClass Lorg/jruby/RubyModule;
0 4 2 visibility Lorg/jruby/runtime/Visibility;
0 4 3 variableName Ljava/lang/String;
MethodParameters:
Name Flags
implementationClass
visibility
variableName
public org.jruby.runtime.builtin.IRubyObject call(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyModule, java.lang.String, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 2
invokeinterface org.jruby.runtime.builtin.IRubyObject.getMetaClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.RubyClass.getRealClass:()Lorg/jruby/RubyClass;
invokevirtual org.jruby.internal.runtime.methods.AttrWriterMethod.verifyAccessor:(Lorg/jruby/RubyClass;)Lorg/jruby/runtime/ivars/VariableAccessor;
aload 2
aload 5
invokevirtual org.jruby.runtime.ivars.VariableAccessor.set:(Ljava/lang/Object;Ljava/lang/Object;)V
1: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/internal/runtime/methods/AttrWriterMethod;
0 2 1 context Lorg/jruby/runtime/ThreadContext;
0 2 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 2 3 clazz Lorg/jruby/RubyModule;
0 2 4 name Ljava/lang/String;
0 2 5 arg1 Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
self
clazz
name
arg1
public java.lang.String getVariableName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.AttrWriterMethod.variableName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/internal/runtime/methods/AttrWriterMethod;
private org.jruby.runtime.ivars.VariableAccessor verifyAccessor(org.jruby.RubyClass);
descriptor: (Lorg/jruby/RubyClass;)Lorg/jruby/runtime/ivars/VariableAccessor;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.jruby.internal.runtime.methods.AttrWriterMethod.accessor:Lorg/jruby/runtime/ivars/VariableAccessor;
astore 2
start local 2 1: aload 2
invokevirtual org.jruby.runtime.ivars.VariableAccessor.getClassId:()I
aload 1
getfield org.jruby.RubyClass.id:I
if_icmpeq 4
2: aload 1
aload 0
getfield org.jruby.internal.runtime.methods.AttrWriterMethod.variableName:Ljava/lang/String;
invokevirtual org.jruby.RubyClass.getVariableAccessorForWrite:(Ljava/lang/String;)Lorg/jruby/runtime/ivars/VariableAccessor;
astore 2
3: aload 0
aload 2
putfield org.jruby.internal.runtime.methods.AttrWriterMethod.accessor:Lorg/jruby/runtime/ivars/VariableAccessor;
4: StackMap locals: org.jruby.runtime.ivars.VariableAccessor
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/internal/runtime/methods/AttrWriterMethod;
0 5 1 cls Lorg/jruby/RubyClass;
1 5 2 localAccessor Lorg/jruby/runtime/ivars/VariableAccessor;
MethodParameters:
Name Flags
cls
public org.jruby.runtime.ivars.MethodData getMethodData();
descriptor: ()Lorg/jruby/runtime/ivars/MethodData;
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.internal.runtime.methods.AttrWriterMethod.methodData:Lorg/jruby/runtime/ivars/MethodData;
ifnonnull 2
1: aload 0
new org.jruby.runtime.ivars.MethodData
dup
aload 0
getfield org.jruby.internal.runtime.methods.AttrWriterMethod.name:Ljava/lang/String;
ldc "dummyfile"
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0
getfield org.jruby.internal.runtime.methods.AttrWriterMethod.variableName:Ljava/lang/String;
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial org.jruby.runtime.ivars.MethodData.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;)V
putfield org.jruby.internal.runtime.methods.AttrWriterMethod.methodData:Lorg/jruby/runtime/ivars/MethodData;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.jruby.internal.runtime.methods.AttrWriterMethod.methodData:Lorg/jruby/runtime/ivars/MethodData;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/internal/runtime/methods/AttrWriterMethod;
public void <init>(org.jruby.RubyModule, org.jruby.runtime.Visibility, org.jruby.internal.runtime.methods.CallConfiguration, java.lang.String);
descriptor: (Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Lorg/jruby/internal/runtime/methods/CallConfiguration;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
aload 4
invokespecial org.jruby.internal.runtime.methods.AttrWriterMethod.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/internal/runtime/methods/AttrWriterMethod;
0 2 1 implementationClass Lorg/jruby/RubyModule;
0 2 2 visibility Lorg/jruby/runtime/Visibility;
0 2 3 callConfiguration Lorg/jruby/internal/runtime/methods/CallConfiguration;
0 2 4 variableName Ljava/lang/String;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
implementationClass
visibility
callConfiguration
variableName
}
SourceFile: "AttrWriterMethod.java"
InnerClasses:
public abstract JavaMethodOne = org.jruby.internal.runtime.methods.JavaMethod$JavaMethodOne of org.jruby.internal.runtime.methods.JavaMethod