Uses of Class
jdk.dynalink.linker.GuardedInvocation
-
Packages that use GuardedInvocation 软件包 描述 jdk.dynalink 包含用于链接invokedynamic呼叫站点的接口和类。jdk.dynalink.linker 包含语言运行时所需的接口和类,以实现其自己的语言特定对象模型和类型转换。jdk.dynalink.linker.support 包含类,通过提供某些类的基本实现以及各种实用程序,使语言运行时更方便地实现自己的语言特定对象模型和类型转换。 -
-
Uses of GuardedInvocation in jdk.dynalink
Methods in jdk.dynalink with parameters of type GuardedInvocation 变量和类型 方法 描述 voidRelinkableCallSite. relink(GuardedInvocation guardedInvocation, MethodHandle relinkAndInvoke)每次重新链接调用站点时,动态链接器都将调用此方法(但有关异常,请参阅RelinkableCallSite.resetAndRelink(GuardedInvocation, MethodHandle))。voidRelinkableCallSite. resetAndRelink(GuardedInvocation guardedInvocation, MethodHandle relinkAndInvoke)每次重新链接调用站点时,动态链接器都会调用此方法 ,并且链接器希望调用站点丢弃任何先前的链接状态(即它与RelinkableCallSite.relink(GuardedInvocation, MethodHandle)的不同之处)。 -
Uses of GuardedInvocation in jdk.dynalink.linker
Methods in jdk.dynalink.linker that return GuardedInvocation 变量和类型 方法 描述 GuardedInvocationGuardedInvocation. addSwitchPoint(SwitchPoint newSwitchPoint)使用添加的切换点创建新的受保护调用。GuardedInvocationGuardedInvocation. asType(MethodType newType)更改调用的类型,就好像MethodHandle.asType(MethodType)应用于其调用及其保护,如果它有一个(返回类型更改为boolean,并且参数计数可能被截断为保护)。GuardedInvocationGuardedInvocation. asType(CallSiteDescriptor desc)更改调用的类型,就好像MethodHandle.asType(MethodType)应用于其调用及其保护,如果它有一个(返回类型更改为boolean for guard)。GuardedInvocationGuardedInvocation. asType(LinkerServices linkerServices, MethodType newType)更改调用的类型,就像LinkerServices.asType(MethodHandle, MethodType)应用于其调用及其保护,如果它有一个(返回类型更改为boolean,并且参数计数可能被截断为保护)。GuardedInvocationGuardedInvocation. asTypeSafeReturn(LinkerServices linkerServices, MethodType newType)更改调用的类型,就好像LinkerServices.asTypeLosslessReturn(MethodHandle, MethodType)应用于其调用并且LinkerServices.asType(MethodHandle, MethodType)应用于其保护,如果它有一个(返回类型更改为boolean,并且参数计数可能被截断为保护)。GuardedInvocationGuardingTypeConverterFactory. convertToType(类<?> sourceType, 类<?> targetType, Supplier<MethodHandles.Lookup> lookupSupplier)返回一个受保护的类型转换,它接收指定源类型的值并返回转换为指定目标类型的值。GuardedInvocationGuardedInvocation. dropArguments(int pos, 类<?>... valueTypes)使得其滴在调用和保护两个参数(如果它存在,并具有至少一个调用pos用参数)MethodHandles.dropArguments(MethodHandle, int, Class...)。GuardedInvocationGuardedInvocation. dropArguments(int pos, List<类<?>> valueTypes)使得其滴在调用和保护两个参数(如果它存在,并具有至少一个调用pos用参数)MethodHandles.dropArguments(MethodHandle, int, List)。GuardedInvocationGuardedInvocationTransformer. filter(GuardedInvocation inv, LinkRequest linkRequest, LinkerServices linkerServices)给定受保护的调用,返回相同或可能不同的保护调用。GuardedInvocationGuardedInvocation. filterArguments(int pos, MethodHandle... filters)使用MethodHandles.filterArguments(MethodHandle, int, MethodHandle...)将参数过滤器应用于调用和保护(如果存在且具有至少pos + 1参数)。GuardedInvocationGuardingDynamicLinker. getGuardedInvocation(LinkRequest linkRequest, LinkerServices linkerServices)使用调用站点上的指定参数创建适用于特定调用的受保护调用。GuardedInvocationLinkerServices. getGuardedInvocation(LinkRequest linkRequest)创建一个保护的调用,该调用委托给公开此链接器服务对象的DynamicLinker。GuardedInvocationGuardedInvocation. replaceMethods(MethodHandle newInvocation, MethodHandle newGuard)使用不同方法创建新的受保护调用,保留切换点。Methods in jdk.dynalink.linker with parameters of type GuardedInvocation 变量和类型 方法 描述 GuardedInvocationGuardedInvocationTransformer. filter(GuardedInvocation inv, LinkRequest linkRequest, LinkerServices linkerServices)给定受保护的调用,返回相同或可能不同的保护调用。 -
Uses of GuardedInvocation in jdk.dynalink.linker.support
Methods in jdk.dynalink.linker.support that return GuardedInvocation 变量和类型 方法 描述 GuardedInvocationCompositeGuardingDynamicLinker. getGuardedInvocation(LinkRequest linkRequest, LinkerServices linkerServices)将调用委托给其组件链接器。
-