A B C D E F G H I L M N O P R S T U V W 

A

AbstractCallSiteDescriptor - Class in org.dynalang.dynalink.support
A base class for call site descriptor implementations.
AbstractCallSiteDescriptor() - Constructor for class org.dynalang.dynalink.support.AbstractCallSiteDescriptor
 
AbstractRelinkableCallSite - Class in org.dynalang.dynalink.support
A basic implementation of the RelinkableCallSite as a MutableCallSite subclass.
AbstractRelinkableCallSite(CallSiteDescriptor) - Constructor for class org.dynalang.dynalink.support.AbstractRelinkableCallSite
Creates a new relinkable call site.
assertType(MethodType) - Method in class org.dynalang.dynalink.linker.GuardedInvocation
Asserts that the invocation is of the specified type, and the guard (if present) is of the specified type with a boolean return type.
asType(MethodType) - Method in class org.dynalang.dynalink.linker.GuardedInvocation
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).
asType(LinkerServices, MethodType) - Method in class org.dynalang.dynalink.linker.GuardedInvocation
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).
asType(CallSiteDescriptor) - Method in class org.dynalang.dynalink.linker.GuardedInvocation
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).
asType(MethodHandle, MethodType) - Method in interface org.dynalang.dynalink.linker.LinkerServices
Similar to MethodHandle.asType(MethodType) except it also hooks in method handles produced by GuardingTypeConverterFactory implementations, providing for language-specific type coercing of parameters.
asType(MethodHandle, MethodType) - Static method in class org.dynalang.dynalink.support.Guards
Takes a guard-test method handle, and adapts it to the requested type, returning a boolean.
asType(LinkerServices, MethodHandle, MethodType) - Static method in class org.dynalang.dynalink.support.Guards
Takes a guard-test method handle, and adapts it to the requested type, returning a boolean.
asType(MethodHandle, MethodType) - Method in class org.dynalang.dynalink.support.LinkerServicesImpl
 
asType(MethodHandle, MethodType) - Method in class org.dynalang.dynalink.support.TypeConverterFactory
Similar to MethodHandle.asType(MethodType) except it also hooks in method handles produced by GuardingTypeConverterFactory implementations, providing for language-specific type coercing of parameters.
AutoDiscovery - Class in org.dynalang.dynalink.support
Provides methods for automatic discovery of all guarding dynamic linkers listed in the /META-INF/services/org.dynalang.dynalink.linker.GuardingDynamicLinker resources of all JAR files for a particular class loader.

B

BeansLinker - Class in org.dynalang.dynalink.beans
A linker for POJOs.
BeansLinker() - Constructor for class org.dynalang.dynalink.beans.BeansLinker
Creates a new POJO linker.
bootstrap(MethodHandles.Lookup, String, MethodType) - Static method in class org.dynalang.dynalink.DefaultBootstrapper
Use this method as your bootstrap method (see the documentation of the java.lang.invoke package for how to do this).
BottomGuardingDynamicLinker - Class in org.dynalang.dynalink.support
A linker that can't link any call site.

C

CallerSensitiveDetector - Class in org.dynalang.dynalink.beans
Utility class that determines if a method or constructor is caller sensitive.
CallerSensitiveDetector() - Constructor for class org.dynalang.dynalink.beans.CallerSensitiveDetector
 
CallSiteDescriptor - Interface in org.dynalang.dynalink
An immutable descriptor of a call site.
CallSiteDescriptorFactory - Class in org.dynalang.dynalink.support
Usable as a default factory for call site descriptor implementations.
canConvert(Class<?>, Class<?>) - Method in interface org.dynalang.dynalink.linker.LinkerServices
Returns true if there might exist a conversion between the requested types (either an automatic JVM conversion, or one provided by any available GuardingTypeConverterFactory), or false if there definitely does not exist a conversion between the requested types.
canConvert(Class<?>, Class<?>) - Method in class org.dynalang.dynalink.support.LinkerServicesImpl
 
canConvert(Class<?>, Class<?>) - Method in class org.dynalang.dynalink.support.TypeConverterFactory
Returns true if there might exist a conversion between the requested types (either an automatic JVM conversion, or one provided by any available GuardingTypeConverterFactory), or false if there definitely does not exist a conversion between the requested types.
canLinkType(Class<?>) - Method in interface org.dynalang.dynalink.linker.TypeBasedGuardingDynamicLinker
Returns true if the linker can link an invocation where the first argument (receiver) is of the specified type.
canLinkType(Class<?>) - Method in class org.dynalang.dynalink.support.BottomGuardingDynamicLinker
 
canLinkType(Class<?>) - Method in class org.dynalang.dynalink.support.CompositeTypeBasedGuardingDynamicLinker
 
canReferenceDirectly(ClassLoader, ClassLoader) - Static method in class org.dynalang.dynalink.support.Guards
Return true if it is safe to strongly reference a class from the referred class loader from a class associated with the referring class loader without risking a class loader memory leak.
ChainedCallSite - Class in org.dynalang.dynalink
A relinkable call site that maintains a chain of linked method handles.
ChainedCallSite(CallSiteDescriptor) - Constructor for class org.dynalang.dynalink.ChainedCallSite
Creates a new chained call site.
changeMethodType(MethodType) - Method in interface org.dynalang.dynalink.CallSiteDescriptor
Creates a new call site descriptor from this descriptor, which is identical to this, except it changes the method type.
changeParameterType(CallSiteDescriptor, int, Class<?>) - Static method in class org.dynalang.dynalink.support.CallSiteDescriptorFactory
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.
changeReturnType(CallSiteDescriptor, Class<?>) - Static method in class org.dynalang.dynalink.support.CallSiteDescriptorFactory
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.
ClassMap<T> - Class in org.dynalang.dynalink.support
A dual map that can either strongly or weakly reference a given class depending on whether the class is visible from a class loader or not.
ClassMap(ClassLoader) - Constructor for class org.dynalang.dynalink.support.ClassMap
Creates a new class map.
compareConversion(Class<?>, Class<?>, Class<?>) - Method in interface org.dynalang.dynalink.linker.ConversionComparator
Determines which of the two target types is the preferred conversion target from a source type.
compareConversion(Class<?>, Class<?>, Class<?>) - Method in interface org.dynalang.dynalink.linker.LinkerServices
Determines which of the two type conversions from a source type to the two target types is preferred.
compareConversion(Class<?>, Class<?>, Class<?>) - Method in class org.dynalang.dynalink.support.LinkerServicesImpl
 
compareConversion(Class<?>, Class<?>, Class<?>) - Method in class org.dynalang.dynalink.support.TypeConverterFactory
Determines which of the two type conversions from a source type to the two target types is preferred.
compose(MethodHandle) - Method in class org.dynalang.dynalink.linker.GuardedInvocation
Composes the invocation, switchpoint, and the guard into a composite method handle that knows how to fall back.
compose(MethodHandle, MethodHandle) - Method in class org.dynalang.dynalink.linker.GuardedInvocation
Composes the invocation, switchpoint, and the guard into a composite method handle that knows how to fall back.
CompositeGuardingDynamicLinker - Class in org.dynalang.dynalink.support
A GuardingDynamicLinker that delegates sequentially to a list of other guarding dynamic linkers.
CompositeGuardingDynamicLinker(Iterable<? extends GuardingDynamicLinker>) - Constructor for class org.dynalang.dynalink.support.CompositeGuardingDynamicLinker
Creates a new composite linker.
CompositeTypeBasedGuardingDynamicLinker - Class in org.dynalang.dynalink.support
A composite type-based guarding dynamic linker.
CompositeTypeBasedGuardingDynamicLinker(Iterable<? extends TypeBasedGuardingDynamicLinker>) - Constructor for class org.dynalang.dynalink.support.CompositeTypeBasedGuardingDynamicLinker
Creates a new composite type-based linker.
computeValue(Class<?>) - Method in class org.dynalang.dynalink.support.ClassMap
Compute the value associated with the given class.
ConversionComparator - Interface in org.dynalang.dynalink.linker
Optional interface to be implemented by GuardingTypeConverterFactory implementers.
ConversionComparator.Comparison - Enum in org.dynalang.dynalink.linker
Enumeration of possible outcomes of comparing one conversion to another.
convertToType(Class<?>, Class<?>) - Method in interface org.dynalang.dynalink.linker.GuardingTypeConverterFactory
Returns a guarded invocation that receives an Object of the specified source type and returns an Object converted to the specified target type.
create(MethodHandles.Lookup, String, MethodType) - Static method in class org.dynalang.dynalink.support.CallSiteDescriptorFactory
Creates a new call site descriptor instance.
createLinker() - Method in class org.dynalang.dynalink.DynamicLinkerFactory
Creates a new dynamic linker consisting of all the prioritized, autodiscovered, and fallback linkers.

D

decode(String) - Static method in class org.dynalang.dynalink.support.NameCodec
Decodes ("demangles") an encoded symbolic name.
DEFAULT_UNSTABLE_RELINK_THRESHOLD - Static variable in class org.dynalang.dynalink.DynamicLinkerFactory
Default value for unstable relink threshold.
DefaultBootstrapper - Class in org.dynalang.dynalink
A convenience default bootstrapper that exposes static bootstrap methods which language runtimes that need the very default behavior can use with minimal setup.
dropArguments(int, List<Class<?>>) - Method in class org.dynalang.dynalink.linker.GuardedInvocation
Makes an invocation that drops arguments in both the invocation and the guard (if there is one).
dropArguments(int, Class<?>...) - Method in class org.dynalang.dynalink.linker.GuardedInvocation
Makes an invocation that drops arguments in both the invocation and the guard (if there is one).
dropParameterTypes(CallSiteDescriptor, int, int) - Static method in class org.dynalang.dynalink.support.CallSiteDescriptorFactory
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.
DynamicLinker - Class in org.dynalang.dynalink
The linker for RelinkableCallSite objects.
DynamicLinkerFactory - Class in org.dynalang.dynalink
A factory class for creating DynamicLinkers.
DynamicLinkerFactory() - Constructor for class org.dynalang.dynalink.DynamicLinkerFactory
 

E

encode(String) - Static method in class org.dynalang.dynalink.support.NameCodec
Encodes ("mangles") an unencoded symbolic name.
equals(Object) - Method in class org.dynalang.dynalink.support.AbstractCallSiteDescriptor
 
equals(CallSiteDescriptor) - Method in class org.dynalang.dynalink.support.AbstractCallSiteDescriptor
Returns true if this call site descriptor is equal to the passed call site descriptor.

F

filterArguments(int, MethodHandle...) - Method in class org.dynalang.dynalink.linker.GuardedInvocation
Applies argument filters to both the invocation and the guard (if there is one).
findGetter(Class<?>, String, Class<?>) - Method in class org.dynalang.dynalink.support.Lookup
findOwnSpecial(MethodHandles.Lookup, String, Class<?>, Class<?>...) - Static method in class org.dynalang.dynalink.support.Lookup
Given a lookup, finds using Lookup.findSpecial(Class, String, MethodType) a method on that lookup's class.
findOwnSpecial(String, Class<?>, Class<?>...) - Method in class org.dynalang.dynalink.support.Lookup
Finds using Lookup.findSpecial(Class, String, MethodType) a method on that lookup's class.
findOwnStatic(MethodHandles.Lookup, String, Class<?>, Class<?>...) - Static method in class org.dynalang.dynalink.support.Lookup
Given a lookup, finds using Lookup.findStatic(Class, String, MethodType) a method on that lookup's class.
findOwnStatic(String, Class<?>, Class<?>...) - Method in class org.dynalang.dynalink.support.Lookup
Finds using Lookup.findStatic(Class, String, MethodType) a method on that lookup's class.
findSpecial(Class<?>, String, MethodType) - Method in class org.dynalang.dynalink.support.Lookup
Performs a findSpecial on the underlying lookup.
findStatic(Class<?>, String, MethodType) - Method in class org.dynalang.dynalink.support.Lookup
Performs a findStatic on the underlying lookup.
findVirtual(Class<?>, String, MethodType) - Method in class org.dynalang.dynalink.support.Lookup
Performs a findVirtual on the underlying lookup.
forClass(Class<?>) - Static method in class org.dynalang.dynalink.beans.StaticClass
Retrieves the StaticClass instance for the specified class.

G

get(Class<?>) - Method in class org.dynalang.dynalink.support.ClassMap
Returns the value associated with the class
getArguments() - Method in interface org.dynalang.dynalink.linker.LinkRequest
Returns the arguments for the invocation being linked.
getArguments() - Method in class org.dynalang.dynalink.support.LinkRequestImpl
 
getCallSiteDescriptor() - Method in interface org.dynalang.dynalink.linker.LinkRequest
Returns the call site descriptor for the call site being linked.
getCallSiteDescriptor() - Method in class org.dynalang.dynalink.support.LinkRequestImpl
 
getClassGuard(Class<?>) - Static method in class org.dynalang.dynalink.support.Guards
Creates a guard method that tests its only argument for being of an exact particular class.
getDescriptor() - Method in interface org.dynalang.dynalink.RelinkableCallSite
Returns the descriptor for this call site.
getDescriptor() - Method in class org.dynalang.dynalink.support.AbstractRelinkableCallSite
 
getGuard() - Method in class org.dynalang.dynalink.linker.GuardedInvocation
Returns the guard method handle.
getGuardedInvocation(LinkRequest, LinkerServices) - Method in class org.dynalang.dynalink.beans.BeansLinker
 
getGuardedInvocation(LinkRequest, LinkerServices) - Method in interface org.dynalang.dynalink.linker.GuardingDynamicLinker
Creates a guarded invocation appropriate for a particular invocation with the specified arguments at a call site.
getGuardedInvocation(LinkRequest) - Method in interface org.dynalang.dynalink.linker.LinkerServices
Creates a guarded invocation using the DynamicLinker that exposes this linker services interface.
getGuardedInvocation(LinkRequest, LinkerServices) - Method in class org.dynalang.dynalink.support.BottomGuardingDynamicLinker
 
getGuardedInvocation(LinkRequest, LinkerServices) - Method in class org.dynalang.dynalink.support.CompositeGuardingDynamicLinker
 
getGuardedInvocation(LinkRequest, LinkerServices) - Method in class org.dynalang.dynalink.support.CompositeTypeBasedGuardingDynamicLinker
 
getGuardedInvocation(LinkRequest) - Method in class org.dynalang.dynalink.support.LinkerServicesImpl
 
getIdentityGuard(Object) - Static method in class org.dynalang.dynalink.support.Guards
Creates a guard method that tests its only argument for being referentially identical to another object
getInstanceMethodNames(Class<?>) - Static method in class org.dynalang.dynalink.beans.BeansLinker
Returns a collection of names of all instance methods of a class.
getInstanceOfGuard(Class<?>) - Static method in class org.dynalang.dynalink.support.Guards
Creates a guard method that tests its only argument for being an instance of a particular class.
getInvocation() - Method in class org.dynalang.dynalink.linker.GuardedInvocation
Returns the invocation method handle.
getLinkedCallSiteLocation() - Static method in class org.dynalang.dynalink.DynamicLinker
Returns a stack trace element describing the location of the call site currently being linked on the current thread.
getLinkerForClass(Class<?>) - Static method in class org.dynalang.dynalink.beans.BeansLinker
Returns a bean linker for a particular single class.
getLinkerServices() - Method in class org.dynalang.dynalink.DynamicLinker
Returns the object representing the lower level linker services of this class that are normally exposed to individual language-specific linkers.
getLookup() - Method in interface org.dynalang.dynalink.CallSiteDescriptor
Returns the lookup passed to the bootstrap method.
getLookup() - Method in class org.dynalang.dynalink.support.AbstractCallSiteDescriptor
 
getMaxChainLength() - Method in class org.dynalang.dynalink.ChainedCallSite
The maximum number of method handles in the chain.
getMethodType() - Method in interface org.dynalang.dynalink.CallSiteDescriptor
The type of the method at the call site.
getMostSpecificCommonType(Class<?>, Class<?>) - Static method in class org.dynalang.dynalink.support.TypeUtilities
Given two types represented by c1 and c2, returns a type that is their most specific common superclass or superinterface.
getName() - Method in interface org.dynalang.dynalink.CallSiteDescriptor
Returns the name of the method at the call site.
getName() - Method in class org.dynalang.dynalink.support.AbstractCallSiteDescriptor
 
getNameToken(int) - Method in interface org.dynalang.dynalink.CallSiteDescriptor
Returns the ith token in the method name at the call site.
getNameTokenCount() - Method in interface org.dynalang.dynalink.CallSiteDescriptor
Returns the number of tokens in the name of the method at the call site.
getPrimitiveType(Class<?>) - Static method in class org.dynalang.dynalink.support.TypeUtilities
When passed a class representing a wrapper for a primitive type, returns the class representing the corresponding primitive type.
getPrimitiveTypeByName(String) - Static method in class org.dynalang.dynalink.support.TypeUtilities
Given a name of a primitive type (except "void"), returns the class representing it.
getReadableInstancePropertyNames(Class<?>) - Static method in class org.dynalang.dynalink.beans.BeansLinker
Returns a collection of names of all readable instance properties of a class.
getReadableStaticPropertyNames(Class<?>) - Static method in class org.dynalang.dynalink.beans.BeansLinker
Returns a collection of names of all readable static properties of a class.
getReceiver() - Method in interface org.dynalang.dynalink.linker.LinkRequest
Returns the 0th argument for the invocation being linked; this is typically the receiver object.
getReceiver() - Method in class org.dynalang.dynalink.support.LinkRequestImpl
 
getRelinkedCallSiteLocation() - Static method in class org.dynalang.dynalink.DynamicLinker
getRepresentedClass() - Method in class org.dynalang.dynalink.beans.StaticClass
Returns the represented Java class.
getStaticMethodNames(Class<?>) - Static method in class org.dynalang.dynalink.beans.BeansLinker
Returns a collection of names of all static methods of a class.
getSwitchPoint() - Method in class org.dynalang.dynalink.linker.GuardedInvocation
Returns the switch point that can be used to invalidate the invocation handle.
getTypeConverter(Class<?>, Class<?>) - Method in interface org.dynalang.dynalink.linker.LinkerServices
Given a source and target type, returns a method handle that converts between them.
getTypeConverter(Class<?>, Class<?>) - Method in class org.dynalang.dynalink.support.LinkerServicesImpl
 
getTypeConverter(Class<?>, Class<?>) - Method in class org.dynalang.dynalink.support.TypeConverterFactory
Given a source and target type, returns a method handle that converts between them.
getWrapperType(Class<?>) - Static method in class org.dynalang.dynalink.support.TypeUtilities
When passed a class representing a primitive type, returns the class representing the corresponding wrapper type.
getWritableInstancePropertyNames(Class<?>) - Static method in class org.dynalang.dynalink.beans.BeansLinker
Returns a collection of names of all writable instance properties of a class.
getWritableStaticPropertyNames(Class<?>) - Static method in class org.dynalang.dynalink.beans.BeansLinker
Returns a collection of names of all writable static properties of a class.
GuardedInvocation - Class in org.dynalang.dynalink.linker
Represents a conditionally valid method handle.
GuardedInvocation(MethodHandle, MethodHandle) - Constructor for class org.dynalang.dynalink.linker.GuardedInvocation
Creates a new guarded invocation.
GuardedInvocation(MethodHandle, MethodHandle, SwitchPoint) - Constructor for class org.dynalang.dynalink.linker.GuardedInvocation
Creates a new guarded invocation.
GuardedInvocation(MethodHandle, SwitchPoint, MethodHandle) - Constructor for class org.dynalang.dynalink.linker.GuardedInvocation
Creates a new guarded invocation.
GuardingDynamicLinker - Interface in org.dynalang.dynalink.linker
The base interface for language-specific dynamic linkers.
GuardingTypeConverterFactory - Interface in org.dynalang.dynalink.linker
Optional interface that can be implemented by GuardingDynamicLinker implementations to provide language-runtime specific implicit type conversion capabilities.
Guards - Class in org.dynalang.dynalink.support
Utility methods for creating typical guards.

H

hasBeenInvalidated() - Method in class org.dynalang.dynalink.linker.GuardedInvocation
Returns true if and only if this guarded invocation has a switchpoint, and that switchpoint has been invalidated.
hashCode() - Method in class org.dynalang.dynalink.support.AbstractCallSiteDescriptor
 

I

initialize(MethodHandle) - Method in interface org.dynalang.dynalink.RelinkableCallSite
Initializes the relinkable call site by setting a relink-and-invoke method handle.
initialize(MethodHandle) - Method in class org.dynalang.dynalink.support.AbstractRelinkableCallSite
 
insertParameterTypes(CallSiteDescriptor, int, Class<?>...) - Static method in class org.dynalang.dynalink.support.CallSiteDescriptorFactory
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.
insertParameterTypes(CallSiteDescriptor, int, List<Class<?>>) - Static method in class org.dynalang.dynalink.support.CallSiteDescriptorFactory
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.
INSTANCE - Static variable in class org.dynalang.dynalink.support.BottomGuardingDynamicLinker
The sole instance of this stateless linker.
isArray(int, MethodType) - Static method in class org.dynalang.dynalink.support.Guards
Creates a method handle that returns true if the argument in the specified position is a Java array.
isCallSiteUnstable() - Method in interface org.dynalang.dynalink.linker.LinkRequest
Returns true if the call site is considered unstable, that is, it has been relinked more times than was specified in DynamicLinkerFactory.setUnstableRelinkThreshold(int).
isCallSiteUnstable() - Method in class org.dynalang.dynalink.support.LinkRequestImpl
 
isInstance(Class<?>, MethodType) - Static method in class org.dynalang.dynalink.support.Guards
Creates a method handle with arguments of a specified type, but with boolean return value.
isInstance(Class<?>, int, MethodType) - Static method in class org.dynalang.dynalink.support.Guards
Creates a method handle with arguments of a specified type, but with boolean return value.
isMethodInvocationConvertible(Class<?>, Class<?>) - Static method in class org.dynalang.dynalink.support.TypeUtilities
Determines whether one type can be converted to another type using a method invocation conversion, as per JLS 5.3 "Method Invocation Conversion".
isNotNull() - Static method in class org.dynalang.dynalink.support.Guards
Returns a guard that tests whether the first argument is not null.
isNull() - Static method in class org.dynalang.dynalink.support.Guards
Returns a guard that tests whether the first argument is null.
isOfClass(Class<?>, MethodType) - Static method in class org.dynalang.dynalink.support.Guards
Creates a guard method handle with arguments of a specified type, but with boolean return value.
isPotentiallyConvertible(Class<?>, Class<?>) - Static method in class org.dynalang.dynalink.support.TypeUtilities
Determines whether one type can be potentially converted to another type at runtime.
isSubtype(Class<?>, Class<?>) - Static method in class org.dynalang.dynalink.support.TypeUtilities
Determines whether one type is a subtype of another type, as per JLS 4.10 "Subtyping".

L

link(T) - Method in class org.dynalang.dynalink.DynamicLinker
Links an invokedynamic call site.
LinkerServices - Interface in org.dynalang.dynalink.linker
Interface for services provided to GuardingDynamicLinker instances by the DynamicLinker that owns them.
LinkerServicesImpl - Class in org.dynalang.dynalink.support
Default implementation of the LinkerServices interface.
LinkerServicesImpl(TypeConverterFactory, GuardingDynamicLinker) - Constructor for class org.dynalang.dynalink.support.LinkerServicesImpl
Creates a new linker services object.
LinkRequest - Interface in org.dynalang.dynalink.linker
Represents a request to link a particular invocation at a particular call site.
LinkRequestImpl - Class in org.dynalang.dynalink.support
Default implementation of the LinkRequest, representing a link request to a call site that passes no language runtime specific native context arguments on the stack.
LinkRequestImpl(CallSiteDescriptor, boolean, Object...) - Constructor for class org.dynalang.dynalink.support.LinkRequestImpl
Creates a new link request.
loadLinkers() - Static method in class org.dynalang.dynalink.support.AutoDiscovery
Discovers all guarding dynamic linkers listed in JAR files of the context class loader of the current thread.
loadLinkers(ClassLoader) - Static method in class org.dynalang.dynalink.support.AutoDiscovery
Discovers all guarding dynamic linkers listed in JAR files of the specified class loader.
Lookup - Class in org.dynalang.dynalink.support
A wrapper around MethodHandles.Lookup that masks checked exceptions in those cases when you're looking up methods within your own codebase (therefore it is an error if they are not present).
Lookup(MethodHandles.Lookup) - Constructor for class org.dynalang.dynalink.support.Lookup
Creates a new instance, bound to an instance of MethodHandles.Lookup.

M

MonomorphicCallSite - Class in org.dynalang.dynalink
A relinkable call site that implements monomorphic inline caching strategy.
MonomorphicCallSite(CallSiteDescriptor) - Constructor for class org.dynalang.dynalink.MonomorphicCallSite
Creates a new call site with monomorphic inline caching strategy.

N

NAME_OPERAND - Static variable in interface org.dynalang.dynalink.CallSiteDescriptor
The index of the name token that will usually carry a name of an operand (of a property, method, etc.)
NameCodec - Class in org.dynalang.dynalink.support
Implements the name mangling and demangling as specified by John Rose's "Symbolic Freedom in the VM" article.
NoSuchDynamicMethodException - Exception in org.dynalang.dynalink
Thrown at the invocation if the call site can not be linked by any available GuardingDynamicLinker.
NoSuchDynamicMethodException(String) - Constructor for exception org.dynalang.dynalink.NoSuchDynamicMethodException
Creates a new NoSuchDynamicMethodException

O

OPERATOR - Static variable in interface org.dynalang.dynalink.CallSiteDescriptor
The index of the name token that will usually carry the operation name.
OPERATOR_DELIMITER - Static variable in interface org.dynalang.dynalink.CallSiteDescriptor
Character used to delimit operation names in a composite operation specification.
optimize(Iterable<? extends GuardingDynamicLinker>) - Static method in class org.dynalang.dynalink.support.CompositeTypeBasedGuardingDynamicLinker
Optimizes a list of type-based linkers.
org.dynalang.dynalink - package org.dynalang.dynalink
Contains the main API for using the dynamic linking facilities.
org.dynalang.dynalink.beans - package org.dynalang.dynalink.beans
Contains the linker for POJOs.
org.dynalang.dynalink.linker - package org.dynalang.dynalink.linker
Contains interfaces and classes needed by language runtimes to implement their own language-specific linkers.
org.dynalang.dynalink.support - package org.dynalang.dynalink.support
Contains supporting classes for other packages.

P

PUBLIC - Static variable in class org.dynalang.dynalink.support.Lookup
A canonical Lookup object that wraps MethodHandles.publicLookup().
publicBootstrap(MethodHandles.Lookup, String, MethodType) - Static method in class org.dynalang.dynalink.DefaultBootstrapper
Use this method as your bootstrap method (see the documentation of the java.lang.invoke package for how to do this) when your language runtime doesn't have a concept of interaction with Java access scopes.

R

relink(GuardedInvocation, MethodHandle) - Method in class org.dynalang.dynalink.ChainedCallSite
 
relink(GuardedInvocation, MethodHandle) - Method in class org.dynalang.dynalink.MonomorphicCallSite
 
relink(GuardedInvocation, MethodHandle) - Method in interface org.dynalang.dynalink.RelinkableCallSite
This method will be called by the dynamic linker every time the call site is normally relinked.
RelinkableCallSite - Interface in org.dynalang.dynalink
Interface for relinkable call sites.
replaceArguments(CallSiteDescriptor, Object[]) - Method in interface org.dynalang.dynalink.linker.LinkRequest
Returns a request identical to this one with call site descriptor and arguments replaced with the ones specified.
replaceArguments(CallSiteDescriptor, Object[]) - Method in class org.dynalang.dynalink.support.LinkRequestImpl
 
replaceArguments(CallSiteDescriptor, Object[]) - Method in class org.dynalang.dynalink.support.RuntimeContextLinkRequestImpl
 
replaceMethods(MethodHandle, MethodHandle) - Method in class org.dynalang.dynalink.linker.GuardedInvocation
Creates a new guarded invocation with different methods, preserving the switch point.
resetAndRelink(GuardedInvocation, MethodHandle) - Method in class org.dynalang.dynalink.ChainedCallSite
 
resetAndRelink(GuardedInvocation, MethodHandle) - Method in class org.dynalang.dynalink.MonomorphicCallSite
 
resetAndRelink(GuardedInvocation, MethodHandle) - Method in interface org.dynalang.dynalink.RelinkableCallSite
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.
RuntimeContextLinkRequestImpl - Class in org.dynalang.dynalink.support
A link request implementation for call sites that pass language runtime specific context arguments on the stack.
RuntimeContextLinkRequestImpl(CallSiteDescriptor, boolean, Object[], int) - Constructor for class org.dynalang.dynalink.support.RuntimeContextLinkRequestImpl
Creates a new link request.

S

SCHEME - Static variable in interface org.dynalang.dynalink.CallSiteDescriptor
The index of the name token that will carry the operation scheme prefix (usually, "dyn").
setClassLoader(ClassLoader) - Method in class org.dynalang.dynalink.DynamicLinkerFactory
Sets the class loader for automatic discovery of available linkers.
setFallbackLinkers(List<? extends GuardingDynamicLinker>) - Method in class org.dynalang.dynalink.DynamicLinkerFactory
Sets the fallback linkers.
setFallbackLinkers(GuardingDynamicLinker...) - Method in class org.dynalang.dynalink.DynamicLinkerFactory
Sets the fallback linkers.
setPrioritizedLinker(GuardingDynamicLinker) - Method in class org.dynalang.dynalink.DynamicLinkerFactory
Sets a single prioritized linker.
setPrioritizedLinkers(List<? extends GuardingDynamicLinker>) - Method in class org.dynalang.dynalink.DynamicLinkerFactory
Sets the prioritized linkers.
setPrioritizedLinkers(GuardingDynamicLinker...) - Method in class org.dynalang.dynalink.DynamicLinkerFactory
Sets the prioritized linkers.
setRuntimeContextArgCount(int) - Method in class org.dynalang.dynalink.DynamicLinkerFactory
Sets the number of arguments in the call sites that represent the stack context of the language runtime creating the linker.
setSyncOnRelink(boolean) - Method in class org.dynalang.dynalink.DynamicLinkerFactory
Sets whether the linker created by this factory will invoke MutableCallSite.syncAll(MutableCallSite[]) after a call site is relinked.
setUnstableRelinkThreshold(int) - Method in class org.dynalang.dynalink.DynamicLinkerFactory
Sets the unstable relink threshold; the number of times a call site is relinked after which it will be considered unstable, and subsequent link requests for it will indicate this.
StaticClass - Class in org.dynalang.dynalink.beans
Object that represents the static facet of a class (its static methods, properties, and fields, as well as construction of instances using "dyn:new").

T

TOKEN_DELIMITER - Static variable in interface org.dynalang.dynalink.CallSiteDescriptor
Character used to delimit tokens in an call site name.
tokenizeName(String) - Static method in class org.dynalang.dynalink.support.CallSiteDescriptorFactory
Tokenizes the composite name along colons, as well as demangles and interns the tokens.
tokenizeOperators(CallSiteDescriptor) - Static method in class org.dynalang.dynalink.support.CallSiteDescriptorFactory
Tokenizes a composite operation name along pipe characters.
toString() - Method in class org.dynalang.dynalink.beans.StaticClass
 
toString() - Method in class org.dynalang.dynalink.support.AbstractCallSiteDescriptor
 
TypeBasedGuardingDynamicLinker - Interface in org.dynalang.dynalink.linker
A guarding dynamic linker that can determine whether it can link the call site solely based on the type of the first argument at linking invocation time.
TypeConverterFactory - Class in org.dynalang.dynalink.support
A factory for type converters.
TypeConverterFactory(Iterable<? extends GuardingTypeConverterFactory>) - Constructor for class org.dynalang.dynalink.support.TypeConverterFactory
Creates a new type converter factory from the available GuardingTypeConverterFactory instances.
TypeUtilities - Class in org.dynalang.dynalink.support
Various static utility methods for testing type relationships.

U

unreflect(Method) - Method in class org.dynalang.dynalink.support.Lookup
unreflect(MethodHandles.Lookup, Method) - Static method in class org.dynalang.dynalink.support.Lookup
unreflectConstructor(Constructor<?>) - Method in class org.dynalang.dynalink.support.Lookup
unreflectConstructor(MethodHandles.Lookup, Constructor<?>) - Static method in class org.dynalang.dynalink.support.Lookup
unreflectGetter(Field) - Method in class org.dynalang.dynalink.support.Lookup
unreflectSetter(Field) - Method in class org.dynalang.dynalink.support.Lookup

V

valueOf(String) - Static method in enum org.dynalang.dynalink.linker.ConversionComparator.Comparison
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.dynalang.dynalink.linker.ConversionComparator.Comparison
Returns an array containing the constants of this enum type, in the order they are declared.

W

withoutRuntimeContext() - Method in interface org.dynalang.dynalink.linker.LinkRequest
Returns a request stripped from runtime context arguments.
withoutRuntimeContext() - Method in class org.dynalang.dynalink.support.LinkRequestImpl
 
withoutRuntimeContext() - Method in class org.dynalang.dynalink.support.RuntimeContextLinkRequestImpl
 
A B C D E F G H I L M N O P R S T U V W 

Copyright © 2013 Attila Szegedi. All rights reserved.