| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class | |
| public abstract static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final Class | |
| public static final Class | |
| private boolean | |
| private String | |
| public static final Class | |
| public static final ThreadLocal | NAME_PASSER
Deprecated
Used for old-style nameless constructor to pass name in out-of-band.
|
| protected DynamicMethod. | nativeCall
Single-arity native call |
| private static final String[] | |
| private String | |
| private String[] | |
| protected static final String[] | |
| public static final Class | |
| protected Signature | |
| protected StaticScope | |
| private static final String[] | |
| private static final String[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | JavaMethod(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig)
Deprecated
|
| public | JavaMethod(RubyModule implementationClass, Visibility visibility, CallConfiguration callConfig, String name)
Deprecated
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected final void | |
| protected final void | |
| protected static void | checkArgumentCount(JavaMethod method, ThreadContext context, String name, IRubyObject[] args, int num)
|
| public DynamicMethod | dup()
Implements abstract org. Duplicate this method, returning DynamicMethod referencing the same code and with the same attributes. |
| public Arity | getArity()
Overrides org.
Deprecated
Retrieve the arity of this method, used for reporting arity to Ruby code. |
| public CallConfiguration | |
| public String | |
| public DynamicMethod. | getNativeCall()
Implements org. Get the NativeCall for the method, if available. |
| public String[] | |
| public Signature | getSignature()
Overrides org. Retrieve the signature of this method. |
| public StaticScope | |
| public boolean | isNative()
Overrides org. Returns true if this method is backed by native (i.e. Java) code. |
| public boolean | |
| protected static final void | |
| protected static final void | |
| protected static final void | |
| protected static final void | |
| protected static final void | |
| protected static final void | |
| protected static final void | |
| protected static final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | preFrameAndDummyScope(ThreadContext context, IRubyObject self, RubyModule frameClass, String name, Block block)
|
| protected final void | |
| protected final void | preFrameAndScope(ThreadContext context, IRubyObject self, RubyModule frameClass, String name, Block block)
|
| protected final void | |
| protected final void | preFrameOnly(ThreadContext context, IRubyObject self, RubyModule frameClass, String name, Block block)
|
| protected final void | |
| protected final void | |
| protected final void | |
| protected final void | |
| protected static IRubyObject | raiseArgumentError(JavaMethod method, ThreadContext context, String name, int given, int min, int max)
|
| protected final void | |
| protected final void | |
| public void | |
| public void | |
| public void | |
| public void | setNativeCall(Class<T>
native method target nativeTarget, String native method name nativeName, Class<T> native method return nativeReturn, Class<T>[] native method arguments nativeSignature, boolean static? statik, boolean plain Java method? java)Implements org. Set the single-arity NativeCall for this method. |
| public void | setNativeCall(Class<T>
native method target nativeTarget, String native method name nativeName, Class<T> native method return nativeReturn, Class<T>[] native method arguments nativeSignature, boolean static? statik)Implements org. Set the single-arity NativeCall for this method. |
| public void | |
| public void | |
| public void | |
| public void |