| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final boolean | |
| private final Method | |
| private final JavaUtil. |
| Access | Constructor and Description |
|---|---|
| public |
| boxedReturnType | back to summary |
|---|---|
| private final Class<?> boxedReturnType | |
| isFinal | back to summary |
|---|---|
| private final boolean isFinal | |
| method | back to summary |
|---|---|
| private final Method method | |
| returnConverter | back to summary |
|---|---|
| private final JavaUtil. | |
| JavaMethod | back to summary |
|---|---|
| public JavaMethod(Ruby runtime, Method method) | |
| accessibleObject | back to summary |
|---|---|
| public final AccessibleObject accessibleObject() Implements abstract org.
| |
| checkInstanceof | back to summary |
|---|---|
| private void checkInstanceof(ThreadContext context, Object javaInvokee) throws RaiseException | |
| convertReturn | back to summary |
|---|---|
| private IRubyObject convertReturn(Ruby runtime, Object result) | |
| create | back to summary |
|---|---|
| public static JavaMethod create(Ruby runtime, Method method) | |
| create | back to summary |
|---|---|
| public static JavaMethod create(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes)
Deprecated
| |
| createDeclared | back to summary |
|---|---|
| public static JavaMethod createDeclared(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes)
Deprecated
| |
| equals | back to summary |
|---|---|
| public final boolean equals(Object other) Implements abstract org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getExceptionTypes | back to summary |
|---|---|
| public Class Implements abstract org. Implements org.
| |
| getGenericExceptionTypes | back to summary |
|---|---|
| public Type[] getGenericExceptionTypes() Implements abstract org.
| |
| getGenericParameterTypes | back to summary |
|---|---|
| public Type[] getGenericParameterTypes() Implements abstract org.
| |
| getMatchingDeclaredMethod | back to summary |
|---|---|
| public static JavaMethod getMatchingDeclaredMethod(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes) | |
| getModifiers | back to summary |
|---|---|
| public final int getModifiers() Implements abstract org.
| |
| getName | back to summary |
|---|---|
| public String getName() | |
| getParameterAnnotations | back to summary |
|---|---|
| public Annotation[][] getParameterAnnotations() Implements abstract org.
| |
| getValue | back to summary |
|---|---|
| public final Method getValue() | |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract org. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| invokeDirect | back to summary |
|---|---|
| public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object[] args) | |
| invokeDirect | back to summary |
|---|---|
| public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee) | |
| invokeDirect | back to summary |
|---|---|
| public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object arg0) | |
| invokeDirect | back to summary |
|---|---|
| public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object arg0, Object arg1) | |
| invokeDirect | back to summary |
|---|---|
| public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object arg0, Object arg1, Object arg2) | |
| invokeDirect | back to summary |
|---|---|
| public IRubyObject invokeDirect(ThreadContext context, Object javaInvokee, Object arg0, Object arg1, Object arg2, Object arg3) | |
| invokeDirectSuperWithExceptionHandling | back to summary |
|---|---|
| public IRubyObject invokeDirectSuperWithExceptionHandling(ThreadContext context, Method method, Object javaInvokee, Object... arguments) | |
| invokeDirectWithExceptionHandling | back to summary |
|---|---|
| public IRubyObject invokeDirectWithExceptionHandling(ThreadContext context, Method method, Object javaInvokee, Object[] arguments) | |
| invokeDirectWithExceptionHandling | back to summary |
|---|---|
| private IRubyObject invokeDirectWithExceptionHandling(ThreadContext context, Method method, Object javaInvokee) | |
| invokeDirectWithExceptionHandling | back to summary |
|---|---|
| private IRubyObject invokeDirectWithExceptionHandling(ThreadContext context, Method method, Object javaInvokee, Object arg0) | |
| invokeDirectWithExceptionHandling | back to summary |
|---|---|
| private IRubyObject invokeDirectWithExceptionHandling(ThreadContext context, Method method, Object javaInvokee, Object arg0, Object arg1) | |
| invokeDirectWithExceptionHandling | back to summary |
|---|---|
| private IRubyObject invokeDirectWithExceptionHandling(ThreadContext context, Method method, Object javaInvokee, Object arg0, Object arg1, Object arg2) | |
| invokeDirectWithExceptionHandling | back to summary |
|---|---|
| private IRubyObject invokeDirectWithExceptionHandling(ThreadContext context, Method method, Object javaInvokee, Object arg0, Object arg1, Object arg2, Object arg3) | |
| invokeStaticDirect | back to summary |
|---|---|
| public IRubyObject invokeStaticDirect(ThreadContext context, Object[] args) | |
| invokeStaticDirect | back to summary |
|---|---|
| public IRubyObject invokeStaticDirect(ThreadContext context) | |
| invokeStaticDirect | back to summary |
|---|---|
| public IRubyObject invokeStaticDirect(ThreadContext context, Object arg0) | |
| invokeStaticDirect | back to summary |
|---|---|
| public IRubyObject invokeStaticDirect(ThreadContext context, Object arg0, Object arg1) | |
| invokeStaticDirect | back to summary |
|---|---|
| public IRubyObject invokeStaticDirect(ThreadContext context, Object arg0, Object arg1, Object arg2) | |
| invokeStaticDirect | back to summary |
|---|---|
| public IRubyObject invokeStaticDirect(ThreadContext context, Object arg0, Object arg1, Object arg2, Object arg3) | |
| invokeWithExceptionHandling | back to summary |
|---|---|
| private IRubyObject invokeWithExceptionHandling(ThreadContext context, Method method, Object javaInvokee, Object[] arguments) | |
| isVarArgs | back to summary |
|---|---|
| public final boolean isVarArgs() Implements abstract org. Implements org.
| |
| mightBeProxy | back to summary |
|---|---|
| private boolean mightBeProxy(Object javaInvokee) | |
| newArgSizeMismatchError | back to summary |
|---|---|
| public static RaiseException newArgSizeMismatchError(Ruby runtime, Class<T>... argTypes) | |
| newMethodNotFoundError | back to summary |
|---|---|
| public static RaiseException newMethodNotFoundError(Ruby runtime, Class<T> target, String prettyName, String simpleName)
Deprecated since 10.0.
| |
| newMethodNotFoundError | back to summary |
|---|---|
| public static RaiseException newMethodNotFoundError(ThreadContext context, Class<T> target, String prettyName, String simpleName) | |
| toGenericString | back to summary |
|---|---|
| public String toGenericString() Implements abstract org.
| |
| tryProxyInvocation | back to summary |
|---|---|
| private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee, Object... args) | |
| tryProxyInvocation | back to summary |
|---|---|
| private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee) | |
| tryProxyInvocation | back to summary |
|---|---|
| private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee, Object arg0) | |
| tryProxyInvocation | back to summary |
|---|---|
| private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee, Object arg0, Object arg1) | |
| tryProxyInvocation | back to summary |
|---|---|
| private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee, Object arg0, Object arg1, Object arg2) | |
| tryProxyInvocation | back to summary |
|---|---|
| private IRubyObject tryProxyInvocation(ThreadContext context, Object javaInvokee, Object arg0, Object arg1, Object arg2, Object arg3) | |