Top Constructors Methods
org.jruby.java.addons

public Class KernelJavaAddons

extends Object
Class Inheritance
Imports
org.jruby.Ruby, .RubyArray, .RubyBasicObject, org.jruby.anno.JRubyMethod, org.jruby.java.proxies.ArrayJavaProxy, org.jruby.java.util.ArrayUtils, org.jruby.javasupport.Java, .JavaUtil, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, java.lang.reflect.Array

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static IRubyObject
java_annotation(IRubyObject recv, IRubyObject[] args)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
java_field(IRubyObject recv, IRubyObject[] args)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
java_implements(IRubyObject recv, IRubyObject[] args)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
java_name(IRubyObject recv, IRubyObject[] args)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
java_package(IRubyObject recv, IRubyObject[] args)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
java_require(IRubyObject recv, IRubyObject[] args)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
java_signature(IRubyObject recv, IRubyObject[] args)
Deprecated since 10.0.

public static IRubyObject
public static IRubyObject
to_java(ThreadContext context, final IRubyObject fromObject)

public static IRubyObject
to_java(ThreadContext context, final IRubyObject fromObject, final IRubyObject type)

pack-priv static ArrayJavaProxy
toJavaArray(ThreadContext context, final Class<?> type, final RubyArray<T extends IRubyObject> fromArray)

private static Object
toJavaArrayInternal(ThreadContext context, final Class<?> type, final RubyArray<T extends IRubyObject> fromArray)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

KernelJavaAddonsback to summary
public KernelJavaAddons()

Method Detail

java_annotationback to summary
public static IRubyObject java_annotation(IRubyObject recv, IRubyObject[] args)

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
java_annotationback to summary
public static IRubyObject java_annotation(ThreadContext context, IRubyObject recv, IRubyObject[] args)
Annotations
@JRubyMethod
rest:true
java_fieldback to summary
public static IRubyObject java_field(IRubyObject recv, IRubyObject[] args)

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
java_fieldback to summary
public static IRubyObject java_field(ThreadContext context, IRubyObject recv, IRubyObject[] args)
Annotations
@JRubyMethod
rest:true
java_implementsback to summary
public static IRubyObject java_implements(IRubyObject recv, IRubyObject[] args)

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
java_implementsback to summary
public static IRubyObject java_implements(ThreadContext context, IRubyObject recv, IRubyObject[] args)
Annotations
@JRubyMethod
rest:true
java_nameback to summary
public static IRubyObject java_name(IRubyObject recv, IRubyObject[] args)

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
java_nameback to summary
public static IRubyObject java_name(ThreadContext context, IRubyObject recv, IRubyObject[] args)
Annotations
@JRubyMethod
rest:true
java_packageback to summary
public static IRubyObject java_package(IRubyObject recv, IRubyObject[] args)

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
java_packageback to summary
public static IRubyObject java_package(ThreadContext context, IRubyObject recv, IRubyObject[] args)
Annotations
@JRubyMethod
rest:true
java_requireback to summary
public static IRubyObject java_require(IRubyObject recv, IRubyObject[] args)

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
java_requireback to summary
public static IRubyObject java_require(ThreadContext context, IRubyObject recv, IRubyObject[] args)
Annotations
@JRubyMethod
rest:true
java_signatureback to summary
public static IRubyObject java_signature(IRubyObject recv, IRubyObject[] args)

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
java_signatureback to summary
public static IRubyObject java_signature(ThreadContext context, IRubyObject recv, IRubyObject[] args)
Annotations
@JRubyMethod
rest:true
to_javaback to summary
public static IRubyObject to_java(ThreadContext context, final IRubyObject fromObject)
Annotations
@JRubyMethod
to_javaback to summary
public static IRubyObject to_java(ThreadContext context, final IRubyObject fromObject, final IRubyObject type)
Annotations
@JRubyMethod
toJavaArrayback to summary
pack-priv static ArrayJavaProxy toJavaArray(ThreadContext context, final Class<?> type, final RubyArray<T extends IRubyObject> fromArray)
toJavaArrayInternalback to summary
private static Object toJavaArrayInternal(ThreadContext context, final Class<?> type, final RubyArray<T extends IRubyObject> fromArray)