org.jruby.javasupport
Class JavaProxyMethods

java.lang.Object
  extended by org.jruby.javasupport.JavaProxyMethods

public class JavaProxyMethods
extends java.lang.Object


Constructor Summary
JavaProxyMethods()
           
 
Method Summary
static RubyModule createJavaProxyMethods(ThreadContext context)
           
static IRubyObject hash(IRubyObject recv)
           
static IRubyObject java_class(ThreadContext context, IRubyObject recv)
           
static IRubyObject java_object_set(ThreadContext context, IRubyObject recv, IRubyObject obj)
           
static IRubyObject java_object(ThreadContext context, IRubyObject recv)
           
static IRubyObject op_eql(IRubyObject recv, IRubyObject rhs)
           
static IRubyObject op_equal(IRubyObject recv, IRubyObject rhs)
           
static IRubyObject rbSynchronized(ThreadContext context, IRubyObject recv, Block block)
           
static IRubyObject to_java_object(IRubyObject recv)
           
static IRubyObject to_s(IRubyObject recv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaProxyMethods

public JavaProxyMethods()
Method Detail

createJavaProxyMethods

public static RubyModule createJavaProxyMethods(ThreadContext context)

java_class

public static IRubyObject java_class(ThreadContext context,
                                     IRubyObject recv)

java_object

public static IRubyObject java_object(ThreadContext context,
                                      IRubyObject recv)

java_object_set

public static IRubyObject java_object_set(ThreadContext context,
                                          IRubyObject recv,
                                          IRubyObject obj)

op_equal

public static IRubyObject op_equal(IRubyObject recv,
                                   IRubyObject rhs)

to_s

public static IRubyObject to_s(IRubyObject recv)

op_eql

public static IRubyObject op_eql(IRubyObject recv,
                                 IRubyObject rhs)

hash

public static IRubyObject hash(IRubyObject recv)

to_java_object

public static IRubyObject to_java_object(IRubyObject recv)

rbSynchronized

public static IRubyObject rbSynchronized(ThreadContext context,
                                         IRubyObject recv,
                                         Block block)


Copyright © 2002-2009 JRuby Team. All Rights Reserved.