| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv NonBlockingHashMapLong | |
| pack-priv volatile boolean | |
| protected T | |
| protected T[][] | |
| protected T[] | |
| private final Supplier | |
| pack-priv static final NonBlockingHashMapLong | |
| private final Ruby |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static JavaProxy | |
| private void | |
| public static Object[] | |
| public static Object[] | |
| public static Object[] | |
| private static <T> Object | |
| private static Object | |
| protected abstract T | |
| protected abstract T[] | |
| protected abstract T[] | |
| protected abstract T[][] | |
| public T | Returns: a suitable callable, or else raises an argument or name errorthe proxy wrapper self, String the method name name, IRubyObject[] the arguments args, final int the actual arity arity)Find the matching callable object given the target proxy wrapper, method name, arguments, and actual arity. |
| protected final T | findCallableArityFour(IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
|
| private T | |
| protected final T | |
| protected final T | findCallableArityThree(IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
|
| protected final T | |
| protected final T | |
| private static String | |
| private static Class | |
| pack-priv final int | |
| protected abstract Class | |
| public final T | |
| pack-priv void | |
| private boolean | |
| protected abstract boolean | |
| private T | matchVarArgsCallableArityFour(IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
|
| private T | |
| private T | |
| private T | matchVarArgsCallableArityThree(IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
|
| private T | |
| private T | |
| pack-priv RaiseException | |
| private RaiseException | |
| public final void | |
| private static void | |
| pack-priv static <T extends AccessibleObject & Member> T | |
| pack-priv static <T extends AccessibleObject & Member> T[] | |
| private boolean | |
| private void | |
| pack-priv final void | |
| private T | |
| pack-priv static Object |
| cache | back to summary |
|---|---|
| pack-priv NonBlockingHashMapLong<T> cache | |
| initialized | back to summary |
|---|---|
| pack-priv volatile boolean initialized | |
| javaCallable | back to summary |
|---|---|
| protected T javaCallable | |
| javaCallables | back to summary |
|---|---|
| protected T[][] javaCallables | |
| javaVarargsCallables | back to summary |
|---|---|
| protected T[] javaVarargsCallables | |
| members | back to summary |
|---|---|
| private final Supplier<Member[]> members | |
| NULL_CACHE | back to summary |
|---|---|
| pack-priv static final NonBlockingHashMapLong<TypeV> NULL_CACHE | |
| runtime | back to summary |
|---|---|
| private final Ruby runtime | |
| RubyToJavaInvoker | back to summary |
|---|---|
pack-priv RubyToJavaInvoker(RubyModule host, Supplier<Member[]> members, String name)
| |
| castJavaProxy | back to summary |
|---|---|
| pack-priv static JavaProxy castJavaProxy(final IRubyObject self) | |
| checkCallableArity | back to summary |
|---|---|
| private void checkCallableArity(final T callable, final int expected) | |
| convertArguments | back to summary |
|---|---|
| public static Object[] convertArguments(final ParameterTypes method, final IRubyObject[] args) | |
| convertArguments | back to summary |
|---|---|
| public static Object[] convertArguments(final ParameterTypes method, final IRubyObject[] args, final int addSpace) | |
| convertArguments | back to summary |
|---|---|
| public static Object[] convertArguments(final ParameterTypes method, final IRubyObject arg0, final int addSpace) | |
| convertVarArgumentsOnly | back to summary |
|---|---|
private static <T> Object convertVarArgumentsOnly(final Class<T> varArrayType, final int varStart, final IRubyObject[] args)
| |
| convertVarArgumentsOnly | back to summary |
|---|---|
| private static Object convertVarArgumentsOnly(final Class<?> varArrayType, final IRubyObject arg0) | |
| createCallable | back to summary |
|---|---|
| protected abstract T createCallable(Ruby runtime, Member member) | |
| createCallableArray | back to summary |
|---|---|
| protected abstract T[] createCallableArray(T callable) | |
| createCallableArray | back to summary |
|---|---|
| protected abstract T[] createCallableArray(int size) | |
| createCallableArrayArray | back to summary |
|---|---|
| protected abstract T[][] createCallableArrayArray(int size) | |
| findCallable | back to summary |
|---|---|
| public T findCallable(IRubyObject self, String name, IRubyObject[] args, final int arity) Find the matching callable object given the target proxy wrapper, method name, arguments, and actual arity.
| |
| findCallableArityFour | back to summary |
|---|---|
| protected final T findCallableArityFour(IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) | |
| findCallableArityN | back to summary |
|---|---|
| private T findCallableArityN(IRubyObject self, String name, IRubyObject[] args, int arity) | |
| findCallableArityOne | back to summary |
|---|---|
| protected final T findCallableArityOne(IRubyObject self, String name, IRubyObject arg0) | |
| findCallableArityThree | back to summary |
|---|---|
| protected final T findCallableArityThree(IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) | |
| findCallableArityTwo | back to summary |
|---|---|
| protected final T findCallableArityTwo(IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1) | |
| findCallableArityZero | back to summary |
|---|---|
| protected final T findCallableArityZero(IRubyObject self, String name) | |
| formatReceiver | back to summary |
|---|---|
| private static String formatReceiver(final IRubyObject object) | |
| getClass | back to summary |
|---|---|
| private static Class | |
| getMemberArity | back to summary |
|---|---|
| pack-priv final int getMemberArity(Member member) | |
| getMemberParameterTypes | back to summary |
|---|---|
| protected abstract Class | |
| getSignature | back to summary |
|---|---|
| public final T getSignature(int signatureCode) Internal API
| |
| initialize | back to summary |
|---|---|
| pack-priv void initialize() | |
| isConstructor | back to summary |
|---|---|
| private boolean isConstructor() | |
| isMemberVarArgs | back to summary |
|---|---|
| protected abstract boolean isMemberVarArgs(Member member)
Deprecated
| |
| matchVarArgsCallableArityFour | back to summary |
|---|---|
| private T matchVarArgsCallableArityFour(IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) | |
| matchVarArgsCallableArityN | back to summary |
|---|---|
| private T matchVarArgsCallableArityN(IRubyObject self, IRubyObject[] args) | |
| matchVarArgsCallableArityOne | back to summary |
|---|---|
| private T matchVarArgsCallableArityOne(IRubyObject self, IRubyObject arg0) | |
| matchVarArgsCallableArityThree | back to summary |
|---|---|
| private T matchVarArgsCallableArityThree(IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) | |
| matchVarArgsCallableArityTwo | back to summary |
|---|---|
| private T matchVarArgsCallableArityTwo(IRubyObject self, IRubyObject arg0, IRubyObject arg1) | |
| matchVarArgsCallableArityZero | back to summary |
|---|---|
| private T matchVarArgsCallableArityZero(IRubyObject self) | |
| newErrorDueArgumentTypeMismatch | back to summary |
|---|---|
| pack-priv RaiseException newErrorDueArgumentTypeMismatch(final IRubyObject receiver, final T[] methods, IRubyObject... args) | |
| newErrorDueNoMatchingCallable | back to summary |
|---|---|
| private RaiseException newErrorDueNoMatchingCallable(final IRubyObject receiver, final String name) | |
| putSignature | back to summary |
|---|---|
| public final void putSignature(int signatureCode, T callable) Internal API | |
| rethrowIfNotInaccessibleObject | back to summary |
|---|---|
| private static void rethrowIfNotInaccessibleObject(RuntimeException re) | |
| setAccessible | back to summary |
|---|---|
| pack-priv static <T extends AccessibleObject & Member> T setAccessible(T accessible) | |
| setAccessible | back to summary |
|---|---|
| pack-priv static <T extends AccessibleObject & Member> T[] setAccessible(T[] accessibles) | |
| setNativeCallIfPublic | back to summary |
|---|---|
| private boolean setNativeCallIfPublic(final Method method) | |
| setSignature | back to summary |
|---|---|
| private void setSignature(final int minArity, final int maxArity, final int minVarArgsArity) | |
| setupNativeCall | back to summary |
|---|---|
| pack-priv final void setupNativeCall() | |
| someCallable | back to summary |
|---|---|
| private T someCallable() | |
| unwrapIfJavaProxy | back to summary |
|---|---|
| pack-priv static Object unwrapIfJavaProxy(final IRubyObject object) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public V | get(Object
the key whose associated value is to be returned key)Overrides org. Implements java. Auto-boxing version of |
| public V | put(long
key with which the specified value is to be associated key, V value to be associated with the specified key val)Overrides org. Implements java. Maps the specified key to the specified value in the table. |
| public V | putIfAbsent(long
key with which the specified value is to be associated key, V value to be associated with the specified key val)Overrides org. Overrides default java. Implements java. Atomically, do a |
| NullHashMapLong | back to summary |
|---|---|
| pack-priv NullHashMapLong() | |
| get | back to summary |
|---|---|
| public V get(Object key) Overrides org. Implements java. Doc from org. Auto-boxing version of
| |
| put | back to summary |
|---|---|
| public V put(long key, V val) Overrides org. Implements java. Doc from org. Maps the specified key to the specified value in the table. The value cannot be null. The value can be retrieved by calling
| |
| putIfAbsent | back to summary |
|---|---|
| public V putIfAbsent(long key, V val) Overrides org. Overrides default java. Implements java. Doc from org. Atomically, do a
| |