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

public abstract Class FieldMethodZero

extends JavaMethodZero
Class Inheritance
Known Direct Subclasses
org.jruby.java.invokers.InstanceFieldGetter, org.jruby.java.invokers.StaticFieldGetter
Imports
java.lang.reflect.Field, org.jruby.Ruby, .RubyModule, org.jruby.internal.runtime.methods.JavaMethod, org.jruby.java.proxies.JavaProxy, org.jruby.javasupport.Java, org.jruby.runtime.Visibility, org.jruby.runtime.builtin.IRubyObject

Java field getter (reader) base implementation e.g. `self.myField`.

Field Summary

Modifier and TypeField and Description
protected final Field

Constructor Summary

AccessConstructor and Description
pack-priv
protected

Method Summary

Modifier and TypeMethod and Description
public Field
protected final IRubyObject
protected Object
pack-priv static Object
Inherited from org.jruby.internal.runtime.methods.JavaMethod.JavaMethodZero:
callgetAritygetSignature

Field Detail

fieldback to summary
protected final Field field

Constructor Detail

FieldMethodZeroback to summary
pack-priv FieldMethodZero(String name, RubyModule host, Field field)
FieldMethodZeroback to summary
protected FieldMethodZero(RubyModule host, Field field, String name)

Method Detail

getFieldback to summary
public Field getField()
handleGetExceptionback to summary
protected final IRubyObject handleGetException(final Ruby runtime, final IllegalAccessException ex)
retrieveTargetback to summary
protected Object retrieveTarget(final IRubyObject self)
retrieveTargetImplback to summary
pack-priv static Object retrieveTargetImpl(final IRubyObject self)