| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private RubySymbol | |
| private volatile RespondToCallSite. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected IRubyObject | cacheAndCall(ThreadContext context, IRubyObject caller, IRubyObject self, RubyClass selfType, IRubyObject arg)
Overrides org.
|
| protected IRubyObject | cacheAndCall(ThreadContext context, IRubyObject caller, IRubyObject self, RubyClass selfType, IRubyObject arg0, IRubyObject arg1)
Overrides org.
|
| public IRubyObject | call(ThreadContext
the 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 name)Overrides org. Call the site's method against the target object passing one argument. |
| public IRubyObject | call(ThreadContext
the 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 name, IRubyObject the second argument to pass bool)Overrides org. Call the site's method against the target object passing two arguments. |
| private IRubyObject | fastRespondTo(ThreadContext context, IRubyObject arg, CacheEntry entry, RubyClass selfType, boolean checkVisibility)
|
| private RubySymbol | |
| private static RespondToCallSite. | recacheRespondsTo(CacheEntry respondToMethod, String newString, RubyClass klass, boolean checkVisibility, ThreadContext context)
|
| public boolean | |
| public boolean |
| respondToName | back to summary |
|---|---|
| private final String respondToName | |
| respondToNameSym | back to summary |
|---|---|
| private RubySymbol respondToNameSym | |
| respondToTuple | back to summary |
|---|---|
| private volatile RespondToCallSite. | |
| RespondToCallSite | back to summary |
|---|---|
| public RespondToCallSite() | |
| RespondToCallSite | back to summary |
|---|---|
| public RespondToCallSite(String name) | |
| cacheAndCall | back to summary |
|---|---|
| protected IRubyObject cacheAndCall(ThreadContext context, IRubyObject caller, IRubyObject self, RubyClass selfType, IRubyObject arg) Overrides org.
| |
| cacheAndCall | back to summary |
|---|---|
| protected IRubyObject cacheAndCall(ThreadContext context, IRubyObject caller, IRubyObject self, RubyClass selfType, IRubyObject arg0, IRubyObject arg1) Overrides org.
| |
| call | back to summary |
|---|---|
| public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject name) Overrides org. Doc from org. Call the site's method against the target object passing one argument.
| |
| call | back to summary |
|---|---|
| public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject name, IRubyObject bool) Overrides org. Doc from org. Call the site's method against the target object passing two arguments.
| |
| fastRespondTo | back to summary |
|---|---|
| private IRubyObject fastRespondTo(ThreadContext context, IRubyObject arg, CacheEntry entry, RubyClass selfType, boolean checkVisibility) | |
| getRespondToNameSym | back to summary |
|---|---|
| private RubySymbol getRespondToNameSym(ThreadContext context) | |
| recacheRespondsTo | back to summary |
|---|---|
| private static RespondToCallSite. | |
| respondsTo | back to summary |
|---|---|
| public boolean respondsTo(ThreadContext context, IRubyObject caller, IRubyObject self) | |
| respondsTo | back to summary |
|---|---|
| public boolean respondsTo(ThreadContext context, IRubyObject caller, IRubyObject self, boolean includePrivate) | |
| Modifier and Type | Field and Description |
|---|---|
| public final boolean | |
| public final CacheEntry | |
| public final String | |
| pack-priv static final RespondToCallSite. | |
| public final IRubyObject | |
| public final boolean | |
| public final CacheEntry |
| Access | Constructor and Description |
|---|---|
| public | RespondToTuple(String name, boolean checkVisibility, CacheEntry respondToMethod, CacheEntry entry, IRubyObject respondsTo)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean |
| checkVisibility | back to summary |
|---|---|
| public final boolean checkVisibility | |
| entry | back to summary |
|---|---|
| public final CacheEntry entry | |
| name | back to summary |
|---|---|
| public final String name | |
| NULL_CACHE | back to summary |
|---|---|
| pack-priv static final RespondToCallSite. | |
| respondsTo | back to summary |
|---|---|
| public final IRubyObject respondsTo | |
| respondsToBoolean | back to summary |
|---|---|
| public final boolean respondsToBoolean | |
| respondToMethod | back to summary |
|---|---|
| public final CacheEntry respondToMethod | |
| RespondToTuple | back to summary |
|---|---|
| public RespondToTuple(String name, boolean checkVisibility, CacheEntry respondToMethod, CacheEntry entry, IRubyObject respondsTo) | |
| RespondToTuple | back to summary |
|---|---|
| public RespondToTuple(String name, boolean checkVisibility, CacheEntry respondToMethod, CacheEntry entry) | |
| cacheOk | back to summary |
|---|---|
| public boolean cacheOk(RubyClass klass) | |