public class JRubyCallSite
extends java.lang.invoke.MutableCallSite
Modifier and Type | Field and Description |
---|---|
CacheEntry |
entry |
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) |
boolean |
boundOnce() |
void |
boundOnce(boolean boundOnce) |
CallType |
callType() |
int |
clearCount() |
void |
clearTypes() |
java.lang.String |
file() |
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) |
long |
siteID() |
public CacheEntry entry
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 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.MutableCallSite
public void setInitialTarget(java.lang.invoke.MethodHandle target)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.