org.jruby.javasupport
Class JavaField

java.lang.Object
  extended byorg.jruby.RubyObject
      extended byorg.jruby.javasupport.JavaField
All Implemented Interfaces:
java.lang.Cloneable, IRubyObject

public class JavaField
extends RubyObject


Field Summary
 
Fields inherited from class org.jruby.RubyObject
runtime
 
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject
NULL_ARRAY
 
Constructor Summary
JavaField(Ruby runtime, java.lang.reflect.Field field)
           
 
Method Summary
static RubyClass createJavaFieldClass(Ruby ruby, RubyModule javaModule)
           
 RubyBoolean final_p()
           
 RubyString name()
           
 RubyBoolean public_p()
           
 JavaObject set_value(IRubyObject object, IRubyObject value)
           
 RubyBoolean static_p()
           
 JavaObject static_value()
           
 RubyString value_type()
           
 JavaObject value(IRubyObject object)
           
 
Methods inherited from class org.jruby.RubyObject
argCount, asSymbol, callbackFactory, callInit, callMethod, callMethod, callMethod, checkSafeString, convertToString, convertToType, convertType, createObjectClass, defineSingletonMethod, display, dup, equal, equals, eval, eval, evalUnder, extend, extendObject, freeze, frozen, getInstanceVariable, getInstanceVariables, getJavaClass, getMetaClass, getRuntime, getSingletonClass, getType, hash, hashCode, hasInstanceVariable, id, infectBy, inspect, instance_eval, instance_of, instance_variables, instanceVariableNames, isFalse, isFrozen, isKindOf, isNil, isTaint, isTrue, kind_of, makeMetaClass, marshalTo, method_missing, method, methods, nilObject, private_methods, protected_methods, rbClone, removeInstanceVariable, respond_to, respondsTo, send, setFrozen, setInstanceVariable, setInstanceVariable, setInstanceVariables, setMetaClass, setTaint, setupClone, singleton_methods, singletonMethodsAllowed, specificEval, taint, tainted, to_a, to_s, toString, type, untaint
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JavaField

public JavaField(Ruby runtime,
                 java.lang.reflect.Field field)
Method Detail

createJavaFieldClass

public static RubyClass createJavaFieldClass(Ruby ruby,
                                             RubyModule javaModule)

value_type

public RubyString value_type()

public_p

public RubyBoolean public_p()

static_p

public RubyBoolean static_p()

value

public JavaObject value(IRubyObject object)

set_value

public JavaObject set_value(IRubyObject object,
                            IRubyObject value)

final_p

public RubyBoolean final_p()

static_value

public JavaObject static_value()

name

public RubyString name()


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.