GuardingDynamicLinker objects managed by the DynamicLinker
that is trying to link the call site.
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | Returns: the arguments for the invocation being linked.Returns the arguments for the invocation being linked. |
| public CallSiteDescriptor | Returns: the call site descriptor for the call site being linked.Returns the call site descriptor for the call site being linked. |
| public Object | Returns: the receiver object.Returns the first argument for the invocation being linked; this is typically the receiver object. |
| public boolean | Returns: true if the call site is considered unstable.Returns true if the call site is considered unstable, that is, it has been relinked more times than was
specified in |
| public LinkRequest | Returns: a new request identical to this one, except with the call site descriptor and arguments replaced with the specified ones.the new call site descriptor callSiteDescriptor, Object... the new arguments arguments)Returns a request identical to this one with call site descriptor and arguments replaced with the ones specified. |
| getArguments | back to summary |
|---|---|
| public Object[] getArguments() Returns the arguments for the invocation being linked. The returned array must be a clone; modifications to it must not affect the arguments in this request.
| |
| getCallSiteDescriptor | back to summary |
|---|---|
| public CallSiteDescriptor getCallSiteDescriptor() Returns the call site descriptor for the call site being linked.
| |
| getReceiver | back to summary |
|---|---|
| public Object getReceiver() Returns the first argument for the invocation being linked; this is
typically the receiver object. This is a shorthand for
| |
| isCallSiteUnstable | back to summary |
|---|---|
| public boolean isCallSiteUnstable() Returns true if the call site is considered unstable, that is, it has been relinked more times than was
specified in
| |
| replaceArguments | back to summary |
|---|---|
| public LinkRequest replaceArguments(CallSiteDescriptor callSiteDescriptor, Object... arguments) Returns a request identical to this one with call site descriptor and arguments replaced with the ones specified.
| |