Top Inners Fields Constructors Methods
org.jruby.runtime.callsite

public Class GeCallSite

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
private static class

Field Summary

Inherited from org.jruby.runtime.callsite.BimorphicCallSite:
secondaryCache

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
,
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 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
,
double
the literal double value to pass
arg1
)

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

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

public boolean
public boolean
protected CacheEntry
protected CacheEntry
Inherited from org.jruby.runtime.callsite.BimorphicCallSite:
getSecondaryCacheretrieveSecondaryCache

Constructor Detail

GeCallSiteback to summary
public GeCallSite()

Method Detail

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
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, double 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 double 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:double

the literal double value 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
isSecondaryBuiltinback to summary
public boolean isSecondaryBuiltin(final IRubyObject self)

Overrides org.jruby.runtime.callsite.BimorphicCallSite.isSecondaryBuiltin.

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

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

Annotations
@Override
setSecondaryCacheback to summary
protected CacheEntry setSecondaryCache(final CacheEntry entry, final IRubyObject self)

Overrides org.jruby.runtime.callsite.BimorphicCallSite.setSecondaryCache.

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

private Class GeCallSite.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)
org.jruby.runtime.callsite back to summary

private Class GeCallSite.FloatEntry

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

FloatEntryback to summary
pack-priv FloatEntry(CacheEntry entry)