Top Inners Constructors Methods
org.jruby.runtime.callsite

public Class ShiftRightCallSite

extends MonomorphicCallSite
Class Inheritance
Imports
org.jruby.RubyFixnum, org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
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
,
long
the literal long value to pass
arg1
)

Overrides org.jruby.runtime.callsite.CachingCallSite.call.

Call the site's method against the target object, passing a literal long value.

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
arg1
)

Overrides org.jruby.runtime.callsite.CachingCallSite.call.

Call the site's method against the target object passing one argument.

public boolean
protected CacheEntry

Constructor Detail

ShiftRightCallSiteback to summary
public ShiftRightCallSite()

Method Detail

callback to summary
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, long arg1)

Overrides org.jruby.runtime.callsite.CachingCallSite.call.

Doc from org.jruby.runtime.CallSite.call.

Call the site's method against the target object, passing a literal long value.

Parameters
context:ThreadContext

the ThreadContext for the current thread

caller:IRubyObject

the caller, for visibility checks

self:IRubyObject

the target object to call against

arg1:long

the literal long value to pass

Returns:IRubyObject

the result of the call

Annotations
@Override
callback to summary
public IRubyObject call(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg1)

Overrides org.jruby.runtime.callsite.CachingCallSite.call.

Doc from org.jruby.runtime.CallSite.call.

Call the site's method against the target object passing one argument.

Parameters
context:ThreadContext

the ThreadContext for the current thread

caller:IRubyObject

the caller, for visibility checks

self:IRubyObject

the target object to call against

arg1:IRubyObject

the argument to pass

Returns:IRubyObject

the result of the call

Annotations
@Override
isBuiltinback to summary
public boolean isBuiltin(final IRubyObject self)

Overrides org.jruby.runtime.callsite.CachingCallSite.isBuiltin.

Annotations
@Override
setCacheback to summary
protected CacheEntry setCache(final CacheEntry entry, final IRubyObject self)

Overrides org.jruby.runtime.callsite.CachingCallSite.setCache.

Annotations
@Override
org.jruby.runtime.callsite back to summary

private Class ShiftRightCallSite.FixnumEntry

extends CacheEntry
Class Inheritance

Field Summary

Inherited from org.jruby.runtime.callsite.CacheEntry:
methodNULL_CACHEsourceModuletoken

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Inherited from org.jruby.runtime.callsite.CacheEntry:
toStringtypeOk

Constructor Detail

FixnumEntryback to summary
pack-priv FixnumEntry(CacheEntry entry)