| Package | Description |
|---|---|
| org.dynalang.dynalink |
Contains the main API for using the dynamic linking facilities.
|
| org.dynalang.dynalink.beans |
Contains the linker for POJOs.
|
| org.dynalang.dynalink.linker |
Contains interfaces and classes needed by language runtimes to implement
their own language-specific linkers.
|
| org.dynalang.dynalink.support |
Contains supporting classes for other packages.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RelinkableCallSite.setGuardedInvocation(GuardedInvocation guardedInvocation,
MethodHandle fallback)
This method will be called once by the dynamic linker every time the call site is relinked.
|
void |
MonomorphicCallSite.setGuardedInvocation(GuardedInvocation guardedInvocation,
MethodHandle relink) |
void |
ChainedCallSite.setGuardedInvocation(GuardedInvocation invocation,
MethodHandle relink) |
| Modifier and Type | Method and Description |
|---|---|
GuardedInvocation |
BeansLinker.getGuardedInvocation(LinkRequest request,
LinkerServices linkerServices) |
| Modifier and Type | Method and Description |
|---|---|
GuardedInvocation |
GuardedInvocation.asType(CallSiteDescriptor desc)
Changes the type of the invocation, as if
MethodHandle.asType(MethodType) was applied to its invocation
and its guard, if it has one (with return type changed to boolean for guard). |
GuardedInvocation |
GuardedInvocation.asType(MethodType newType)
Changes the type of the invocation, as if
MethodHandle.asType(MethodType) was applied to its invocation
and its guard, if it has one (with return type changed to boolean for guard). |
GuardedInvocation |
GuardingTypeConverterFactory.convertToType(Class<?> sourceType,
Class<?> targetType)
Returns a guarded invocation that receives an Object of the specified source type and returns an Object converted
to the specified target type.
|
GuardedInvocation |
GuardedInvocation.dropArguments(int pos,
Class<?>... valueTypes)
Makes an invocation that drops arguments in both the invocation and the guard (if there is one).
|
GuardedInvocation |
GuardedInvocation.dropArguments(int pos,
List<Class<?>> valueTypes)
Makes an invocation that drops arguments in both the invocation and the guard (if there is one).
|
GuardedInvocation |
GuardedInvocation.filterArguments(int pos,
MethodHandle... filters)
Applies argument filters to both the invocation and the guard (if there is one).
|
GuardedInvocation |
LinkerServices.getGuardedInvocation(LinkRequest linkRequest)
Creates a guarded invocation using the
DynamicLinker that exposes this linker services interface. |
GuardedInvocation |
GuardingDynamicLinker.getGuardedInvocation(LinkRequest linkRequest,
LinkerServices linkerServices)
Creates a guarded invocation appropriate for a particular invocation with the specified arguments at a call site.
|
GuardedInvocation |
GuardedInvocation.replaceMethods(MethodHandle newInvocation,
MethodHandle newGuard)
Creates a new guarded invocation with different methods, preserving the switch point.
|
| Modifier and Type | Method and Description |
|---|---|
GuardedInvocation |
LinkerServicesImpl.getGuardedInvocation(LinkRequest linkRequest) |
GuardedInvocation |
CompositeTypeBasedGuardingDynamicLinker.getGuardedInvocation(LinkRequest linkRequest,
LinkerServices linkerServices) |
GuardedInvocation |
CompositeGuardingDynamicLinker.getGuardedInvocation(LinkRequest linkRequest,
LinkerServices linkerServices) |
GuardedInvocation |
BottomGuardingDynamicLinker.getGuardedInvocation(LinkRequest linkRequest,
LinkerServices linkerServices) |
Copyright © 2012 Attila Szegedi. All Rights Reserved.