LinkRequest.
| Modifier and Type | Field and Description |
|---|---|
| private final Object[] | |
| private final CallSiteDescriptor | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | SimpleLinkRequest(final CallSiteDescriptor
the descriptor for the call site being linked.
Must not be null. callSiteDescriptor, final boolean true if the call site being linked is considered
unstable. callSiteUnstable, final Object... the arguments for the invocation. Must not be null. arguments)Creates a new link request. |
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | getArguments()
Implements jdk. Returns the arguments for the invocation being linked. |
| public CallSiteDescriptor | getCallSiteDescriptor()
Implements jdk. Returns the call site descriptor for the call site being linked. |
| public Object | getReceiver()
Implements jdk. Returns the first argument for the invocation being linked; this is typically the receiver object. |
| public boolean | isCallSiteUnstable()
Implements jdk. Returns true if the call site is considered unstable, that is, it has been relinked more times than was
specified in |
| public LinkRequest | replaceArguments(final CallSiteDescriptor newCallSiteDescriptor, final Object... newArguments)
Implements jdk. Returns a request identical to this one with call site descriptor and arguments replaced with the ones specified. |
| arguments | back to summary |
|---|---|
| private final Object[] arguments | |
| callSiteDescriptor | back to summary |
|---|---|
| private final CallSiteDescriptor callSiteDescriptor | |
| callSiteUnstable | back to summary |
|---|---|
| private final boolean callSiteUnstable | |
| SimpleLinkRequest | back to summary |
|---|---|
| public SimpleLinkRequest(final CallSiteDescriptor callSiteDescriptor, final boolean callSiteUnstable, final Object... arguments) Creates a new link request.
| |
| getArguments | back to summary |
|---|---|
| public Object[] getArguments() Implements jdk. Doc from jdk. 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() Implements jdk. Doc from jdk. Returns the call site descriptor for the call site being linked.
| |
| getReceiver | back to summary |
|---|---|
| public Object getReceiver() Implements jdk. Doc from jdk. 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() Implements jdk. Doc from jdk. 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(final CallSiteDescriptor newCallSiteDescriptor, final Object... newArguments) Implements jdk. Doc from jdk. Returns a request identical to this one with call site descriptor and arguments replaced with the ones specified.
| |