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.changeMethodType(MethodType newMethodType)
Creates a new call site descriptor from this descriptor, which is identical to this, except it changes 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.changeParameterType(CallSiteDescriptor desc,
int num,
Class<?> nptype)
Returns a new call site descriptor that is identical to the passed one, except that it has a single parameter
type changed in its method type.
|
static CallSiteDescriptor |
CallSiteDescriptorFactory.changeReturnType(CallSiteDescriptor desc,
Class<?> nrtype)
Returns a new call site descriptor that is identical to the passed one, except that it has the return type
changed in its method type.
|
static CallSiteDescriptor |
CallSiteDescriptorFactory.create(MethodHandles.Lookup lookup,
String name,
MethodType methodType)
Creates a new call site descriptor instance.
|
static CallSiteDescriptor |
CallSiteDescriptorFactory.dropParameterTypes(CallSiteDescriptor desc,
int start,
int end)
Returns a new call site descriptor that is identical to the passed one, except that it has some parameter types
removed from its method type.
|
CallSiteDescriptor |
LinkRequestImpl.getCallSiteDescriptor() |
CallSiteDescriptor |
AbstractRelinkableCallSite.getDescriptor() |
static CallSiteDescriptor |
CallSiteDescriptorFactory.insertParameterTypes(CallSiteDescriptor desc,
int num,
Class<?>... ptypesToInsert)
Returns a new call site descriptor that is identical to the passed one, except that it has additional parameter
types inserted into its method type.
|
static CallSiteDescriptor |
CallSiteDescriptorFactory.insertParameterTypes(CallSiteDescriptor desc,
int num,
List<Class<?>> ptypesToInsert)
Returns a new call site descriptor that is identical to the passed one, except that it has additional parameter
types inserted into its method type.
|
Modifier and Type | Method and Description |
---|---|
static CallSiteDescriptor |
CallSiteDescriptorFactory.changeParameterType(CallSiteDescriptor desc,
int num,
Class<?> nptype)
Returns a new call site descriptor that is identical to the passed one, except that it has a single parameter
type changed in its method type.
|
static CallSiteDescriptor |
CallSiteDescriptorFactory.changeReturnType(CallSiteDescriptor desc,
Class<?> nrtype)
Returns a new call site descriptor that is identical to the passed one, except that it has the return type
changed in its method type.
|
static CallSiteDescriptor |
CallSiteDescriptorFactory.dropParameterTypes(CallSiteDescriptor desc,
int start,
int end)
Returns a new call site descriptor that is identical to the passed one, except that it has some parameter types
removed from its method type.
|
boolean |
AbstractCallSiteDescriptor.equals(CallSiteDescriptor csd)
Returns true if this call site descriptor is equal to the passed call site descriptor.
|
static CallSiteDescriptor |
CallSiteDescriptorFactory.insertParameterTypes(CallSiteDescriptor desc,
int num,
Class<?>... ptypesToInsert)
Returns a new call site descriptor that is identical to the passed one, except that it has additional parameter
types inserted into its method type.
|
static CallSiteDescriptor |
CallSiteDescriptorFactory.insertParameterTypes(CallSiteDescriptor desc,
int num,
List<Class<?>> ptypesToInsert)
Returns a new call site descriptor that is identical to the passed one, except that it has additional parameter
types inserted into its method type.
|
LinkRequest |
LinkRequestImpl.replaceArguments(CallSiteDescriptor newCallSiteDescriptor,
Object[] newArguments) |
LinkRequest |
RuntimeContextLinkRequestImpl.replaceArguments(CallSiteDescriptor callSiteDescriptor,
Object[] arguments) |
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,
boolean callSiteUnstable,
Object... arguments)
Creates a new link request.
|
RuntimeContextLinkRequestImpl(CallSiteDescriptor callSiteDescriptor,
boolean callSiteUnstable,
Object[] arguments,
int runtimeContextArgCount)
Creates a new link request.
|
Copyright © 2018 Attila Szegedi. All rights reserved.