| Modifier and Type | Field and Description |
|---|---|
| protected final CallType | callType
The type of call this site makes |
| public final String | methodName
The method name this site calls and caches |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, long the literal long value to pass fixnum)Call the site's method against the target object, passing a literal long value. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, double the literal double value to pass flote)Call the site's method against the target object, passing a literal double value. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self)Call the site's method against the target object passing no args. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject the argument to pass arg0)Call the site's method against the target object passing one argument. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject the first argument to pass arg0, IRubyObject the second argument to pass arg1)Call the site's method against the target object passing two arguments. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject the first argument to pass arg0, IRubyObject the second argument to pass arg1, IRubyObject the third argument to pass arg2)Call the site's method against the target object passing two arguments. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject... the arguments to pass args)Call the site's method against the target object passing arguments. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, Block the block argument to pass block)Call the site's method against the target object passing no arguments and a non-literal (block pass, &) block. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject the argument to pass arg0, Block the block argument to pass block)Call the site's method against the target object passing one argument and a non-literal (block pass, &) block. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject the first argument to pass arg0, IRubyObject the second argument to pass arg1, Block the block argument to pass block)Call the site's method against the target object passing two arguments and a non-literal (block pass, &) block. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject the first argument to pass arg0, IRubyObject the second argument to pass arg1, IRubyObject the third argument to pass arg2, Block the block argument to pass block)Call the site's method against the target object passing three arguments and a non-literal (block pass, &) block. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject[] the arguments to pass args, Block the block argument to pass block)Call the site's method against the target object passing one argument and a non-literal (block pass, &) block. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, Block the literal block to pass block)Call the site's method against the target object passing no arguments and a literal block. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject the argument to pass arg0, Block the literal block to pass block)Call the site's method against the target object passing one argument and a literal block. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject the first argument to pass arg0, IRubyObject the second argument to pass arg1, Block the literal block to pass block)Call the site's method against the target object passing two arguments and a literal block. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject the first argument to pass arg0, IRubyObject the second argument to pass arg1, IRubyObject the third argument to pass arg2, Block the literal block to pass block)Call the site's method against the target object passing three arguments and a literal block. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject[] the arguments to pass args, Block the literal block to pass block)Call the site's method against the target object passing arguments and a literal block. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject... the arguments to pass args)Call the site's method against the target object passing arguments. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject[] the arguments to pass args, Block the block argument to pass block)Call the site's method against the target object passing one argument and a non-literal (block pass, &) block. |
| public abstract IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the caller, for visibility checks caller, IRubyObject the target object to call against self, IRubyObject[] the arguments to pass args, Block the literal block to pass block)Call the site's method against the target object passing arguments and a literal block. |
| public IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the target object to call against self, long the literal long value to pass fixnum)Call the site's method against the target object, passing a literal long value. |
| public IRubyObject | Returns: the result of the callthe ThreadContext for the current thread context, IRubyObject the target object to call against self, double the literal double value to pass flote)Call the site's method against the target object, passing a literal double value. |
| public String | Returns: an informational string representation of this CallSiteOverrides java. Produce a string representation of this CallSite, for informational purposes. |
| callType | back to summary |
|---|---|
| protected final CallType callType The type of call this site makes | |
| methodName | back to summary |
|---|---|
| public final String methodName The method name this site calls and caches | |
| CallSite | back to summary |
|---|---|
| public CallSite(String methodName, CallType callType) Construct a new CallSite with the given method name and call type.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, long fixnum) Call the site's method against the target object, passing a literal long value.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, double flote) Call the site's method against the target object, passing a literal double value.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self) Call the site's method against the target object passing no args.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0) Call the site's method against the target object passing one argument.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1) Call the site's method against the target object passing two arguments.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) Call the site's method against the target object passing two arguments.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject... args) Call the site's method against the target object passing arguments.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, Block block) Call the site's method against the target object passing no arguments and a non-literal (block pass, &) block.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, Block block) Call the site's method against the target object passing one argument and a non-literal (block pass, &) block.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1, Block block) Call the site's method against the target object passing two arguments and a non-literal (block pass, &) block.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) Call the site's method against the target object passing three arguments and a non-literal (block pass, &) block.
| |
| call | back to summary |
|---|---|
| public abstract IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) Call the site's method against the target object passing one argument and a non-literal (block pass, &) block.
| |
| callIter | back to summary |
|---|---|
| public abstract IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, Block block) Call the site's method against the target object passing no arguments and a literal block. This version handles break jumps by returning their value if this is the appropriate place in the call stack to do so.
| |
| callIter | back to summary |
|---|---|
| public abstract IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, Block block) Call the site's method against the target object passing one argument and a literal block. This version handles break jumps by returning their value if this is the appropriate place in the call stack to do so.
| |
| callIter | back to summary |
|---|---|
| public abstract IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1, Block block) Call the site's method against the target object passing two arguments and a literal block. This version handles break jumps by returning their value if this is the appropriate place in the call stack to do so.
| |
| callIter | back to summary |
|---|---|
| public abstract IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block) Call the site's method against the target object passing three arguments and a literal block. This version handles break jumps by returning their value if this is the appropriate place in the call stack to do so.
| |
| callIter | back to summary |
|---|---|
| public abstract IRubyObject callIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) Call the site's method against the target object passing arguments and a literal block. This version handles break jumps by returning their value if this is the appropriate place in the call stack to do so.
| |
| callVarargs | back to summary |
|---|---|
| public abstract IRubyObject callVarargs(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject... args) Call the site's method against the target object passing arguments. As a "varargs" method, this will use the length of the args array to dispatch to the correct arity call, rather than dispatching unconditionally to the IRubyObject[] path.
| |
| callVarargs | back to summary |
|---|---|
| public abstract IRubyObject callVarargs(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) Call the site's method against the target object passing one argument and a non-literal (block pass, &) block. As a "varargs" method, this will use the length of the args array to dispatch to the correct arity call, rather than dispatching unconditionally to the IRubyObject[] path.
| |
| callVarargsIter | back to summary |
|---|---|
| public abstract IRubyObject callVarargsIter(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) Call the site's method against the target object passing arguments and a literal block. This version handles break jumps by returning their value if this is the appropriate place in the call stack to do so. As a "varargs" method, this will use the length of the args array to dispatch to the correct arity call, rather than dispatching unconditionally to the IRubyObject[] path.
| |
| fcall | back to summary |
|---|---|
| public IRubyObject fcall(ThreadContext context, IRubyObject self, long fixnum) Call the site's method against the target object, passing a literal long value. This version does not check visibility.
| |
| fcall | back to summary |
|---|---|
| public IRubyObject fcall(ThreadContext context, IRubyObject self, double flote) Call the site's method against the target object, passing a literal double value. This version does not check visibility.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Produce a string representation of this CallSite, for informational purposes. Subclasses can override this to provide more information.
| |