Uses of Class
jdk.dynalink.linker.GuardedInvocation
-
Packages that use GuardedInvocation Package Description jdk.dynalink Contains interfaces and classes that are used to link aninvokedynamiccall site.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 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. -
-
Uses of GuardedInvocation in jdk.dynalink
Methods in jdk.dynalink with parameters of type GuardedInvocation Modifier and Type Method Description voidRelinkableCallSite. relink(GuardedInvocation guardedInvocation, MethodHandle relinkAndInvoke)This method will be called by the dynamic linker every time the call site is relinked (but seeRelinkableCallSite.resetAndRelink(GuardedInvocation, MethodHandle)for an exception).voidRelinkableCallSite. resetAndRelink(GuardedInvocation guardedInvocation, MethodHandle relinkAndInvoke)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 fromRelinkableCallSite.relink(GuardedInvocation, MethodHandle)). -
Uses of GuardedInvocation in jdk.dynalink.linker
Methods in jdk.dynalink.linker that return GuardedInvocation Modifier and Type Method Description GuardedInvocationGuardedInvocation. addSwitchPoint(SwitchPoint newSwitchPoint)Create a new guarded invocation with an added switch point.GuardedInvocationGuardedInvocation. asType(MethodType newType)Changes the type of the invocation, as ifMethodHandle.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).GuardedInvocationGuardedInvocation. asType(CallSiteDescriptor desc)Changes the type of the invocation, as ifMethodHandle.asType(MethodType)was applied to its invocation and its guard, if it has one (with return type changed to boolean for guard).GuardedInvocationGuardedInvocation. asType(LinkerServices linkerServices, MethodType newType)Changes the type of the invocation, as ifLinkerServices.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).GuardedInvocationGuardedInvocation. asTypeSafeReturn(LinkerServices linkerServices, MethodType newType)Changes the type of the invocation, as ifLinkerServices.asTypeLosslessReturn(MethodHandle, MethodType)was applied to its invocation andLinkerServices.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).GuardedInvocationGuardingTypeConverterFactory. convertToType(Class<?> sourceType, Class<?> targetType, Supplier<MethodHandles.Lookup> lookupSupplier)Returns a guarded type conversion that receives a value of the specified source type and returns a value converted to the specified target type.GuardedInvocationGuardedInvocation. dropArguments(int pos, Class<?>... valueTypes)Makes an invocation that drops arguments in both the invocation and the guard (if it exists and has at leastposparameters) withMethodHandles.dropArguments(MethodHandle, int, Class...).GuardedInvocationGuardedInvocation. dropArguments(int pos, List<Class<?>> valueTypes)Makes an invocation that drops arguments in both the invocation and the guard (if it exists and has at leastposparameters) withMethodHandles.dropArguments(MethodHandle, int, List).GuardedInvocationGuardedInvocationTransformer. filter(GuardedInvocation inv, LinkRequest linkRequest, LinkerServices linkerServices)Given a guarded invocation, return either the same or potentially different guarded invocation.GuardedInvocationGuardedInvocation. filterArguments(int pos, MethodHandle... filters)Applies argument filters to both the invocation and the guard (if it exists and has at leastpos + 1parameters) withMethodHandles.filterArguments(MethodHandle, int, MethodHandle...).GuardedInvocationGuardingDynamicLinker. getGuardedInvocation(LinkRequest linkRequest, LinkerServices linkerServices)Creates a guarded invocation appropriate for a particular invocation with the specified arguments at a call site.GuardedInvocationLinkerServices. getGuardedInvocation(LinkRequest linkRequest)Creates a guarded invocation delegating back to theDynamicLinkerthat exposes this linker services object.GuardedInvocationGuardedInvocation. replaceMethods(MethodHandle newInvocation, MethodHandle newGuard)Creates a new guarded invocation with different methods, preserving the switch point.Methods in jdk.dynalink.linker with parameters of type GuardedInvocation Modifier and Type Method Description GuardedInvocationGuardedInvocationTransformer. filter(GuardedInvocation inv, LinkRequest linkRequest, LinkerServices linkerServices)Given a guarded invocation, return either the same or potentially different guarded invocation. -
Uses of GuardedInvocation in jdk.dynalink.linker.support
Methods in jdk.dynalink.linker.support that return GuardedInvocation Modifier and Type Method Description GuardedInvocationCompositeGuardingDynamicLinker. getGuardedInvocation(LinkRequest linkRequest, LinkerServices linkerServices)Delegates the call to its component linkers.
-