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.relink(GuardedInvocation guardedInvocation,
MethodHandle fallback)
This method will be called by the dynamic linker every time the call site is normally relinked.
|
void |
ChainedCallSite.relink(GuardedInvocation guardedInvocation,
MethodHandle fallback) |
void |
MonomorphicCallSite.relink(GuardedInvocation guardedInvocation,
MethodHandle relink) |
void |
RelinkableCallSite.resetAndRelink(GuardedInvocation guardedInvocation,
MethodHandle fallback)
This method will be called by the dynamic linker every time the call site is relinked and the linker wishes the
call site to throw away any prior linkage state.
|
void |
ChainedCallSite.resetAndRelink(GuardedInvocation guardedInvocation,
MethodHandle fallback) |
void |
MonomorphicCallSite.resetAndRelink(GuardedInvocation guardedInvocation,
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(LinkerServices linkerServices,
MethodType newType)
Changes the type of the invocation, as if
LinkerServices.asType(MethodHandle, MethodType) was applied to
its invocation and its guard, if it has one (with return type changed to boolean, and parameter count potentially
truncated for the 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, and parameter count potentially truncated for
the 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 |
CompositeGuardingDynamicLinker.getGuardedInvocation(LinkRequest linkRequest,
LinkerServices linkerServices) |
GuardedInvocation |
CompositeTypeBasedGuardingDynamicLinker.getGuardedInvocation(LinkRequest linkRequest,
LinkerServices linkerServices) |
GuardedInvocation |
BottomGuardingDynamicLinker.getGuardedInvocation(LinkRequest linkRequest,
LinkerServices linkerServices) |
Copyright © 2019 Attila Szegedi. All rights reserved.