public class org.jruby.RubyStruct$Mutator extends org.jruby.internal.runtime.methods.DynamicMethod
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.RubyStruct$Mutator
super_class: org.jruby.internal.runtime.methods.DynamicMethod
{
private final int index;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.jruby.RubyClass, java.lang.String, int);
descriptor: (Lorg/jruby/RubyClass;Ljava/lang/String;I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
getstatic org.jruby.runtime.Visibility.PUBLIC:Lorg/jruby/runtime/Visibility;
aload 2
invokespecial org.jruby.internal.runtime.methods.DynamicMethod.<init>:(Lorg/jruby/RubyModule;Lorg/jruby/runtime/Visibility;Ljava/lang/String;)V
1: aload 0
iload 3
putfield org.jruby.RubyStruct$Mutator.index:I
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/RubyStruct$Mutator;
0 3 1 newStruct Lorg/jruby/RubyClass;
0 3 2 name Ljava/lang/String;
0 3 3 index I
MethodParameters:
Name Flags
newStruct
name
index
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[], org.jruby.runtime.Block);
descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyModule;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/Block;)Lorg/jruby/runtime/builtin/IRubyObject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
aload 4
aload 5
iconst_1
iconst_1
invokestatic org.jruby.runtime.Arity.checkArgumentCount:(Lorg/jruby/Ruby;Ljava/lang/String;[Lorg/jruby/runtime/builtin/IRubyObject;II)I
pop
1: aload 2
checkcast org.jruby.RubyStruct
aload 5
iconst_0
aaload
aload 0
getfield org.jruby.RubyStruct$Mutator.index:I
invokevirtual org.jruby.RubyStruct.set:(Lorg/jruby/runtime/builtin/IRubyObject;I)Lorg/jruby/runtime/builtin/IRubyObject;
areturn
end local 6 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/RubyStruct$Mutator;
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 args [Lorg/jruby/runtime/builtin/IRubyObject;
0 2 6 block Lorg/jruby/runtime/Block;
MethodParameters:
Name Flags
context
self
clazz
name
args
block
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 2
checkcast org.jruby.RubyStruct
aload 5
aload 0
getfield org.jruby.RubyStruct$Mutator.index:I
invokevirtual org.jruby.RubyStruct.set:(Lorg/jruby/runtime/builtin/IRubyObject;I)Lorg/jruby/runtime/builtin/IRubyObject;
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 1 0 this Lorg/jruby/RubyStruct$Mutator;
0 1 1 context Lorg/jruby/runtime/ThreadContext;
0 1 2 self Lorg/jruby/runtime/builtin/IRubyObject;
0 1 3 clazz Lorg/jruby/RubyModule;
0 1 4 name Ljava/lang/String;
0 1 5 arg Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
context
self
clazz
name
arg
public org.jruby.internal.runtime.methods.DynamicMethod dup();
descriptor: ()Lorg/jruby/internal/runtime/methods/DynamicMethod;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.jruby.RubyStruct$Mutator
dup
aload 0
invokevirtual org.jruby.RubyStruct$Mutator.getImplementationClass:()Lorg/jruby/RubyModule;
checkcast org.jruby.RubyClass
aload 0
getfield org.jruby.RubyStruct$Mutator.name:Ljava/lang/String;
aload 0
getfield org.jruby.RubyStruct$Mutator.index:I
invokespecial org.jruby.RubyStruct$Mutator.<init>:(Lorg/jruby/RubyClass;Ljava/lang/String;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyStruct$Mutator;
public int getIndex();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.RubyStruct$Mutator.index:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/RubyStruct$Mutator;
}
SourceFile: "RubyStruct.java"
NestHost: org.jruby.RubyStruct
InnerClasses:
public Mutator = org.jruby.RubyStruct$Mutator of org.jruby.RubyStruct