Top Description Fields Constructors Methods
org.jruby.java.invokers

public abstract Class FieldMethodOne

extends JavaMethodOne
Class Inheritance
Known Direct Subclasses
org.jruby.java.invokers.InstanceFieldSetter, org.jruby.java.invokers.StaticFieldSetter
Imports
java.lang.reflect.Field, org.jruby.Ruby, .RubyModule, org.jruby.internal.runtime.methods.JavaMethod, org.jruby.javasupport.Java, org.jruby.runtime.Visibility, org.jruby.runtime.builtin.IRubyObject

Java field setter (writer) base implementation e.g. `self.myField = value`.

Field Summary

Modifier and TypeField and Description
pack-priv final Field

Constructor Summary

AccessConstructor and Description
pack-priv
protected

Method Summary

Modifier and TypeMethod and Description
public Field
protected final IRubyObject
protected final IRubyObject
protected Object
Inherited from org.jruby.internal.runtime.methods.JavaMethod.JavaMethodOne:
callgetAritygetSignature

Field Detail

fieldback to summary
pack-priv final Field field

Constructor Detail

FieldMethodOneback to summary
pack-priv FieldMethodOne(String name, RubyModule host, Field field)
FieldMethodOneback to summary
protected FieldMethodOne(RubyModule host, Field field, String name)

Method Detail

getFieldback to summary
public Field getField()
handleSetExceptionback to summary
protected final IRubyObject handleSetException(final Ruby runtime, final IllegalAccessException ex)
handleSetExceptionback to summary
protected final IRubyObject handleSetException(final Ruby runtime, final IllegalArgumentException ex)
retrieveTargetback to summary
protected Object retrieveTarget(final IRubyObject self)