public class org.jruby.javasupport.binding.InstanceFieldGetterInstaller 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.InstanceFieldGetterInstaller
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.InstanceFieldGetterInstaller 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_3
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.InstanceFieldGetterInstaller this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jruby/javasupport/binding/InstanceFieldGetterInstaller;
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.InstanceFieldGetterInstaller this
start local 1 // org.jruby.RubyModule proxy
0: .line 18
aload 0 /* this */
invokevirtual org.jruby.javasupport.binding.InstanceFieldGetterInstaller.isAccessible:()Z
ifeq 2
1: .line 19
aload 1 /* proxy */
aload 0 /* this */
getfield org.jruby.javasupport.binding.InstanceFieldGetterInstaller.name:Ljava/lang/String;
new org.jruby.java.invokers.InstanceFieldGetter
dup
aload 0 /* this */
getfield org.jruby.javasupport.binding.InstanceFieldGetterInstaller.name:Ljava/lang/String;
aload 1 /* proxy */
aload 0 /* this */
getfield org.jruby.javasupport.binding.InstanceFieldGetterInstaller.field:Ljava/lang/reflect/Field;
invokespecial org.jruby.java.invokers.InstanceFieldGetter.<init>:(Ljava/lang/String;Lorg/jruby/RubyModule;Ljava/lang/reflect/Field;)V
invokevirtual org.jruby.RubyModule.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.InstanceFieldGetterInstaller this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/javasupport/binding/InstanceFieldGetterInstaller;
0 3 1 proxy Lorg/jruby/RubyModule;
MethodParameters:
Name Flags
proxy final
}
SourceFile: "InstanceFieldGetterInstaller.java"