public class JRubyCallSite extends java.lang.invoke.MutableCallSite
Modifier and Type | Field and Description |
---|---|
CacheEntry |
entry |
static com.headius.invokebinder.Signature |
STANDARD_SITE_SIG |
static com.headius.invokebinder.Signature |
STANDARD_SITE_SIG_1ARG |
static com.headius.invokebinder.Signature |
STANDARD_SITE_SIG_1ARG_BLOCK |
static com.headius.invokebinder.Signature |
STANDARD_SITE_SIG_2ARG |
static com.headius.invokebinder.Signature |
STANDARD_SITE_SIG_2ARG_BLOCK |
static com.headius.invokebinder.Signature |
STANDARD_SITE_SIG_3ARG |
static com.headius.invokebinder.Signature |
STANDARD_SITE_SIG_3ARG_BLOCK |
static com.headius.invokebinder.Signature |
STANDARD_SITE_SIG_BLOCK |
static com.headius.invokebinder.Signature |
STANDARD_SITE_SIG_NARG |
static com.headius.invokebinder.Signature |
STANDARD_SITE_SIG_NARG_BLOCK |
static com.headius.invokebinder.Signature[] |
STANDARD_SITE_SIGS |
static com.headius.invokebinder.Signature[] |
STANDARD_SITE_SIGS_BLOCK |
Constructor and Description |
---|
JRubyCallSite(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.invoke.MethodType type,
CallType callType,
String file,
int line,
String name,
boolean attrAssign,
boolean iterator,
boolean expression) |
Modifier and Type | Method and Description |
---|---|
void |
addType(int typeCode) |
int |
arity() |
boolean |
boundOnce() |
void |
boundOnce(boolean boundOnce) |
CallType |
callType() |
int |
clearCount() |
void |
clearTypes() |
String |
file() |
com.headius.invokebinder.Signature |
fullSignature()
Get the "full" signature equivalent to this call site.
|
boolean |
hasSeenType(int typeCode) |
boolean |
isAttrAssign() |
boolean |
isExpression() |
boolean |
isIterator() |
int |
line() |
java.lang.invoke.MethodHandles.Lookup |
lookup() |
String |
name() |
int |
seenTypesCount() |
void |
setInitialTarget(java.lang.invoke.MethodHandle target) |
void |
setTarget(java.lang.invoke.MethodHandle target) |
com.headius.invokebinder.Signature |
signature()
Get the actual incoming Signature for this call site.
|
long |
siteID() |
dynamicInvoker, getTarget, syncAll
type
public CacheEntry entry
public static final com.headius.invokebinder.Signature STANDARD_SITE_SIG
public static final com.headius.invokebinder.Signature STANDARD_SITE_SIG_1ARG
public static final com.headius.invokebinder.Signature STANDARD_SITE_SIG_2ARG
public static final com.headius.invokebinder.Signature STANDARD_SITE_SIG_3ARG
public static final com.headius.invokebinder.Signature STANDARD_SITE_SIG_NARG
public static final com.headius.invokebinder.Signature[] STANDARD_SITE_SIGS
public static final com.headius.invokebinder.Signature STANDARD_SITE_SIG_BLOCK
public static final com.headius.invokebinder.Signature STANDARD_SITE_SIG_1ARG_BLOCK
public static final com.headius.invokebinder.Signature STANDARD_SITE_SIG_2ARG_BLOCK
public static final com.headius.invokebinder.Signature STANDARD_SITE_SIG_3ARG_BLOCK
public static final com.headius.invokebinder.Signature STANDARD_SITE_SIG_NARG_BLOCK
public static final com.headius.invokebinder.Signature[] STANDARD_SITE_SIGS_BLOCK
public JRubyCallSite(java.lang.invoke.MethodHandles.Lookup lookup, java.lang.invoke.MethodType type, CallType callType, String file, int line, String name, boolean attrAssign, boolean iterator, boolean expression)
public int arity()
public java.lang.invoke.MethodHandles.Lookup lookup()
public CallType callType()
public boolean isAttrAssign()
public boolean isIterator()
public boolean isExpression()
public String name()
public boolean hasSeenType(int typeCode)
public void addType(int typeCode)
public int seenTypesCount()
public void clearTypes()
public int clearCount()
public long siteID()
public String file()
public int line()
public boolean boundOnce()
public void boundOnce(boolean boundOnce)
public void setTarget(java.lang.invoke.MethodHandle target)
setTarget
in class java.lang.invoke.MutableCallSite
public void setInitialTarget(java.lang.invoke.MethodHandle target)
public com.headius.invokebinder.Signature signature()
public com.headius.invokebinder.Signature fullSignature()
Copyright © 2001–2015 JRuby. All rights reserved.