public class BottomGuardingDynamicLinker extends Object implements TypeBasedGuardingDynamicLinker
CompositeTypeBasedGuardingDynamicLinker. Can
be used by other language runtimes if they need it though.| Modifier and Type | Field and Description |
|---|---|
static BottomGuardingDynamicLinker |
INSTANCE
The sole instance of this stateless linker.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLinkType(Class<?> type)
Returns true if the linker can link an invocation where the first argument (receiver) is of the specified type.
|
GuardedInvocation |
getGuardedInvocation(LinkRequest linkRequest,
LinkerServices linkerServices)
Creates a guarded invocation appropriate for a particular invocation with the specified arguments at a call site.
|
public static final BottomGuardingDynamicLinker INSTANCE
public boolean canLinkType(Class<?> type)
TypeBasedGuardingDynamicLinkercanLinkType in interface TypeBasedGuardingDynamicLinkertype - the type to linkpublic GuardedInvocation getGuardedInvocation(LinkRequest linkRequest, LinkerServices linkerServices)
GuardingDynamicLinkergetGuardedInvocation in interface GuardingDynamicLinkerlinkRequest - the object describing the request for linking a particular invocationlinkerServices - linker servicesLinkRequest.withoutRuntimeContext() and link for that.Copyright © 2013 Attila Szegedi. All Rights Reserved.