| Package | Description |
|---|---|
| org.dynalang.dynalink |
Contains the main API for using the dynamic linking facilities.
|
| 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 |
|---|---|
CallSiteDescriptor |
CallSiteDescriptor.changeParameterType(int num,
Class<?> newType)
Creates a new call site descriptor from this descriptor, which is identical to this, except it changes the type
of one of the parameters in the method type.
|
CallSiteDescriptor |
CallSiteDescriptor.changeReturnType(Class<?> newType)
Creates a new call site descriptor from this descriptor, which is identical to this, except it changes the return
type in the method type.
|
CallSiteDescriptor |
CallSiteDescriptor.dropParameterTypes(int from,
int to)
Creates a new call site descriptor from this descriptor, which is identical to this, except it drops few of the
parameters from the method type.
|
CallSiteDescriptor |
RelinkableCallSite.getDescriptor()
Returns the descriptor for this call site.
|
| Constructor and Description |
|---|
ChainedCallSite(CallSiteDescriptor descriptor)
Creates a new chained call site.
|
MonomorphicCallSite(CallSiteDescriptor descriptor)
Creates a new call site with monomorphic inline caching strategy.
|
| Modifier and Type | Method and Description |
|---|---|
CallSiteDescriptor |
LinkRequest.getCallSiteDescriptor()
Returns the call site descriptor for the call site being linked.
|
| 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). |
LinkRequest |
LinkRequest.replaceArguments(CallSiteDescriptor callSiteDescriptor,
Object[] arguments)
Returns a request identical to this one with call site descriptor and arguments replaced with the ones specified.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractCallSiteDescriptor
A base class for call site descriptor implementations.
|
| Modifier and Type | Method and Description |
|---|---|
static CallSiteDescriptor |
CallSiteDescriptorFactory.create(MethodHandles.Lookup lookup,
String name,
MethodType methodType)
Creates a new call site descriptor instance.
|
CallSiteDescriptor |
LinkRequestImpl.getCallSiteDescriptor() |
CallSiteDescriptor |
AbstractRelinkableCallSite.getDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AbstractCallSiteDescriptor.equals(CallSiteDescriptor csd)
Returns true if this call site descriptor is equal to the passed call site descriptor.
|
LinkRequest |
RuntimeContextLinkRequestImpl.replaceArguments(CallSiteDescriptor callSiteDescriptor,
Object[] arguments) |
LinkRequest |
LinkRequestImpl.replaceArguments(CallSiteDescriptor newCallSiteDescriptor,
Object[] newArguments) |
static List<String> |
CallSiteDescriptorFactory.tokenizeOperators(CallSiteDescriptor desc)
Tokenizes a composite operation name along pipe characters.
|
| Constructor and Description |
|---|
AbstractRelinkableCallSite(CallSiteDescriptor descriptor)
Creates a new relinkable call site.
|
LinkRequestImpl(CallSiteDescriptor callSiteDescriptor,
Object... arguments)
Creates a new link request.
|
RuntimeContextLinkRequestImpl(CallSiteDescriptor callSiteDescriptor,
Object[] arguments,
int runtimeContextArgCount)
Creates a new link request.
|
Copyright © 2012 Attila Szegedi. All Rights Reserved.