| Package | Description |
|---|---|
| org.jruby.java.dispatch | |
| org.jruby.java.invokers | |
| org.jruby.javasupport | |
| org.jruby.javasupport.proxy |
| Modifier and Type | Method and Description |
|---|---|
private static <T extends ParameterTypes> |
CallableSelector.findCallable(T[] callables,
CallableSelector.CallableAcceptor acceptor,
IRubyObject[] args) |
private static <T extends ParameterTypes> |
CallableSelector.findCallableCandidates(T[] callables,
IRubyObject[] args) |
private static <T extends ParameterTypes> |
CallableSelector.findMatchingCallableForArgs(Ruby runtime,
T[] methods,
IRubyObject... args) |
private static <T extends ParameterTypes> |
CallableSelector.findMatchingCallableForArgsFallback(Ruby runtime,
T[] methods,
IRubyObject... args) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityFour(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityN(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject[] args) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityOne(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityThree(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityTwo(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0,
IRubyObject arg1) |
static <T extends ParameterTypes> |
CallableSelector.newCallableCache()
Internal helper to allocate a callable map to cache argument method matches.
|
| Modifier and Type | Method and Description |
|---|---|
static ParameterTypes |
CallableSelector.matchingCallableArityN(Ruby runtime,
java.util.Map cache,
ParameterTypes[] methods,
IRubyObject[] args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CallableSelector.CallableAcceptor.accept(ParameterTypes types,
IRubyObject[] args) |
private static boolean |
CallableSelector.assignableAndPrimitivable(ParameterTypes paramTypes,
IRubyObject... args) |
private static boolean |
CallableSelector.assignableAndPrimitivableWithVarargs(ParameterTypes paramTypes,
IRubyObject... args) |
private static boolean |
CallableSelector.assignableOrDuckable(ParameterTypes paramTypes,
IRubyObject... args) |
private static int |
CallableSelector.calcExactnessScore(ParameterTypes callable,
IRubyObject[] args) |
private static boolean |
CallableSelector.exactMatch(ParameterTypes paramTypes,
IRubyObject... args) |
private static <T extends ParameterTypes> |
CallableSelector.findCallable(T[] callables,
CallableSelector.CallableAcceptor acceptor,
IRubyObject[] args) |
private static <T extends ParameterTypes> |
CallableSelector.findCallableCandidates(T[] callables,
IRubyObject[] args) |
private static <T extends ParameterTypes> |
CallableSelector.findMatchingCallableForArgs(Ruby runtime,
T[] methods,
IRubyObject... args) |
private static <T extends ParameterTypes> |
CallableSelector.findMatchingCallableForArgsFallback(Ruby runtime,
T[] methods,
IRubyObject... args) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityFour(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityN(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject[] args) |
static ParameterTypes |
CallableSelector.matchingCallableArityN(Ruby runtime,
java.util.Map cache,
ParameterTypes[] methods,
IRubyObject[] args) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityOne(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityThree(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2) |
static <T extends ParameterTypes> |
CallableSelector.matchingCallableArityTwo(Ruby runtime,
IntHashMap<T> cache,
T[] methods,
IRubyObject arg0,
IRubyObject arg1) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object[] |
RubyToJavaInvoker.convertArguments(ParameterTypes method,
IRubyObject[] args) |
| Modifier and Type | Class and Description |
|---|---|
class |
JavaCallable |
class |
JavaConstructor |
class |
JavaMethod |
| Modifier and Type | Method and Description |
|---|---|
(package private) static <T extends ParameterTypes> |
Java.findCallablesForArity(int arity,
T[] callables) |
| Modifier and Type | Method and Description |
|---|---|
(package private) static <T extends ParameterTypes> |
Java.findCallablesForArity(int arity,
T[] callables) |
static java.lang.StringBuilder |
JavaCallable.inspectParameterTypes(java.lang.StringBuilder str,
ParameterTypes target) |
private static java.lang.StringBuilder |
JavaCallable.inspectParameterTypes(java.lang.StringBuilder str,
ParameterTypes target,
boolean brackets) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
JavaProxyMethod |
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaProxyClass.ProxyMethodImpl |
class |
JavaProxyConstructor |