public class JRubyCallSite
extends java.lang.invoke.MutableCallSite
| Modifier and Type | Field and Description |
|---|---|
private int |
arity |
private boolean |
attrAssign |
private boolean |
boundOnce |
private CallType |
callType |
private int |
clearCount |
CacheEntry |
entry |
private boolean |
expression |
private java.lang.String |
file |
private com.headius.invokebinder.Signature |
fullSignature |
private boolean |
iterator |
private int |
line |
private java.lang.invoke.MethodHandles.Lookup |
lookup |
private java.lang.String |
name |
private java.util.Set<java.lang.Integer> |
seenTypes |
private com.headius.invokebinder.Signature |
signature |
private static java.util.concurrent.atomic.AtomicLong |
SITE_ID |
private long |
siteID |
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,
java.lang.String file,
int line,
java.lang.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() |
java.lang.String |
file() |
com.headius.invokebinder.Signature |
fullSignature()
Get the "full" signature equivalent to this call site.
|
private static int |
getSiteCount(java.lang.Class[] args) |
boolean |
hasSeenType(int typeCode) |
boolean |
isAttrAssign() |
boolean |
isExpression() |
boolean |
isIterator() |
int |
line() |
java.lang.invoke.MethodHandles.Lookup |
lookup() |
java.lang.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() |
private final java.lang.invoke.MethodHandles.Lookup lookup
private final CallType callType
public CacheEntry entry
private final java.util.Set<java.lang.Integer> seenTypes
private final boolean attrAssign
private final boolean iterator
private final boolean expression
private final java.lang.String name
private int clearCount
private static final java.util.concurrent.atomic.AtomicLong SITE_ID
private final long siteID
private final java.lang.String file
private final int line
private boolean boundOnce
private final com.headius.invokebinder.Signature signature
private final com.headius.invokebinder.Signature fullSignature
private final int arity
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,
java.lang.String file,
int line,
java.lang.String name,
boolean attrAssign,
boolean iterator,
boolean expression)
public int arity()
private static int getSiteCount(java.lang.Class[] args)
public java.lang.invoke.MethodHandles.Lookup lookup()
public CallType callType()
public boolean isAttrAssign()
public boolean isIterator()
public boolean isExpression()
public java.lang.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 java.lang.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.MutableCallSitepublic void setInitialTarget(java.lang.invoke.MethodHandle target)
public com.headius.invokebinder.Signature signature()
public com.headius.invokebinder.Signature fullSignature()