public class org.jruby.javasupport.binding.StaticFieldSetterInstaller extends org.jruby.javasupport.binding.FieldInstaller
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jruby.javasupport.binding.StaticFieldSetterInstaller
super_class: org.jruby.javasupport.binding.FieldInstaller
{
public void <init>(java.lang.String, java.lang.reflect.Field);
descriptor: (Ljava/lang/String;Ljava/lang/reflect/Field;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 // org.jruby.javasupport.binding.StaticFieldSetterInstaller this
start local 1 // java.lang.String name
start local 2 // java.lang.reflect.Field field
0: .line 14
aload 0 /* this */
aload 1 /* name */
iconst_1
aload 2 /* field */
invokespecial org.jruby.javasupport.binding.FieldInstaller.<init>:(Ljava/lang/String;ILjava/lang/reflect/Field;)V
1: .line 15
return
end local 2 // java.lang.reflect.Field field
end local 1 // java.lang.String name
end local 0 // org.jruby.javasupport.binding.StaticFieldSetterInstaller this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/binding/StaticFieldSetterInstaller;
0 2 1 name Ljava/lang/String;
0 2 2 field Ljava/lang/reflect/Field;
MethodParameters:
Name Flags
name
field
void install(org.jruby.RubyModule);
descriptor: (Lorg/jruby/RubyModule;)V
flags: (0x0000)
Code:
stack=7, locals=2, args_size=2
start local 0 // org.jruby.javasupport.binding.StaticFieldSetterInstaller this
start local 1 // org.jruby.RubyModule proxy
0: .line 18
aload 0 /* this */
invokevirtual org.jruby.javasupport.binding.StaticFieldSetterInstaller.isAccessible:()Z
ifeq 2
1: .line 19
aload 1 /* proxy */
invokevirtual org.jruby.RubyModule.getSingletonClass:()Lorg/jruby/RubyClass;
aload 0 /* this */
getfield org.jruby.javasupport.binding.StaticFieldSetterInstaller.name:Ljava/lang/String;
new org.jruby.java.invokers.StaticFieldSetter
dup
aload 0 /* this */
getfield org.jruby.javasupport.binding.StaticFieldSetterInstaller.name:Ljava/lang/String;
aload 1 /* proxy */
aload 0 /* this */
getfield org.jruby.javasupport.binding.StaticFieldSetterInstaller.field:Ljava/lang/reflect/Field;
invokespecial org.jruby.java.invokers.StaticFieldSetter.<init>:(Ljava/lang/String;Lorg/jruby/RubyModule;Ljava/lang/reflect/Field;)V
invokevirtual org.jruby.RubyClass.addMethod:(Ljava/lang/String;Lorg/jruby/internal/runtime/methods/DynamicMethod;)V
2: .line 21
StackMap locals:
StackMap stack:
return
end local 1 // org.jruby.RubyModule proxy
end local 0 // org.jruby.javasupport.binding.StaticFieldSetterInstaller this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/binding/StaticFieldSetterInstaller;
0 3 1 proxy Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
proxy final
}
SourceFile: "StaticFieldSetterInstaller.java"