public class RuntimeContextLinkRequestImpl extends LinkRequestImpl
| Constructor and Description |
|---|
RuntimeContextLinkRequestImpl(CallSiteDescriptor callSiteDescriptor,
boolean callSiteUnstable,
Object[] arguments,
int runtimeContextArgCount)
Creates a new link request.
|
| Modifier and Type | Method and Description |
|---|---|
LinkRequest |
replaceArguments(CallSiteDescriptor callSiteDescriptor,
Object[] arguments)
Returns a request identical to this one with call site descriptor and arguments replaced with the ones specified.
|
LinkRequest |
withoutRuntimeContext()
Returns a request stripped from runtime context arguments.
|
getArguments, getCallSiteDescriptor, getReceiver, isCallSiteUnstablepublic RuntimeContextLinkRequestImpl(CallSiteDescriptor callSiteDescriptor, boolean callSiteUnstable, Object[] arguments, int runtimeContextArgCount)
callSiteDescriptor - the descriptor for the call site being linkedarguments - the arguments for the invocationcallSiteUnstable - true if the call site being linked is considered unstableruntimeContextArgCount - the number of the leading arguments on the stack that represent the language
runtime specific context arguments.IllegalArgumentException - if runtimeContextArgCount is less than 1.public LinkRequest withoutRuntimeContext()
LinkRequestwithoutRuntimeContext in interface LinkRequestwithoutRuntimeContext in class LinkRequestImplpublic LinkRequest replaceArguments(CallSiteDescriptor callSiteDescriptor, Object[] arguments)
LinkRequestreplaceArguments in interface LinkRequestreplaceArguments in class LinkRequestImplcallSiteDescriptor - the new call site descriptorarguments - the new argumentsCopyright © 2013 Attila Szegedi. All Rights Reserved.