APIdia Launch Partner
Top Description Constructors Methods
jdk.dynalink.beans

pack-priv Class DynamicMethodLinker

extends Object
implements TypeBasedGuardingDynamicLinker
Class Inheritance
All Implemented Interfaces
jdk.dynalink.linker.TypeBasedGuardingDynamicLinker, jdk.dynalink.linker.GuardingDynamicLinker
Imports
java.lang.invoke.MethodHandle, .MethodHandles, jdk.dynalink.CallSiteDescriptor, .NamedOperation, .Operation, .StandardNamespace, .StandardOperation, jdk.dynalink.linker.GuardedInvocation, .LinkRequest, .LinkerServices, .TypeBasedGuardingDynamicLinker, jdk.dynalink.linker.support.Guards

Simple linker that implements the StandardOperation#CALL operation for DynamicMethod objects - the objects returned by StandardOperation#GET on StandardNamespace#METHOD namespace through AbstractJavaLinker.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
canLinkType(final Class<?> type)

Implements jdk.dynalink.linker.TypeBasedGuardingDynamicLinker.canLinkType.

Returns true if the linker can link an invocation where the first argument (receiver) is of the specified type.

public GuardedInvocation
getGuardedInvocation(final LinkRequest linkRequest, final LinkerServices linkerServices)

Implements jdk.dynalink.linker.GuardingDynamicLinker.getGuardedInvocation.

Creates a guarded invocation appropriate for a particular invocation with the specified arguments at a call site.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DynamicMethodLinkerback to summary
pack-priv DynamicMethodLinker()

Method Detail

canLinkTypeback to summary
public boolean canLinkType(final Class<?> type)

Implements jdk.dynalink.linker.TypeBasedGuardingDynamicLinker.canLinkType.

Doc from jdk.dynalink.linker.TypeBasedGuardingDynamicLinker.canLinkType.

Returns true if the linker can link an invocation where the first argument (receiver) is of the specified type.

Annotations
@Override
getGuardedInvocationback to summary
public GuardedInvocation getGuardedInvocation(final LinkRequest linkRequest, final LinkerServices linkerServices)

Implements jdk.dynalink.linker.GuardingDynamicLinker.getGuardedInvocation.

Doc from jdk.dynalink.linker.GuardingDynamicLinker.getGuardedInvocation.

Creates a guarded invocation appropriate for a particular invocation with the specified arguments at a call site.

Annotations
@Override