Top Description Inners Fields Constructors Methods
org.jruby.javasupport.ext

public abstract Class JavaLangReflect

extends Object
Class Inheritance
Imports
org.jruby.*, org.jruby.anno.JRubyClass, .JRubyMethod, org.jruby.javasupport.JavaUtil, org.jruby.runtime.Helpers, .ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.util.RubyStringBuilder, java.lang.reflect.InvocationTargetException, .Modifier

Java::JavaLangReflect package extensions.
Author
kares

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
private static final Object[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static Object
convertValueToJava(final Field field, IRubyObject value)

public static void
pack-priv static RubyBoolean
isAbstract(ThreadContext context, final IRubyObject self, final int mod)

pack-priv static RubyBoolean
isFinal(ThreadContext context, final IRubyObject self, final int mod)

pack-priv static RubyBoolean
isPrivate(ThreadContext context, final IRubyObject self, final int mod)

pack-priv static RubyBoolean
isProtected(ThreadContext context, final IRubyObject self, final int mod)

pack-priv static RubyBoolean
isPublic(ThreadContext context, final IRubyObject self, final int mod)

pack-priv static RubyBoolean
isStatic(ThreadContext context, final IRubyObject self, final int mod)

private static Object
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

NO_ARGSback to summary
private static final Object[] NO_ARGS

Constructor Detail

JavaLangReflectback to summary
public JavaLangReflect()

Method Detail

convertValueToJavaback to summary
private static Object convertValueToJava(final Field field, IRubyObject value)
Annotations
@SuppressWarnings:deprecation
defineback to summary
public static void define(ThreadContext context)
isAbstractback to summary
pack-priv static RubyBoolean isAbstract(ThreadContext context, final IRubyObject self, final int mod)
isFinalback to summary
pack-priv static RubyBoolean isFinal(ThreadContext context, final IRubyObject self, final int mod)
isPrivateback to summary
pack-priv static RubyBoolean isPrivate(ThreadContext context, final IRubyObject self, final int mod)
isProtectedback to summary
pack-priv static RubyBoolean isProtected(ThreadContext context, final IRubyObject self, final int mod)
isPublicback to summary
pack-priv static RubyBoolean isPublic(ThreadContext context, final IRubyObject self, final int mod)
isStaticback to summary
pack-priv static RubyBoolean isStatic(ThreadContext context, final IRubyObject self, final int mod)
unwrapJavaObjectback to summary
private static Object unwrapJavaObject(final IRubyObject object)
org.jruby.javasupport.ext back to summary

public Class JavaLangReflect.AccessibleObject

extends Object
Class Inheritance
Annotations
@JRubyClass
name:Java::JavaLangReflect::AccessibleObject

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static IRubyObject
inspect(final ThreadContext context, final IRubyObject self)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AccessibleObjectback to summary
public AccessibleObject()

Method Detail

inspectback to summary
public static IRubyObject inspect(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
org.jruby.javasupport.ext back to summary

public Class JavaLangReflect.Constructor

extends Object
Class Inheritance
Annotations
@JRubyClass
name:Java::JavaLangReflect::Constructor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static IRubyObject
argument_types(final ThreadContext context, final IRubyObject self)

public static IRubyObject
final_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
final_p(final IRubyObject self)
Deprecated

public static IRubyObject
new_instance(final ThreadContext context, final IRubyObject self, final IRubyObject[] args)

public static IRubyObject
private_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
private_p(final IRubyObject self)
Deprecated

public static IRubyObject
protected_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
protected_p(final IRubyObject self)
Deprecated

public static IRubyObject
public_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
public_p(final IRubyObject self)
Deprecated since 9.4.

public static IRubyObject
return_type(final ThreadContext context, final IRubyObject self)

public static IRubyObject
static_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
static_p(final IRubyObject self)
Deprecated

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Constructorback to summary
public Constructor()

Method Detail

argument_typesback to summary
public static IRubyObject argument_types(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
final_pback to summary
public static IRubyObject final_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:final?
final_pback to summary
public static IRubyObject final_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
new_instanceback to summary
public static IRubyObject new_instance(final ThreadContext context, final IRubyObject self, final IRubyObject[] args)
Annotations
@JRubyMethod
name:newInstance, new_instance
rest:true
private_pback to summary
public static IRubyObject private_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:private?
private_pback to summary
public static IRubyObject private_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
protected_pback to summary
public static IRubyObject protected_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:protected?
protected_pback to summary
public static IRubyObject protected_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
public_pback to summary
public static IRubyObject public_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:public?
public_pback to summary
public static IRubyObject public_p(final IRubyObject self)

Deprecated

since 9.4.

Annotations
@Deprecated
since:9.4
return_typeback to summary
public static IRubyObject return_type(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
static_pback to summary
public static IRubyObject static_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:static?
static_pback to summary
public static IRubyObject static_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
org.jruby.javasupport.ext back to summary

public Class JavaLangReflect.Field

extends Object
Class Inheritance
Annotations
@JRubyClass
name:Java::JavaLangReflect::Field

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static IRubyObject
final_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
final_p(final IRubyObject self)
Deprecated

public static IRubyObject
private_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
private_p(final IRubyObject self)
Deprecated

public static IRubyObject
protected_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
protected_p(final IRubyObject self)
Deprecated

public static IRubyObject
public_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
public_p(final IRubyObject self)
Deprecated

public static IRubyObject
set_static_value(final ThreadContext context, final IRubyObject self, final IRubyObject value)

public static IRubyObject
set_value(final ThreadContext context, final IRubyObject self, final IRubyObject obj, final IRubyObject value)

public static IRubyObject
static_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
static_p(final IRubyObject self)
Deprecated

public static IRubyObject
static_value(final ThreadContext context, final IRubyObject self)

public static IRubyObject
value(final ThreadContext context, final IRubyObject self, final IRubyObject obj)

public static IRubyObject
value_type(final ThreadContext context, final IRubyObject self)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Fieldback to summary
public Field()

Method Detail

final_pback to summary
public static IRubyObject final_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:final?
final_pback to summary
public static IRubyObject final_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
private_pback to summary
public static IRubyObject private_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:private?
private_pback to summary
public static IRubyObject private_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
protected_pback to summary
public static IRubyObject protected_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:protected?
protected_pback to summary
public static IRubyObject protected_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
public_pback to summary
public static IRubyObject public_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:public?
public_pback to summary
public static IRubyObject public_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
set_static_valueback to summary
public static IRubyObject set_static_value(final ThreadContext context, final IRubyObject self, final IRubyObject value)
Annotations
@JRubyMethod
set_valueback to summary
public static IRubyObject set_value(final ThreadContext context, final IRubyObject self, final IRubyObject obj, final IRubyObject value)
Annotations
@JRubyMethod
static_pback to summary
public static IRubyObject static_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:static?
static_pback to summary
public static IRubyObject static_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
static_valueback to summary
public static IRubyObject static_value(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
valueback to summary
public static IRubyObject value(final ThreadContext context, final IRubyObject self, final IRubyObject obj)
Annotations
@JRubyMethod
value_typeback to summary
public static IRubyObject value_type(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
org.jruby.javasupport.ext back to summary

public Class JavaLangReflect.Method

extends Object
Class Inheritance
Annotations
@JRubyClass
name:Java::JavaLangReflect::Method

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static IRubyObject
abstract_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
abstract_p(final IRubyObject self)
Deprecated

public static IRubyObject
argument_types(final ThreadContext context, final IRubyObject self)

public static IRubyObject
final_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
final_p(final IRubyObject self)
Deprecated

public static IRubyObject
invoke(final ThreadContext context, final IRubyObject self, final IRubyObject[] args)

public static IRubyObject
invoke_static(final ThreadContext context, final IRubyObject self, final IRubyObject[] args)

public static IRubyObject
private_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
private_p(final IRubyObject self)
Deprecated

public static IRubyObject
protected_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
protected_p(final IRubyObject self)
Deprecated

public static IRubyObject
public_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
public_p(final IRubyObject self)
Deprecated

public static IRubyObject
return_type(final ThreadContext context, final IRubyObject self)

public static IRubyObject
static_p(ThreadContext context, final IRubyObject self)

public static IRubyObject
static_p(final IRubyObject self)
Deprecated since 10.0.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Methodback to summary
public Method()

Method Detail

abstract_pback to summary
public static IRubyObject abstract_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:abstract?
abstract_pback to summary
public static IRubyObject abstract_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
argument_typesback to summary
public static IRubyObject argument_types(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
final_pback to summary
public static IRubyObject final_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:final?
final_pback to summary
public static IRubyObject final_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
invokeback to summary
public static IRubyObject invoke(final ThreadContext context, final IRubyObject self, final IRubyObject[] args)
Annotations
@JRubyMethod
rest:true
invoke_staticback to summary
public static IRubyObject invoke_static(final ThreadContext context, final IRubyObject self, final IRubyObject[] args)
Annotations
@JRubyMethod
rest:true
private_pback to summary
public static IRubyObject private_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:private?
private_pback to summary
public static IRubyObject private_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
protected_pback to summary
public static IRubyObject protected_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:protected?
protected_pback to summary
public static IRubyObject protected_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
public_pback to summary
public static IRubyObject public_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:public?
public_pback to summary
public static IRubyObject public_p(final IRubyObject self)

Deprecated

Annotations
@Deprecated
return_typeback to summary
public static IRubyObject return_type(final ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
static_pback to summary
public static IRubyObject static_p(ThreadContext context, final IRubyObject self)
Annotations
@JRubyMethod
name:static?
static_pback to summary
public static IRubyObject static_p(final IRubyObject self)

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0