Note
These will show no consumers, but generated code does call these so don't remove them thinking they are dead code.
| Modifier and Type | Class and Description |
|---|---|
| public static class | Helpers.
Wraps the target method_missing implementation, passing the called method name as a leading symbol argument. |
| Modifier and Type | Field and Description |
|---|---|
| private static final MethodHandle[] | |
| private static final MethodHandle[] | |
| private static final MethodHandles. | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final Pattern |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static IRubyObject[] | aastoreIRubyObjects(IRubyObject[] ary, IRubyObject one, IRubyObject two, IRubyObject three, int start)
|
| public static IRubyObject[] | aastoreIRubyObjects(IRubyObject[] ary, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, int start)
|
| public static IRubyObject[] | aastoreIRubyObjects(IRubyObject[] ary, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, int start)
|
| public static IRubyObject[] | aastoreIRubyObjects(IRubyObject[] ary, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, int start)
|
| public static IRubyObject[] | aastoreIRubyObjects(IRubyObject[] ary, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, int start)
|
| public static IRubyObject[] | aastoreIRubyObjects(IRubyObject[] ary, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, int start)
|
| public static IRubyObject[] | aastoreIRubyObjects(IRubyObject[] ary, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine, int start)
|
| public static IRubyObject[] | aastoreIRubyObjects(IRubyObject[] ary, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine, IRubyObject ten, int start)
|
| public static int | |
| public static int | Returns: the combined buffer size, or MAX_ARRAY_SIZEthe current thread context context, int the base size base, int the extra buffer size extra)Calculate a buffer length based on a base size and a extra size. |
| public static RubySymbol | addInstanceMethod(RubyModule containingClass, String name, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime)
Deprecated
|
| public static RubySymbol | addInstanceMethod(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime)
Deprecated
|
| public static RubySymbol | addInstanceMethod(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context)
|
| public static boolean | |
| private static void | addModuleMethod(RubyModule containingClass, DynamicMethod method, ThreadContext context, RubySymbol sym)
|
| public static IRubyObject[] | |
| public static RubyString | |
| public static RubyString | |
| public static IRubyObject[] | |
| public static RubyArray | |
| public static RubyArray | |
| public static IRubyObject[] | |
| public static ArgumentDescriptor[] | argsNodeToArgumentDescriptors(ArgsNode argsNode)
Use an ArgsNode (used for blocks) to generate ArgumentDescriptors |
| public static RubyArray | argsPush(ThreadContext context, RubyArray<T extends IRubyObject> first, IRubyObject second)
Deprecated
|
| public static RubyArray | |
| public static RubyArray | argumentDescriptorsToParameters(Ruby runtime, ArgumentDescriptor[] argsDesc, boolean isLambda)
Deprecated
since 10.0.
|
| public static RubyArray | argumentDescriptorsToParameters(ThreadContext context, ArgumentDescriptor[] argsDesc, boolean isLambda)
Convert a parameter list from ArgumentDescriptor format to "Array of Array" format |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static <T> T[] | |
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static <T> T[] | |
| public static <T> T[] | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static RubyArray | |
| public static RubyArray | Returns: ""
Deprecated
since 10.0. Use
Helpers#arrayValue(ThreadContext, IRubyObject)
|
| public static RubyArray | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static RubyArray | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static boolean | |
| public static IRubyObject | |
| public static String | Returns: the decoded stringthe bytelist to decode bytes)Convert a ByteList into a Java String by using its Encoding's Charset. |
| public static int | Returns: a larger buffer length with extra room for growth, or else the max array sizethe required length length)Calculate a buffer length based on the required length, expanding by 1.5x or to the maximum array size. |
| public static int | calculateBufferLength(Ruby runtime, int length)
Same as |
| public static IRubyObject | callMethodMissing(ThreadContext context, IRubyObject self, RubyClass klass, Visibility visibility, String name, CallType callType, IRubyObject[] args, Block block)
|
| public static IRubyObject | callMethodMissing(ThreadContext context, IRubyObject receiver, Visibility visibility, String name, CallType callType, IRubyObject[] args, Block block)
|
| public static IRubyObject | callMethodMissing(ThreadContext context, IRubyObject self, RubyClass klass, Visibility visibility, String name, CallType callType, IRubyObject arg0, Block block)
|
| public static IRubyObject | callMethodMissing(ThreadContext context, IRubyObject receiver, Visibility visibility, String name, CallType callType, IRubyObject arg0, Block block)
|
| public static IRubyObject | callMethodMissing(ThreadContext context, IRubyObject self, RubyClass klass, Visibility visibility, String name, CallType callType, IRubyObject arg0, IRubyObject arg1, Block block)
|
| public static IRubyObject | callMethodMissing(ThreadContext context, IRubyObject receiver, Visibility visibility, String name, CallType callType, IRubyObject arg0, IRubyObject arg1, Block block)
|
| public static IRubyObject | callMethodMissing(ThreadContext context, IRubyObject self, RubyClass klass, Visibility visibility, String name, CallType callType, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
|
| public static IRubyObject | callMethodMissing(ThreadContext context, IRubyObject receiver, Visibility visibility, String name, CallType callType, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
|
| public static IRubyObject | callMethodMissing(ThreadContext context, IRubyObject self, RubyClass klass, Visibility visibility, String name, CallType callType, Block block)
|
| public static IRubyObject | callMethodMissing(ThreadContext context, IRubyObject receiver, Visibility visibility, String name, CallType callType, Block block)
|
| private static void | |
| private static void | |
| public static void | checkArgumentCount(ThreadContext
thread context context, IRubyObject[] arguments array args, int minimum required min, int maximum allowed max)Used by the compiler to simplify arg checking in variable-arity paths |
| public static void | checkArgumentCount(ThreadContext
thread context context, IRubyObject[] arguments array args, int required number req)Used by the compiler to simplify arg checking in variable-arity paths |
| public static void | |
| public static RubyModule | |
| public static boolean | checkJavaException(final IRubyObject wrappedEx, final Throwable ex, IRubyObject catchable, ThreadContext context)
|
| public static boolean | |
| public static void | |
| public static void | |
| public static void | |
| private static IRubyObject | |
| public static IRubyObject[] | |
| public static RubyHash | |
| public static RubyHash | constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2)
|
| public static RubyHash | constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3)
|
| public static RubyHash | constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3, IRubyObject key4, IRubyObject value4, boolean prepareString4)
|
| public static RubyHash | constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3, IRubyObject key4, IRubyObject value4, boolean prepareString4, IRubyObject key5, IRubyObject value5, boolean prepareString5)
|
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static IRubyObject[] | constructObjectArray(IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five)
|
| public static IRubyObject[] | constructObjectArray(IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six)
|
| public static IRubyObject[] | constructObjectArray(IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven)
|
| public static IRubyObject[] | constructObjectArray(IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight)
|
| public static IRubyObject[] | constructObjectArray(IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine)
|
| public static IRubyObject[] | constructObjectArray(IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine, IRubyObject ten)
|
| public static MethodHandle | |
| public static RubyArray | |
| public static RubyArray | |
| public static RubyArray | |
| public static RubyArray | constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four)
|
| public static RubyArray | constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five)
|
| public static RubyArray | constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six)
|
| public static RubyArray | constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven)
|
| public static RubyArray | constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight)
|
| public static RubyArray | constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine)
|
| public static RubyArray | constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine, IRubyObject ten)
|
| public static RubyString[] | |
| public static RubyString[] | |
| public static RubyString[] | |
| public static RubyString[] | |
| public static RubyString[] | constructRubyStringArray(RubyString one, RubyString two, RubyString three, RubyString four, RubyString five)
|
| public static RubyString[] | constructRubyStringArray(RubyString one, RubyString two, RubyString three, RubyString four, RubyString five, RubyString six)
|
| public static RubyString[] | constructRubyStringArray(RubyString one, RubyString two, RubyString three, RubyString four, RubyString five, RubyString six, RubyString seven)
|
| public static RubyString[] | constructRubyStringArray(RubyString one, RubyString two, RubyString three, RubyString four, RubyString five, RubyString six, RubyString seven, RubyString eight)
|
| public static RubyString[] | constructRubyStringArray(RubyString one, RubyString two, RubyString three, RubyString four, RubyString five, RubyString six, RubyString seven, RubyString eight, RubyString nine)
|
| public static RubyString[] | constructRubyStringArray(RubyString one, RubyString two, RubyString three, RubyString four, RubyString five, RubyString six, RubyString seven, RubyString eight, RubyString nine, RubyString ten)
|
| public static MethodHandle | |
| public static RubyHash | |
| public static RubyHash | constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2)
|
| public static RubyHash | constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3)
|
| public static RubyHash | constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3, IRubyObject key4, IRubyObject value4)
|
| public static RubyHash | constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3, IRubyObject key4, IRubyObject value4, IRubyObject key5, IRubyObject value5)
|
| public static String[] | |
| public static String[] | |
| public static String[] | |
| public static String[] | |
| public static String[] | |
| public static String[] | |
| public static String[] | |
| public static String[] | |
| public static String[] | |
| public static String[] | |
| private static IRubyObject[] | |
| public static CacheEntry | createMethodMissingEntry(ThreadContext context, RubyClass selfClass, CallType callType, Visibility visibility, int token, String methodName)
|
| public static RubyArray | |
| public static RubyArray | |
| public static RubyArray | |
| public static RubyArray | |
| public static String | Returns: a Java String representation of the ByteListthe current runtime runtime, ByteList the bytelist value)Decode a given ByteList to a Java string. |
| public static int[] | |
| public static double[] | |
| private static long | |
| public static long[] | |
| pack-priv static StaticScope | |
| public static StaticScope | |
| private static String[][] | |
| public static String | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static String | |
| public static String | |
| private static void | |
| public static String | |
| public static String | |
| pack-priv static String | |
| public static RubyArray | |
| public static RubyArray | |
| public static RubyArray | |
| public static Errno | Returns: the resultingErrno value, or null if none could be determined.the exception to convert to an t)ErrnoThis method attempts to produce an Errno value for the given exception. |
| private static Errno | |
| public static boolean | Returns: false if `exception: false`, true otherwiseNote Assumes exception: ... |
| public static boolean | Returns: false if `exception: false`, true (or default value) otherwisethe keyword args hash opts, boolean to return when no keyword options defValue)Note Assumes exception: ... |
| public static boolean | Returns: false if `exception: false`, true (or default value) otherwisemethod args args, boolean to return when no keyword options defValue)Note Assumes exception: ... |
| public static void | |
| public static void | |
| public static void | |
| public static void | |
| public static RubyModule | |
| public static IRubyObject | |
| public static Block | |
| public static Block | |
| public static Block | |
| public static Block | |
| private static Block | |
| public static String | |
| public static IRubyObject | getDefinedCall(ThreadContext context, IRubyObject self, IRubyObject receiver, String name, IRubyObject definedMessage)
|
| public static IRubyObject | getDefinedConstantOrBoundMethod(IRubyObject left, String name, IRubyObject definedConstantMessage, IRubyObject definedMethodMessage)
Deprecated
since 10.0.
|
| public static IRubyObject | getDefinedConstantOrBoundMethod(ThreadContext context, IRubyObject left, String name, IRubyObject definedConstantMessage, IRubyObject definedMethodMessage)
|
| public static IRubyObject | |
| public static IRubyObject | |
| public static Block | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static String | |
| private static CacheEntry | |
| public static RubyModule | |
| public static String[] | |
| public static RubyClass | |
| public static Class | |
| public static String | |
| public static StaticScope | |
| public static RubyModule | |
| public static String | |
| public static void | handleArgumentSizes(ThreadContext context, Ruby runtime, int given, int required, int opt, int rest)
|
| public static long | |
| public static long | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | invoke(ThreadContext context, IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, Block block)
|
| public static IRubyObject | invoke(ThreadContext context, IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
|
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | invoke(ThreadContext context, IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
|
| public static IRubyObject | |
| public static IRubyObject | invoke(ThreadContext context, IRubyObject self, String name, IRubyObject[] args, CallType callType, Block block)
Deprecated
since 9.4-. Use finvoke if you do not want visibility-checking or invokeFrom if you do.
This method is deprecated because it depends on having a Ruby frame pushed for checking method visibility, and there's no way to enforce that. |
| public static IRubyObject | invoke(ThreadContext context, IRubyObject self, String name, IRubyObject arg, CallType callType, Block block)
Deprecated
since 9.4-. Use finvoke if you do not want visibility-checking or invokeFrom if you do.
This method is deprecated because it depends on having a Ruby frame pushed for checking method visibility, and there's no way to enforce that. |
| public static IRubyObject | invoke(ThreadContext context, IRubyObject self, String name, CallType callType)
Deprecated
since 9.4-. Use finvoke if you do not want visibility-checking or invokeFrom if you do.
This method is deprecated because it depends on having a Ruby frame pushed for checking method visibility, and there's no way to enforce that. |
| public static IRubyObject | invokeAs(ThreadContext context, RubyClass asClass, IRubyObject self, String name, IRubyObject[] args, Block block)
|
| public static IRubyObject | |
| public static IRubyObject | invokeAs(ThreadContext context, RubyClass asClass, IRubyObject self, String name, IRubyObject arg0, Block block)
|
| public static IRubyObject | invokeAs(ThreadContext context, RubyClass asClass, IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, Block block)
|
| public static IRubyObject | invokeAs(ThreadContext context, RubyClass asClass, IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
|
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | invokeChecked(ThreadContext context, IRubyObject self, JavaSites.
|
| public static IRubyObject | invokeChecked(ThreadContext context, IRubyObject self, JavaSites.
|
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | invokeFrom(ThreadContext context, IRubyObject caller, IRubyObject self, String name, IRubyObject[] args, CallType callType, Block block)
Deprecated
|
| public static IRubyObject | invokeFrom(ThreadContext context, IRubyObject caller, IRubyObject self, String name, IRubyObject arg, CallType callType, Block block)
Deprecated
|
| public static IRubyObject | invokeFrom(ThreadContext context, IRubyObject caller, IRubyObject self, String name, CallType callType)
Deprecated
|
| public static IRubyObject | invokePublic(ThreadContext context, IRubyObject self, String name, IRubyObject arg)
MRI: rb_funcallv_public |
| public static IRubyObject | invokeSuper(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block)
The protocol for super method invocation is a bit complicated in Ruby. |
| public static IRubyObject | invokeSuper(ThreadContext context, IRubyObject self, RubyModule klass, String name, IRubyObject[] args, Block block)
|
| public static IRubyObject | invokeSuper(ThreadContext context, IRubyObject self, RubyModule klass, String name, IRubyObject arg0, Block block)
|
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | invokeSuper(ThreadContext context, IRubyObject self, IRubyObject arg0, IRubyObject arg1, Block block)
|
| public static IRubyObject | invokeSuper(ThreadContext context, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
|
| public static void | irCheckArgsArrayArity(ThreadContext context, RubyArray<T extends IRubyObject> args, int required, int opt, boolean rest)
|
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | isExceptionHandled(RubyException currentException, IRubyObject exception0, IRubyObject exception1, ThreadContext context)
|
| public static IRubyObject | isExceptionHandled(RubyException currentException, IRubyObject exception0, IRubyObject exception1, IRubyObject exception2, ThreadContext context)
|
| public static IRubyObject | isJavaExceptionHandled(Throwable currentThrowable, IRubyObject[] throwables, ThreadContext context)
Deprecated
|
| public static IRubyObject | isJavaExceptionHandled(Throwable currentThrowable, IRubyObject throwable, ThreadContext context)
Deprecated
|
| public static IRubyObject | isJavaExceptionHandled(Throwable currentThrowable, IRubyObject throwable0, IRubyObject throwable1, ThreadContext context)
Deprecated
|
| public static IRubyObject | isJavaExceptionHandled(Throwable currentThrowable, IRubyObject throwable0, IRubyObject throwable1, IRubyObject throwable2, ThreadContext context)
Deprecated
|
| public static boolean | |
| public static boolean | |
| public static boolean | |
| public static String | |
| public static IRubyObject | |
| public static final Map | |
| public static IRubyObject | |
| public static int | Returns: the index of the requested byte or -1 if not foundthe byte[] to search ptr, int starting position for search start, final int byte to find find, int length to search len)Equivalent to C memchr with byte*. |
| public static int | Returns: the index of the requested boolean or -1 if not foundthe boolean[] to search ary, int starting position for search start, boolean boolean to find find, int length to search len)Equivalent to C memchr with bool*. |
| public static int | |
| public static RubyClass | |
| public static ArgumentDescriptor[] | |
| public static ArgumentDescriptor[] | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static long | |
| public static int | |
| public static int | Returns: the multiplied size, if validthe thread context context, int the base size base, int the multiplier multiplier)Calculate a buffer length based on a base size and a multiplier. |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static long | |
| public static IRubyObject | |
| public static Throwable | Returns: a RaiseException subtype instance appropriate for the given exceptionthe current runtime runtime, Throwable the exception to translate into a Ruby error t, Function<Throwable, Throwable> a fallback function if the exception cannot be translated els)Return a Ruby-friendly Throwable for a given Throwable. |
| public static Throwable | Returns: a RaiseException subtype instance appropriate for the given exceptionthe current runtime runtime, Throwable the exception to translate into a Ruby error t)Simplified form of Ruby#newErrorFromException with no default function. |
| public static RaiseException | Returns: a RaiseException subtype instance appropriate for the given exceptionthe current runtime runtime, IOException the exception to translate into a Ruby error ex)Construct an appropriate error (which may ultimately not be an IOError) for a given IOException. |
| public static RubyProc | |
| public static RaiseException | |
| public static IRubyObject[] | Returns: a nil-filled IRubyObject array of the requested lengththe length of the array requested length, Ruby the current runtime runtime)Return a nil-filled IRubyObject array of the specified length. |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static ArgumentDescriptor[] | parameterListToArgumentDescriptors(Ruby runtime, String[] parameterList, boolean isLambda)
Deprecated
since 10.0.
|
| public static ArgumentDescriptor[] | parameterListToArgumentDescriptors(ThreadContext context, String[] parameterList, boolean isLambda)
Convert a parameter list from prefix format to ArgumentDescriptor format. |
| public static Visibility | performNormalMethodChecksAndDetermineVisibility(Ruby runtime, RubyModule clazz, RubySymbol symbol, Visibility visibility)
Deprecated
since 10.0.
|
| public static Visibility | performNormalMethodChecksAndDetermineVisibility(ThreadContext context, RubyModule clazz, RubySymbol symbol, Visibility visibility)
|
| public static void | |
| public static StaticScope | |
| public static void | |
| public static String | |
| public static RubyBoolean | |
| public static RubyBoolean | |
| public static RubyBoolean | rbEqual(ThreadContext context, IRubyObject a, IRubyObject b, CallSite equal)
Equivalent to rb_equal in MRI |
| public static void | |
| private static boolean | |
| public static boolean | respondsToMethod(DynamicMethod method, boolean checkVisibility)
We have respondTo logic in RubyModule and we have a special callsite for respond_to?. |
| public static StaticScope | |
| pack-priv static IRubyObject[] | restructureBlockArgs(ThreadContext context, IRubyObject value, Signature signature, Block.
|
| public static void | |
| public static IRubyObject | |
| public static RubyFixnum | |
| private static DynamicMethod | |
| public static DynamicMethod | selectMethodMissing(ThreadContext context, IRubyObject receiver, Visibility visibility, String name, CallType callType)
|
| public static DynamicMethod | selectMethodMissing(ThreadContext context, RubyClass selfClass, Visibility visibility, String name, CallType callType)
|
| public static DynamicMethod | |
| private static void | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static void | |
| public static IRubyObject | |
| public static IRubyObject | |
| public static IRubyObject | |
| private static JavaSites. | |
| public static IRubyObject[] | |
| public static RubyArray | |
| public static void | |
| public static IRubyObject | |
| public static byte[] | |
| public static RubyArray | |
| public static RubyArray | subarrayOrEmpty(RubyArray<T extends IRubyObject> array, Ruby runtime, int index, int post)
Deprecated
|
| public static byte[] | |
| public static boolean | |
| public static String | Returns: the resulting symbol stringthe value to decode value)Decode the given value to a Java string using the following rules: * If the string is all US-ASCII characters, it will be decoded as US-ASCII. |
| public static void | throwErrorFromException(Ruby
the current runtime runtime, Throwable the exception to raise as an error, if appropriate, or as itself otherwise t)Throw an appropriate Ruby-friendly error or exception for a given Java exception. |
| public static void | |
| private static <T extends Throwable> void | |
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static IRubyObject[] | |
| public static <T> T | |
| public static IRubyObject | |
| public static int | |
| public static int | validateBufferLength(ThreadContext context, long length)
Check that the buffer length requested is within the valid range of 0 to MAX_ARRAY_SIZE, or raise an argument error. |
| public static RubyArray | viewArgsArray(ThreadContext context, RubyArray<T extends IRubyObject> rubyArray, int preArgsCount, int postArgsCount)
|
| public static IRubyObject |