Dynalink API
DRAFT 9-Ubuntu+0-9b144-1ubuntu1
A B C D E F G H I J L M N O P R S T U V W 

A

AbstractRelinkableCallSite - Class in jdk.dynalink.support
A basic implementation of the RelinkableCallSite as a MutableCallSite.
AUTOLOAD_PERMISSION_NAME - Static variable in class jdk.dynalink.linker.GuardingDynamicLinkerExporter
The name of the runtime permission for creating instances of this class.
AbstractRelinkableCallSite(CallSiteDescriptor) - Constructor for class jdk.dynalink.support.AbstractRelinkableCallSite
Creates a new abstract relinkable call site.
addSwitchPoint(SwitchPoint) - Method in class jdk.dynalink.linker.GuardedInvocation
Create a new guarded invocation with an added switch point.
asType(MethodHandle, MethodType) - Method in interface jdk.dynalink.linker.LinkerServices
Similar to MethodHandle.asType(MethodType) except it also hooks in method handles produced by all available GuardingTypeConverterFactory implementations, providing for language-specific type coercing of parameters.
asType(MethodHandle, MethodType) - Method in interface jdk.dynalink.linker.MethodTypeConversionStrategy
Converts a method handle to a new type.
asType(MethodHandle, MethodType) - Static method in class jdk.dynalink.linker.support.Guards
Takes a method handle intended to be used as a guard, and adapts it to the requested type, but returning a boolean.
asType(MethodType) - Method in class jdk.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(CallSiteDescriptor) - Method in class jdk.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(LinkerServices, MethodHandle, MethodType) - Static method in class jdk.dynalink.linker.support.Guards
Takes a method handle intended to be used as a guard, and adapts it to the requested type, but returning a boolean.
asType(LinkerServices, MethodType) - Method in class jdk.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).
asTypeLosslessReturn(MethodHandle, MethodType) - Method in interface jdk.dynalink.linker.LinkerServices
Similar to LinkerServices.asType(MethodHandle, MethodType) except it treats return value type conversion specially.
asTypeSafeReturn(LinkerServices, MethodType) - Method in class jdk.dynalink.linker.GuardedInvocation
Changes the type of the invocation, as if LinkerServices.asTypeLosslessReturn(MethodHandle, MethodType) was applied to its invocation and LinkerServices.asType(MethodHandle, MethodType) applied to its guard, if it has one (with return type changed to boolean, and parameter count potentially truncated for the guard).

B

BeansLinker - Class in jdk.dynalink.beans
A linker for ordinary Java objects.
BeansLinker() - Constructor for class jdk.dynalink.beans.BeansLinker
Creates a new beans linker.
BeansLinker(MissingMemberHandlerFactory) - Constructor for class jdk.dynalink.beans.BeansLinker
Creates a new beans linker with the specified factory for creating missing member handlers.

C

CallSiteDescriptor - Class in jdk.dynalink
Call site descriptors contain all the information necessary for linking a call site.
ChainedCallSite - Class in jdk.dynalink.support
A relinkable call site that implements a polymorphic inline caching strategy.
CompositeGuardingDynamicLinker - Class in jdk.dynalink.linker.support
A GuardingDynamicLinker that delegates sequentially to a list of other guarding dynamic linkers in its CompositeGuardingDynamicLinker.getGuardedInvocation(LinkRequest, LinkerServices).
CompositeTypeBasedGuardingDynamicLinker - Class in jdk.dynalink.linker.support
A composite type-based guarding dynamic linker.
ConversionComparator.Comparison - Enum in jdk.dynalink.linker
Enumeration of possible outcomes of comparing one conversion to another.
ConversionComparator - Interface in jdk.dynalink.linker
Optional interface to be implemented by GuardingTypeConverterFactory implementers.
CallSiteDescriptor(MethodHandles.Lookup, Operation, MethodType) - Constructor for class jdk.dynalink.CallSiteDescriptor
Creates a new call site descriptor.
ChainedCallSite(CallSiteDescriptor) - Constructor for class jdk.dynalink.support.ChainedCallSite
Creates a new chained call site.
CompositeGuardingDynamicLinker(Iterable<? extends GuardingDynamicLinker>) - Constructor for class jdk.dynalink.linker.support.CompositeGuardingDynamicLinker
Creates a new composite linker.
CompositeTypeBasedGuardingDynamicLinker(Iterable<? extends TypeBasedGuardingDynamicLinker>) - Constructor for class jdk.dynalink.linker.support.CompositeTypeBasedGuardingDynamicLinker
Creates a new composite type-based linker.
canConvert(Class<?>, Class<?>) - Method in interface jdk.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.
canLinkType(Class<?>) - Method in class jdk.dynalink.linker.support.CompositeTypeBasedGuardingDynamicLinker
Returns true if at least one of the composite linkers returns true from TypeBasedGuardingDynamicLinker.canLinkType(Class) for the type.
canLinkType(Class<?>) - Method in interface jdk.dynalink.linker.TypeBasedGuardingDynamicLinker
Returns true if the linker can link an invocation where the first argument (receiver) is of the specified type.
changeMethodType(MethodType) - Method in class jdk.dynalink.CallSiteDescriptor
Finds or creates a call site descriptor that only differs in its method type from this descriptor.
changeMethodTypeInternal(MethodType) - Method in class jdk.dynalink.CallSiteDescriptor
Finds or creates a call site descriptor that only differs in its method type from this descriptor.
changeName(String) - Method in class jdk.dynalink.NamedOperation
Finds or creates a named operation that differs from this one only in the name.
changeOperation(Operation) - Method in class jdk.dynalink.CallSiteDescriptor
Finds or creates a call site descriptor that only differs in its operation from this descriptor.
changeOperationInternal(Operation) - Method in class jdk.dynalink.CallSiteDescriptor
Finds or creates a call site descriptor that only differs in its operation from this descriptor.
compareConversion(Class<?>, Class<?>, Class<?>) - Method in interface jdk.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 jdk.dynalink.linker.LinkerServices
Determines which of the two type conversions from a source type to the two target types is preferred.
compose(MethodHandle) - Method in class jdk.dynalink.linker.GuardedInvocation
Composes the invocation, guard, switch points, and the exception into a composite method handle that knows how to fall back when the guard fails or the invocation is invalidated.
compose(MethodHandle, MethodHandle, MethodHandle) - Method in class jdk.dynalink.linker.GuardedInvocation
Composes the invocation, guard, switch points, and the exception into a composite method handle that knows how to fall back when the guard fails or the invocation is invalidated.
contains(Namespace) - Method in class jdk.dynalink.NamespaceOperation
Returns true if this namespace operation contains a namespace equal to the specified namespace.
contains(Operation, Operation, Namespace) - Static method in class jdk.dynalink.NamespaceOperation
Returns true if the specified operation is a NamespaceOperation and its base operation is equal to the specified operation, and it contains the specified namespace.
convertToType(Class<?>, Class<?>, Supplier<MethodHandles.Lookup>) - Method in interface jdk.dynalink.linker.GuardingTypeConverterFactory
Returns a guarded type conversion that receives a value of the specified source type and returns a value converted to the specified target type.
createLinker() - Method in class jdk.dynalink.DynamicLinkerFactory
Creates a new dynamic linker based on the current configuration.
createMissingMemberHandler(LinkRequest, LinkerServices) - Method in interface jdk.dynalink.beans.MissingMemberHandlerFactory
Returns a method handle suitable for implementing missing member behavior for a particular link request.

D

DefaultInternalObjectFilter - Class in jdk.dynalink.linker.support
Default implementation for a DynamicLinkerFactory.setInternalObjectsFilter(MethodHandleTransformer) that delegates to a pair of filtering method handles.
DynamicLinker - Class in jdk.dynalink
The linker for RelinkableCallSite objects.
DynamicLinkerFactory - Class in jdk.dynalink
A factory class for creating DynamicLinker objects.
DefaultInternalObjectFilter(MethodHandle, MethodHandle) - Constructor for class jdk.dynalink.linker.support.DefaultInternalObjectFilter
Creates a new filter.
DynamicLinkerFactory() - Constructor for class jdk.dynalink.DynamicLinkerFactory
Creates a new dynamic linker factory with default configuration.
dropArguments(int, Class<?>...) - Method in class jdk.dynalink.linker.GuardedInvocation
Makes an invocation that drops arguments in both the invocation and the guard (if there is one) with MethodHandles.dropArguments(MethodHandle, int, Class...).
dropArguments(int, List<Class<?>>) - Method in class jdk.dynalink.linker.GuardedInvocation
Makes an invocation that drops arguments in both the invocation and the guard (if there is one) with MethodHandles.dropArguments(MethodHandle, int, List).

E

equals(Object) - Method in class jdk.dynalink.CallSiteDescriptor
Returns true if this call site descriptor is equal to the passed object.
equals(Object) - Method in class jdk.dynalink.NamedOperation
Compares this named operation to another object.
equals(Object) - Method in class jdk.dynalink.NamespaceOperation
Returns true if the other object is also a namespace operation and their base operation and namespaces are equal.

F

filter(GuardedInvocation, LinkRequest, LinkerServices) - Method in interface jdk.dynalink.linker.GuardedInvocationTransformer
Given a guarded invocation, return either the same or potentially different guarded invocation.
filterArguments(int, MethodHandle...) - Method in class jdk.dynalink.linker.GuardedInvocation
Applies argument filters to both the invocation and the guard (if there is one) with MethodHandles.filterArguments(MethodHandle, int, MethodHandle...).
filterInternalObjects(MethodHandle) - Method in interface jdk.dynalink.linker.LinkerServices
Modifies the method handle so that any parameters that can receive potentially internal language runtime objects will have a filter added on them to prevent them from escaping, potentially by wrapping them.
findFirst(Operation) - Static method in enum jdk.dynalink.StandardNamespace
If the passed in operation is a NamespaceOperation, or a NamedOperation wrapping a NamespaceOperation, then it returns the first (if any) StandardNamespace in its namespace list.
findGetter(Class<?>, String, Class<?>) - Method in class jdk.dynalink.linker.support.Lookup
findOwnSpecial(MethodHandles.Lookup, String, Class<?>, Class<?>...) - Static method in class jdk.dynalink.linker.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 jdk.dynalink.linker.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 jdk.dynalink.linker.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 jdk.dynalink.linker.support.Lookup
Finds using Lookup.findStatic(Class, String, MethodType) a method on that lookup's class.
findSpecial(Class<?>, String, MethodType) - Method in class jdk.dynalink.linker.support.Lookup
findStatic(Class<?>, String, MethodType) - Method in class jdk.dynalink.linker.support.Lookup
findVirtual(Class<?>, String, MethodType) - Method in class jdk.dynalink.linker.support.Lookup
forClass(Class<?>) - Static method in class jdk.dynalink.beans.StaticClass
Retrieves the StaticClass instance for the specified class.

G

GuardedInvocation - Class in jdk.dynalink.linker
Represents a conditionally valid method handle.
GuardingDynamicLinkerExporter - Class in jdk.dynalink.linker
A class acting as a supplier of guarding dynamic linkers that can be automatically loaded by other language runtimes.
Guards - Class in jdk.dynalink.linker.support
Utility methods for creating typical guards for MethodHandles.guardWithTest(MethodHandle, MethodHandle, MethodHandle) and for adjusting their method types.
GuardedInvocationTransformer - Interface in jdk.dynalink.linker
Interface for objects that are used to transform one guarded invocation into another one.
GuardingDynamicLinker - Interface in jdk.dynalink.linker
The base interface for language-specific dynamic linkers.
GuardingTypeConverterFactory - Interface in jdk.dynalink.linker
Optional interface that can be implemented by GuardingDynamicLinker implementations to provide language-specific type conversion capabilities.
GET_LOOKUP_PERMISSION_NAME - Static variable in class jdk.dynalink.SecureLookupSupplier
The name of a runtime permission required to successfully invoke the SecureLookupSupplier.getLookup() method.
GuardedInvocation(MethodHandle) - Constructor for class jdk.dynalink.linker.GuardedInvocation
Creates a new unconditional guarded invocation.
GuardedInvocation(MethodHandle, MethodHandle) - Constructor for class jdk.dynalink.linker.GuardedInvocation
Creates a new guarded invocation, with a guard method handle.
GuardedInvocation(MethodHandle, MethodHandle, SwitchPoint) - Constructor for class jdk.dynalink.linker.GuardedInvocation
Creates a new guarded invocation, with both a guard method handle and a switch point that can be used to invalidate it.
GuardedInvocation(MethodHandle, MethodHandle, SwitchPoint[], Class<? extends Throwable>) - Constructor for class jdk.dynalink.linker.GuardedInvocation
Creates a new guarded invocation, with a guard method handle, any number of switch points that can be used to invalidate it, and an exception that if thrown when invoked also invalidates it.
GuardedInvocation(MethodHandle, MethodHandle, SwitchPoint, Class<? extends Throwable>) - Constructor for class jdk.dynalink.linker.GuardedInvocation
Creates a new guarded invocation, with a guard method handle, a switch point that can be used to invalidate it, and an exception that if thrown when invoked also invalidates it.
GuardedInvocation(MethodHandle, SwitchPoint) - Constructor for class jdk.dynalink.linker.GuardedInvocation
Creates a new guarded invocation that can be invalidated by a switch point.
GuardingDynamicLinkerExporter() - Constructor for class jdk.dynalink.linker.GuardingDynamicLinkerExporter
Creates a new linker exporter.
getArguments() - Method in interface jdk.dynalink.linker.LinkRequest
Returns the arguments for the invocation being linked.
getArguments() - Method in class jdk.dynalink.linker.support.SimpleLinkRequest
 
getAutoLoadingErrors() - Method in class jdk.dynalink.DynamicLinkerFactory
Returns a list of ServiceConfigurationErrors that were encountered while loading automatically discovered linkers during the last invocation of DynamicLinkerFactory.createLinker().
getBaseOperation() - Method in class jdk.dynalink.NamedOperation
Returns the base operation of this named operation.
getBaseOperation() - Method in class jdk.dynalink.NamespaceOperation
Returns the base operation of this named operation.
getBaseOperation(Operation) - Static method in class jdk.dynalink.NamedOperation
If the passed operation is a named operation, returns its NamedOperation.getBaseOperation(), otherwise returns the operation as is.
getBaseOperation(Operation) - Static method in class jdk.dynalink.NamespaceOperation
If the passed operation is a namespace operation, returns its NamespaceOperation.getBaseOperation(), otherwise returns the operation as is.
getCallSiteDescriptor() - Method in interface jdk.dynalink.linker.LinkRequest
Returns the call site descriptor for the call site being linked.
getCallSiteDescriptor() - Method in class jdk.dynalink.linker.support.SimpleLinkRequest
 
getClassGuard(Class<?>) - Static method in class jdk.dynalink.linker.support.Guards
Creates a guard method that tests its only argument for being of an exact particular class.
getConstructorMethod(Class<?>, String) - Static method in class jdk.dynalink.beans.BeansLinker
Return the dynamic method of constructor of the given class and the given signature.
getDescriptor() - Method in interface jdk.dynalink.RelinkableCallSite
Returns the descriptor for this call site.
getDescriptor() - Method in class jdk.dynalink.support.AbstractRelinkableCallSite
 
getException() - Method in class jdk.dynalink.linker.GuardedInvocation
Returns the exception type that if thrown by the invocation should invalidate the linkage of this guarded invocation.
getGuard() - Method in class jdk.dynalink.linker.GuardedInvocation
Returns the guard method handle.
getGuardedInvocation(LinkRequest) - Method in interface jdk.dynalink.linker.LinkerServices
Creates a guarded invocation delegating back to the DynamicLinker that exposes this linker services object.
getGuardedInvocation(LinkRequest, LinkerServices) - Method in class jdk.dynalink.beans.BeansLinker
 
getGuardedInvocation(LinkRequest, LinkerServices) - Method in interface jdk.dynalink.linker.GuardingDynamicLinker
Creates a guarded invocation appropriate for a particular invocation with the specified arguments at a call site.
getGuardedInvocation(LinkRequest, LinkerServices) - Method in class jdk.dynalink.linker.support.CompositeGuardingDynamicLinker
Delegates the call to its component linkers.
getGuardedInvocation(LinkRequest, LinkerServices) - Method in class jdk.dynalink.linker.support.CompositeTypeBasedGuardingDynamicLinker
 
getIdentityGuard(Object) - Static method in class jdk.dynalink.linker.support.Guards
Creates a guard method that tests its only argument for being referentially identical to another object
getInstanceMethodNames(Class<?>) - Static method in class jdk.dynalink.beans.BeansLinker
Returns a set of names of all instance methods of a class.
getInstanceOfGuard(Class<?>) - Static method in class jdk.dynalink.linker.support.Guards
Creates a guard method that tests its only argument for being an instance of a particular class.
getInvocation() - Method in class jdk.dynalink.linker.GuardedInvocation
Returns the invocation method handle.
getLinkedCallSiteLocation() - Static method in class jdk.dynalink.DynamicLinker
Returns a stack trace element describing the location of the invokedynamic call site currently being linked on the current thread.
getLinkerForClass(Class<?>) - Method in class jdk.dynalink.beans.BeansLinker
Returns a bean linker for a particular single class.
getLinkerServices() - Method in class jdk.dynalink.DynamicLinker
Returns the object representing the linker services of this class that are normally exposed to individual language-specific linkers.
getLookup() - Method in class jdk.dynalink.SecureLookupSupplier
Returns the lookup secured by this SecureLookupSupplier.
getLookupPrivileged() - Method in class jdk.dynalink.SecureLookupSupplier
Returns the value of SecureLookupSupplier.getLookup() without a security check.
getMaxChainLength() - Method in class jdk.dynalink.support.ChainedCallSite
The maximum number of method handles in the chain.
getMethodType() - Method in class jdk.dynalink.CallSiteDescriptor
The type of the method at the call site.
getName() - Method in class jdk.dynalink.NamedOperation
Returns the name of this named operation.
getName(Operation) - Static method in class jdk.dynalink.NamedOperation
If the passed operation is a named operation, returns its NamedOperation.getName(), otherwise returns null.
getNamespace(int) - Method in class jdk.dynalink.NamespaceOperation
Returns the i-th namespace in this namespace operation.
getNamespaceCount() - Method in class jdk.dynalink.NamespaceOperation
Returns the number of namespaces in this namespace operation.
getNamespaces() - Method in class jdk.dynalink.NamespaceOperation
Returns the namespaces in this namespace operation.
getNamespaces(Operation) - Static method in class jdk.dynalink.NamespaceOperation
If the passed operation is a namespace operation, returns its NamespaceOperation.getNamespaces(), otherwise returns an empty array.
getOperation() - Method in class jdk.dynalink.CallSiteDescriptor
Returns the operation at the call site.
getPrimitiveType(Class<?>) - Static method in class jdk.dynalink.linker.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 jdk.dynalink.linker.support.TypeUtilities
Given a name of a primitive type returns the class representing it.
getReadableInstancePropertyNames(Class<?>) - Static method in class jdk.dynalink.beans.BeansLinker
Returns a set of names of all readable instance properties of a class.
getReadableStaticPropertyNames(Class<?>) - Static method in class jdk.dynalink.beans.BeansLinker
Returns a set of names of all readable static properties of a class.
getReceiver() - Method in interface jdk.dynalink.linker.LinkRequest
Returns the first argument for the invocation being linked; this is typically the receiver object.
getReceiver() - Method in class jdk.dynalink.linker.support.SimpleLinkRequest
 
getRepresentedClass() - Method in class jdk.dynalink.beans.StaticClass
Returns the represented Java class.
getStaticMethodNames(Class<?>) - Static method in class jdk.dynalink.beans.BeansLinker
Returns a set of names of all static methods of a class.
getSwitchPoints() - Method in class jdk.dynalink.linker.GuardedInvocation
Returns the switch points that can be used to invalidate the linkage of this invocation handle.
getTypeConverter(Class<?>, Class<?>) - Method in interface jdk.dynalink.linker.LinkerServices
Given a source and target type, returns a method handle that converts between them.
getWithLookup(Supplier<T>, SecureLookupSupplier) - Method in interface jdk.dynalink.linker.LinkerServices
Executes an operation within the context of a particular MethodHandles.Lookup lookup object.
getWrapperType(Class<?>) - Static method in class jdk.dynalink.linker.support.TypeUtilities
When passed a class representing a primitive type, returns the class representing the corresponding wrapper type.
getWritableInstancePropertyNames(Class<?>) - Static method in class jdk.dynalink.beans.BeansLinker
Returns a set of names of all writable instance properties of a class.
getWritableStaticPropertyNames(Class<?>) - Static method in class jdk.dynalink.beans.BeansLinker
Returns a set of names of all writable static properties of a class.

H

hasBeenInvalidated() - Method in class jdk.dynalink.linker.GuardedInvocation
Returns true if and only if this guarded invocation has at least one invalidated switch point.
hashCode() - Method in class jdk.dynalink.CallSiteDescriptor
Returns a value-based hash code of this call site descriptor computed from its operation, method type, and lookup object's lookup class and lookup modes.
hashCode() - Method in class jdk.dynalink.NamedOperation
Returns the hash code of this named operation.
hashCode() - Method in class jdk.dynalink.NamespaceOperation
Returns the hash code of this namespace operation.

I

initialize(MethodHandle) - Method in interface jdk.dynalink.RelinkableCallSite
Invoked by dynamic linker to initialize the relinkable call site by setting a relink-and-invoke method handle.
initialize(MethodHandle) - Method in class jdk.dynalink.support.AbstractRelinkableCallSite
 
isArray(int, MethodType) - Static method in class jdk.dynalink.linker.support.Guards
Creates a method handle that returns true if the argument in the specified position is a Java array.
isCallSiteUnstable() - Method in interface jdk.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 jdk.dynalink.linker.support.SimpleLinkRequest
 
isConvertibleWithoutLoss(Class<?>, Class<?>) - Static method in class jdk.dynalink.linker.support.TypeUtilities
Determines whether a type can be converted to another without losing any precision.
isDynamicConstructor(Object) - Static method in class jdk.dynalink.beans.BeansLinker
Returns true if the object is a Java constructor (obtained through BeansLinker.getConstructorMethod(Class, String)}.
isDynamicMethod(Object) - Static method in class jdk.dynalink.beans.BeansLinker
Returns true if the object is a Java dynamic method (e.g., one obtained through a GET:METHOD operation on a Java object or StaticClass or through BeansLinker.getConstructorMethod(Class, String).
isInstance(Class<?>, int, MethodType) - Static method in class jdk.dynalink.linker.support.Guards
Creates a method handle with arguments of a specified type, but with boolean return value.
isInstance(Class<?>, MethodType) - Static method in class jdk.dynalink.linker.support.Guards
Creates a method handle with arguments of a specified type, but with boolean return value.
isMethodInvocationConvertible(Class<?>, Class<?>) - Static method in class jdk.dynalink.linker.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 jdk.dynalink.linker.support.Guards
Returns a guard that tests whether the first argument is not null.
isNull() - Static method in class jdk.dynalink.linker.support.Guards
Returns a guard that tests whether the first argument is null.
isOfClass(Class<?>, MethodType) - Static method in class jdk.dynalink.linker.support.Guards
Creates a guard method handle with arguments of a specified type, but with boolean return value.
isSubtype(Class<?>, Class<?>) - Static method in class jdk.dynalink.linker.support.TypeUtilities
Determines whether one type is a subtype of another type, as per JLS 4.10 "Subtyping".
isWrapperType(Class<?>) - Static method in class jdk.dynalink.linker.support.TypeUtilities
Returns true if the passed type is a wrapper for a primitive type.

J

jdk.dynalink - module jdk.dynalink
 
jdk.dynalink - package jdk.dynalink
Dynalink is a library for dynamic linking of high-level operations on objects.
jdk.dynalink.beans - package jdk.dynalink.beans
Contains the linker for ordinary Java objects.
jdk.dynalink.linker - package jdk.dynalink.linker
Contains interfaces and classes needed by language runtimes to implement their own language-specific object models and type conversions.
jdk.dynalink.linker.support - package jdk.dynalink.linker.support
Contains classes that make it more convenient for language runtimes to implement their own language-specific object models and type conversions by providing basic implementations of some classes as well as various utilities.
jdk.dynalink.support - package jdk.dynalink.support
Contains classes that make using Dynalink more convenient by providing basic implementations of some classes as well as various utilities.

L

Lookup - Class in jdk.dynalink.linker.support
A wrapper around MethodHandles.Lookup that masks checked exceptions.
LinkerServices - Interface in jdk.dynalink.linker
Interface for services provided to GuardingDynamicLinker instances by the DynamicLinker that owns them.
LinkRequest - Interface in jdk.dynalink.linker
Represents a request to link a particular invocation at a particular call site.
Lookup(MethodHandles.Lookup) - Constructor for class jdk.dynalink.linker.support.Lookup
Creates a new instance, bound to an instance of MethodHandles.Lookup.
link(T) - Method in class jdk.dynalink.DynamicLinker
Links an invokedynamic call site.

M

MethodHandleTransformer - Interface in jdk.dynalink.linker
A generic interface describing operations that transform method handles.
MethodTypeConversionStrategy - Interface in jdk.dynalink.linker
Interface for objects representing a strategy for converting a method handle to a new type.
MissingMemberHandlerFactory - Interface in jdk.dynalink.beans
A factory for creating method handles for linking missing member behavior in BeansLinker.

N

NamedOperation - Class in jdk.dynalink
Operation that associates a name with another operation.
NamespaceOperation - Class in jdk.dynalink
Describes an operation that operates on at least one Namespace of an object.
NoSuchDynamicMethodException - Exception in jdk.dynalink
Thrown at the invocation if the call site can not be linked by any available GuardingDynamicLinker.
Namespace - Interface in jdk.dynalink
An object that describes a namespace that is the target of a dynamic operation on an object.
NamedOperation(Operation, Object) - Constructor for class jdk.dynalink.NamedOperation
Creates a new named operation.
NamespaceOperation(Operation, Namespace...) - Constructor for class jdk.dynalink.NamespaceOperation
Constructs a new namespace operation.
NoSuchDynamicMethodException(String) - Constructor for exception jdk.dynalink.NoSuchDynamicMethodException
Creates a new NoSuchDynamicMethodException
named(Object) - Method in interface jdk.dynalink.Operation
Returns a NamedOperation using this operation as its base.

O

Operation - Interface in jdk.dynalink
An object that describes a dynamic operation.
optimize(Iterable<? extends GuardingDynamicLinker>) - Static method in class jdk.dynalink.linker.support.CompositeTypeBasedGuardingDynamicLinker
Optimizes a list of type-based linkers.

P

PUBLIC - Static variable in class jdk.dynalink.linker.support.Lookup
A canonical Lookup object that wraps MethodHandles.publicLookup().

R

RelinkableCallSite - Interface in jdk.dynalink
Interface for call sites managed by a DynamicLinker.
relink(GuardedInvocation, MethodHandle) - Method in interface jdk.dynalink.RelinkableCallSite
This method will be called by the dynamic linker every time the call site is relinked (but see RelinkableCallSite.resetAndRelink(GuardedInvocation, MethodHandle) for an exception).
relink(GuardedInvocation, MethodHandle) - Method in class jdk.dynalink.support.ChainedCallSite
 
relink(GuardedInvocation, MethodHandle) - Method in class jdk.dynalink.support.SimpleRelinkableCallSite
 
replaceArguments(CallSiteDescriptor, Object...) - Method in interface jdk.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 jdk.dynalink.linker.support.SimpleLinkRequest
 
replaceMethods(MethodHandle, MethodHandle) - Method in class jdk.dynalink.linker.GuardedInvocation
Creates a new guarded invocation with different methods, preserving the switch point.
resetAndRelink(GuardedInvocation, MethodHandle) - Method in interface jdk.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 (that is how it differs from RelinkableCallSite.relink(GuardedInvocation, MethodHandle)).
resetAndRelink(GuardedInvocation, MethodHandle) - Method in class jdk.dynalink.support.ChainedCallSite
 
resetAndRelink(GuardedInvocation, MethodHandle) - Method in class jdk.dynalink.support.SimpleRelinkableCallSite
 

S

SecureLookupSupplier - Class in jdk.dynalink
Provides security-checked access to a MethodHandles.Lookup object.
SimpleLinkRequest - Class in jdk.dynalink.linker.support
Default simple implementation of LinkRequest.
SimpleRelinkableCallSite - Class in jdk.dynalink.support
A relinkable call site that implements monomorphic inline caching strategy, only being linked to a single GuardedInvocation at any given time.
StaticClass - Class in jdk.dynalink.beans
Object that allows access to the static members of a class (its static methods, properties, and fields), as well as construction of instances using StandardOperation.NEW operation.
StandardNamespace - Enum in jdk.dynalink
An enumeration of standard namespaces defined by Dynalink.
StandardOperation - Enum in jdk.dynalink
Defines the standard dynamic operations.
SecureLookupSupplier(MethodHandles.Lookup) - Constructor for class jdk.dynalink.SecureLookupSupplier
Creates a new secure lookup supplier, securing the passed lookup.
SimpleLinkRequest(CallSiteDescriptor, boolean, Object...) - Constructor for class jdk.dynalink.linker.support.SimpleLinkRequest
Creates a new link request.
SimpleRelinkableCallSite(CallSiteDescriptor) - Constructor for class jdk.dynalink.support.SimpleRelinkableCallSite
Creates a new call site with monomorphic inline caching strategy.
setAutoConversionStrategy(MethodTypeConversionStrategy) - Method in class jdk.dynalink.DynamicLinkerFactory
Sets an object representing the conversion strategy for automatic type conversions.
setClassLoader(ClassLoader) - Method in class jdk.dynalink.DynamicLinkerFactory
Sets the class loader for automatic discovery of available guarding dynamic linkers.
setFallbackLinkers(List<? extends GuardingDynamicLinker>) - Method in class jdk.dynalink.DynamicLinkerFactory
Sets the fallback guarding dynamic linkers.
setFallbackLinkers(GuardingDynamicLinker...) - Method in class jdk.dynalink.DynamicLinkerFactory
Sets the fallback guarding dynamic linkers.
setInternalObjectsFilter(MethodHandleTransformer) - Method in class jdk.dynalink.DynamicLinkerFactory
Sets a method handle transformer that is supposed to act as the implementation of LinkerServices.filterInternalObjects(MethodHandle) for linker services of dynamic linkers created by this factory.
setPrelinkTransformer(GuardedInvocationTransformer) - Method in class jdk.dynalink.DynamicLinkerFactory
Set the pre-link transformer.
setPrioritizedLinker(GuardingDynamicLinker) - Method in class jdk.dynalink.DynamicLinkerFactory
Sets a single prioritized linker.
setPrioritizedLinkers(List<? extends GuardingDynamicLinker>) - Method in class jdk.dynalink.DynamicLinkerFactory
Sets the prioritized guarding dynamic linkers.
setPrioritizedLinkers(GuardingDynamicLinker...) - Method in class jdk.dynalink.DynamicLinkerFactory
Sets the prioritized guarding dynamic linkers.
setSyncOnRelink(boolean) - Method in class jdk.dynalink.DynamicLinkerFactory
Sets whether the dynamic linker created by this factory will invoke MutableCallSite.syncAll(MutableCallSite[]) after a call site is relinked.
setUnstableRelinkThreshold(int) - Method in class jdk.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.

T

TypeUtilities - Class in jdk.dynalink.linker.support
Various static utility methods for working with Java types.
TypeBasedGuardingDynamicLinker - Interface in jdk.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.
toString() - Method in class jdk.dynalink.beans.StaticClass
 
toString() - Method in class jdk.dynalink.CallSiteDescriptor
Returns the string representation of this call site descriptor, of the format name(parameterTypes)returnType@lookup.
toString() - Method in class jdk.dynalink.NamedOperation
Returns the string representation of this named operation.
toString() - Method in class jdk.dynalink.NamespaceOperation
Returns the string representation of this namespace operation.
transform(MethodHandle) - Method in interface jdk.dynalink.linker.MethodHandleTransformer
Transforms a method handle.
transform(MethodHandle) - Method in class jdk.dynalink.linker.support.DefaultInternalObjectFilter
 

U

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

V

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

W

withNamespace(Namespace) - Method in interface jdk.dynalink.Operation
Returns a NamespaceOperation using this operation as its base.
withNamespaces(Namespace...) - Method in interface jdk.dynalink.Operation
Returns a NamespaceOperation using this operation as its base.
A B C D E F G H I J L M N O P R S T U V W 
Skip navigation links
Dynalink API
DRAFT 9-Ubuntu+0-9b144-1ubuntu1


Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.

DRAFT 9-Ubuntu+0-9b144-1ubuntu1