public class LinkRequestImpl extends Object implements LinkRequest
LinkRequest, representing a link request to a call site that passes no language
runtime specific native context arguments on the stack.| Constructor and Description |
|---|
LinkRequestImpl(CallSiteDescriptor callSiteDescriptor,
Object... arguments)
Creates a new link request.
|
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getArguments()
Returns the arguments for the invocation being linked.
|
CallSiteDescriptor |
getCallSiteDescriptor()
Returns the call site descriptor for the call site being linked.
|
Object |
getReceiver()
Returns the 0th argument for the invocation being linked; this is typically the receiver object.
|
LinkRequest |
replaceArguments(CallSiteDescriptor newCallSiteDescriptor,
Object[] newArguments)
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.
|
public LinkRequestImpl(CallSiteDescriptor callSiteDescriptor, Object... arguments)
callSiteDescriptor - the descriptor for the call site being linkedarguments - the arguments for the invocationpublic Object[] getArguments()
LinkRequestgetArguments in interface LinkRequestpublic Object getReceiver()
LinkRequestgetReceiver in interface LinkRequestpublic CallSiteDescriptor getCallSiteDescriptor()
LinkRequestgetCallSiteDescriptor in interface LinkRequestpublic LinkRequest withoutRuntimeContext()
LinkRequestwithoutRuntimeContext in interface LinkRequestpublic LinkRequest replaceArguments(CallSiteDescriptor newCallSiteDescriptor, Object[] newArguments)
LinkRequestreplaceArguments in interface LinkRequestnewCallSiteDescriptor - the new call site descriptornewArguments - the new argumentsCopyright © 2012 Attila Szegedi. All Rights Reserved.