public abstract class RubyToJavaInvoker extends JavaMethod
JavaMethod.JavaMethodN, JavaMethod.JavaMethodNBlock, JavaMethod.JavaMethodOne, JavaMethod.JavaMethodOneBlock, JavaMethod.JavaMethodOneOrN, JavaMethod.JavaMethodOneOrNBlock, JavaMethod.JavaMethodOneOrTwo, JavaMethod.JavaMethodOneOrTwoBlock, JavaMethod.JavaMethodOneOrTwoOrN, JavaMethod.JavaMethodOneOrTwoOrNBlock, JavaMethod.JavaMethodOneOrTwoOrThree, JavaMethod.JavaMethodOneOrTwoOrThreeBlock, JavaMethod.JavaMethodOneOrTwoOrThreeOrN, JavaMethod.JavaMethodOneOrTwoOrThreeOrNBlock, JavaMethod.JavaMethodThree, JavaMethod.JavaMethodThreeBlock, JavaMethod.JavaMethodThreeOrN, JavaMethod.JavaMethodThreeOrNBlock, JavaMethod.JavaMethodTwo, JavaMethod.JavaMethodTwoBlock, JavaMethod.JavaMethodTwoOrN, JavaMethod.JavaMethodTwoOrNBlock, JavaMethod.JavaMethodTwoOrThree, JavaMethod.JavaMethodTwoOrThreeBlock, JavaMethod.JavaMethodTwoOrThreeOrN, JavaMethod.JavaMethodTwoOrThreeOrNBlock, JavaMethod.JavaMethodZero, JavaMethod.JavaMethodZeroBlock, JavaMethod.JavaMethodZeroOrN, JavaMethod.JavaMethodZeroOrNBlock, JavaMethod.JavaMethodZeroOrOne, JavaMethod.JavaMethodZeroOrOneBlock, JavaMethod.JavaMethodZeroOrOneOrN, JavaMethod.JavaMethodZeroOrOneOrNBlock, JavaMethod.JavaMethodZeroOrOneOrTwo, JavaMethod.JavaMethodZeroOrOneOrTwoBlock, JavaMethod.JavaMethodZeroOrOneOrTwoOrN, JavaMethod.JavaMethodZeroOrOneOrTwoOrNBlock, JavaMethod.JavaMethodZeroOrOneOrTwoOrThree, JavaMethod.JavaMethodZeroOrOneOrTwoOrThreeBlock, JavaMethod.JavaMethodZeroOrOneOrTwoOrThreeOrN, JavaMethod.JavaMethodZeroOrOneOrTwoOrThreeOrNBlock
DynamicMethod.NativeCall
Modifier and Type | Field and Description |
---|---|
protected Map |
cache |
protected static Object[] |
EMPTY_OBJECT_ARRAY |
protected JavaCallable |
javaCallable |
protected JavaCallable[][] |
javaCallables |
protected JavaCallable[] |
javaVarargsCallables |
protected int |
minVarargsArity |
protected Ruby |
runtime |
arity, arityValue, BLOCK_METHODS, BLOCK_REST_METHODS, METHODS, REST_METHODS, staticScope
builtin, callConfig, handle, implementationClass, name, nativeCall, nativeCalls, notImplemented, protectedClass, serialNumber, visibility
callTrace, callTraceCompiled, checkArgumentCount, dup, getArity, getJavaName, getParameterList, getStaticScope, init, isNative, isSingleton, postBacktraceAndScope, postBacktraceDummyScope, postBacktraceOnly, postFrameAndScope, postFrameOnly, postNoFrameDummyScope, postNoop, postScopeOnly, preBacktraceAndScope, preBacktraceDummyScope, preBacktraceOnly, preFrameAndDummyScope, preFrameAndScope, preFrameOnly, preNoFrameDummyScope, preNoop, preScopeOnly, raiseArgumentError, returnTrace, returnTraceCompiled, setArity, setJavaName, setParameterDesc, setParameterList, setSingleton
calculateProtectedClass, call, call, call, call, call, call, call, call, call, call, getCallConfig, getHandle, getImplementationClass, getMethodData, getName, getNativeCall, getNativeCall, getProtectedClass, getRealMethod, getSerialNumber, getVisibility, handleBreak, handleRedo, handleReturn, init, isBuiltin, isCallableFrom, isNotImplemented, isUndefined, setCallConfig, setHandle, setImplementationClass, setIsBuiltin, setName, setNativeCall, setNativeCall, setNativeCall, setNotImplemented, setVisibility
protected static final Object[] EMPTY_OBJECT_ARRAY
protected final JavaCallable javaCallable
protected final JavaCallable[][] javaCallables
protected final JavaCallable[] javaVarargsCallables
protected final int minVarargsArity
protected final Map cache
protected final Ruby runtime
protected Member[] getMembers()
protected AccessibleObject[] getAccessibleObjects()
protected abstract JavaCallable createCallable(Ruby ruby, Member member)
protected abstract JavaCallable[] createCallableArray(JavaCallable callable)
protected abstract JavaCallable[] createCallableArray(int size)
protected abstract JavaCallable[][] createCallableArrayArray(int size)
protected abstract boolean isMemberVarArgs(Member member)
protected JavaCallable findCallable(IRubyObject self, String name, IRubyObject[] args, int arity)
protected JavaCallable findCallableArityZero(IRubyObject self, String name)
protected JavaCallable findCallableArityOne(IRubyObject self, String name, IRubyObject arg0)
protected JavaCallable findCallableArityTwo(IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1)
protected JavaCallable findCallableArityThree(IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
protected JavaCallable findCallableArityFour(IRubyObject self, String name, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
Copyright © 2001-2014 JRuby. All Rights Reserved.