| Constructor and Description |
|---|
RubyKernel.MethodMissingMethod(RubyModule implementationClass,
Visibility visibility,
CallType callType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
UndefinedMethod.isCallableFrom(IRubyObject caller,
CallType callType)
UndefinedMethod is always visible because it's only used as a marker for
missing or undef'ed methods.
|
boolean |
NullMethod.isCallableFrom(IRubyObject caller,
CallType callType)
NullMethod is always visible because it's only used as a marker to
break method lookup loops.
|
boolean |
DynamicMethod.isCallableFrom(IRubyObject caller,
CallType callType)
Determine whether this method is callable from the given object using
the given call type.
|
boolean |
DelegatingDynamicMethod.isCallableFrom(IRubyObject caller,
CallType callType) |
| Modifier and Type | Method and Description |
|---|---|
CallType |
CallBase.getCallType() |
| Modifier and Type | Method and Description |
|---|---|
static NoResultCallInstr |
NoResultCallInstr.create(CallType callType,
String name,
Operand receiver,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined) |
static CallInstr |
CallInstr.create(IRScope scope,
CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
Operand closure) |
| Constructor and Description |
|---|
CallBase(Operation op,
CallType callType,
String name,
Operand receiver,
Operand[] args,
Operand closure,
boolean potentiallyRefined) |
CallInstr(CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
Operand closure,
boolean potentiallyRefined) |
CallInstr(Operation op,
CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
Operand closure,
boolean potentiallyRefined) |
NoResultCallInstr(Operation op,
CallType callType,
String name,
Operand receiver,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined) |
| Constructor and Description |
|---|
OneFixnumArgNoBlockCallInstr(CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
boolean potentiallyRefined) |
OneFloatArgNoBlockCallInstr(CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
boolean potentiallyRefined) |
OneOperandArgBlockCallInstr(CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined) |
OneOperandArgNoBlockCallInstr(CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
boolean isPotentiallyRefined) |
OneOperandArgNoBlockNoResultCallInstr(CallType callType,
String name,
Operand receiver,
Operand[] args,
Operand closure,
boolean isPotentiallyRefined) |
ZeroOperandArgNoBlockCallInstr(CallType callType,
Variable result,
String name,
Operand receiver,
Operand[] args,
boolean isPotentiallyRefined) |
| Modifier and Type | Field and Description |
|---|---|
CallType |
InvokeSite.callType |
| Modifier and Type | Method and Description |
|---|---|
static void |
IRBytecodeAdapter.cacheCallSite(SkinnyMethodAdapter method,
String className,
String siteName,
String rubyName,
CallType callType,
boolean isPotentiallyRefined)
Utility to lazily construct and cache a call site object.
|
IRubyObject |
InvokeSite.callMethodMissing(CacheEntry entry,
CallType callType,
ThreadContext context,
IRubyObject self,
String name,
IRubyObject[] args,
Block block) |
void |
IRBytecodeAdapter6.invoke(String name,
int arity,
boolean hasClosure,
CallType callType,
boolean isPotentiallyRefined) |
void |
IRBytecodeAdapter7.invokeSelf(String name,
int arity,
boolean hasClosure,
CallType callType,
boolean isPotentiallyRefined) |
void |
IRBytecodeAdapter6.invokeSelf(String name,
int arity,
boolean hasClosure,
CallType callType,
boolean isPotentiallyRefined) |
abstract void |
IRBytecodeAdapter.invokeSelf(String name,
int arity,
boolean hasClosure,
CallType callType,
boolean isPotentiallyRefined)
Invoke a method on self.
|
| Constructor and Description |
|---|
InvokeSite(java.lang.invoke.MethodType type,
String name,
CallType callType) |
SelfInvokeSite(java.lang.invoke.MethodType type,
String name,
CallType callType) |
| Modifier and Type | Field and Description |
|---|---|
protected CallType |
CallSite.callType
The type of call this site makes
|
| Modifier and Type | Method and Description |
|---|---|
static CallType |
CallType.fromOrdinal(int value) |
CallType |
ThreadContext.getLastCallType() |
static CallType |
CallType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallType[] |
CallType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
CallSite(String methodName,
CallType callType)
Construct a new CallSite with the given method name and call type.
|
| Constructor and Description |
|---|
CachingCallSite(String methodName,
CallType callType) |
RefinedCachingCallSite(String methodName,
CallType callType) |
| Modifier and Type | Method and Description |
|---|---|
CallType |
JRubyCallSite.callType() |
| Constructor and Description |
|---|
JRubyCallSite(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.invoke.MethodType type,
CallType callType,
String file,
int line,
String name,
boolean expression) |
Copyright © 2001-2016 JRuby. All Rights Reserved.