| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private static class | |
| private static class | |
| private static class | |
| public static class | |
| public static class | Java.
Used for concrete reified classes. |
| public static class | |
| public static class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| public static final boolean | |
| public static final boolean |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static IRubyObject | |
| private static boolean | |
| private static boolean | bindJavaPackageOrClassMethod(ThreadContext context, final String name, final RubyModule packageOrClass)
|
| private static boolean | bindJavaPackageOrClassMethod(ThreadContext context, final RubyModule parentPackage, final String name, final RubyModule packageOrClass)
|
| private static RubyModule | cacheConstant(ThreadContext context, final RubyModule owner, final String constName, final RubyModule packageOrClass, final boolean hidden)
|
| public static JavaObject | castToJavaObject(ThreadContext context, IRubyObject newValue)
References Deprecated
JavaObject is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private static <T extends ParameterTypes> T | |
| private static void | |
| public static IRubyObject | |
| public static IRubyObject | |
| private static boolean | constantNotSetOrDifferent(ThreadContext context, final RubyModule target, final String constName, final RubyModule proxyClass)
|
| public static IRubyObject | |
| public static IRubyObject | create_proxy_class(IRubyObject self, IRubyObject name, IRubyObject javaClass, IRubyObject mod)
Deprecated
since 9.4.
|
| public static RubyModule | |
| private static RubyModule | createPackageModule(ThreadContext context, final RubyModule parentModule, final String name, final String packageString)
|
| private static RubyClass | createProxyClass(ThreadContext context, final RubyClass proxyClass, final Class<?> javaClass, final RubyClass superClass, boolean invokeInherited)
|
| pack-priv static RubyModule | |
| pack-priv static <T extends ParameterTypes> ArrayList | |
| private static void | |
| private static void | |
| public static Class | |
| public static IRubyObject | |
| public static RubyModule | |
| public static RubyModule | |
| public static RubyModule | |
| public static RubyModule | |
| public static IRubyObject | get_package_module_dot_format(ThreadContext context, final IRubyObject self, final IRubyObject dottedName)
|
| public static RubyModule | |
| public static RubyModule | |
| public static IRubyObject | get_proxy_or_package_under_package(final ThreadContext context, final IRubyObject self, final IRubyObject parentPackage, final IRubyObject name)
|
| public static IRubyObject | get_top_level_proxy_or_package(final ThreadContext context, final IRubyObject self, final IRubyObject name)
|
| public static Method | Returns: the sole un-implemented method for a functional-style interface or nullNote This method is internal and might be subject to change, do not assume its part of JRuby's API!
|
| public static IRubyObject | getInstance(Ruby runtime, Object rawJavaObject)
Same as Java#getInstance(runtime, rawJavaObject, false). |
| public static IRubyObject | Returns: the new (or cached) proxy for the specified Java objectthe JRuby runtime runtime, Object the object to get a wrapper for rawJavaObject, boolean whether to force the use of the proxy cache forceCache)Returns a new proxy instance of a type corresponding to rawJavaObject's class, or the cached proxy if we've already seen this object. |
| public static RubyModule | |
| public static RubyModule | |
| public static RubyModule | |
| public static Class | |
| public static Class | |
| public static Class | |
| public static Class | |
| public static Class | |
| public static RubyModule | |
| public static RubyModule | |
| public static RubyModule | |
| private static String | |
| private static RubyModule | |
| public static RubyModule | |
| public static RubyModule | |
| public static RubyModule | |
| public static RubyClass | |
| public static RubyClass | |
| private static RubyModule | |
| pack-priv static RubyModule | getProxyOrPackageUnderPackage(final ThreadContext context, final RubyModule parentPackage, final String name, final boolean cacheMethod)
|
| private static RubyModule | |
| public static Constructor | |
| private static RubyModule | |
| pack-priv static RaiseException | |
| private static int | |
| private static IRubyObject | invokeProxyClassInherited(final ThreadContext context, final IRubyObject clazz, final IRubyObject subclazz)
|
| public static <T extends AccessibleObject & Member> boolean | isAccessible(T member)
Check if the given member would be accessible without using the deprecated AccessibleObject.isAccessible. |
| private static boolean | |
| public static boolean | |
| public static IRubyObject | |
| public static IRubyObject | java_to_ruby(IRubyObject recv, IRubyObject object, Block unusedBlock)
Deprecated
High-level object conversion utility function 'java_to_primitive' is the low-level version |
| public void | |
| public static Class | |
| public static Class | |
| pack-priv static Class | |
| private static RaiseException | |
| private static RaiseException | |
| private static int | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | new_proxy_instance2(IRubyObject recv, final IRubyObject wrapper, final IRubyObject interfaces, Block block)
Deprecated
since 10.0.
|
| public static IRubyObject | new_proxy_instance2(ThreadContext context, IRubyObject recv, final IRubyObject wrapper, final IRubyObject interfaces, Block block)
|
| public static Object | |
| public static Object | |
| private static Object | newProxyInterfaceImpl(final IRubyObject wrapper, final Class<T>[] interfaces, final ClassLoader loader)
|
| public static Class | |
| pack-priv static Class | |
| private static Class | |
| private static Class | |
| public static RubyModule | |
| public static RubyModule | |
| public static IRubyObject | ruby_to_java(final IRubyObject recv, IRubyObject object, Block unusedBlock)
Deprecated
High-level object conversion utility. |
| public static RubyModule | setProxyClass(final Ruby runtime, final RubyModule target, final String constName, final Class<?> javaClass)
Deprecated
since 10.0.
|
| public static RubyModule | setProxyClass(ThreadContext context, final RubyModule target, final String constName, final Class<?> javaClass)
|
| private static void | setProxyClass(ThreadContext context, final RubyModule target, final String constName, final RubyModule proxyClass, final boolean validateConstant)
|
| private static void | |
| public static <T extends AccessibleObject & Member> boolean | trySetAccessible(T member)
Try to set the given member to be accessible, considering open modules and avoiding the actual setAccessible call when it would produce a JPMS warning. |
| public static Class | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject |