Uses of Class
jdk.dynalink.linker.GuardedInvocation
-
Packages that use GuardedInvocation 软件包 描述 jdk.dynalink 包含用于链接invokedynamic
呼叫站点的接口和类。jdk.dynalink.beans 包含普通Java对象的链接器。jdk.dynalink.linker 包含语言运行时所需的接口和类,以实现自己的特定于语言的对象模型和类型转换。jdk.dynalink.linker.support 包含课程,使语言运行时更方便地实现自己的特定于语言的对象模型,并通过提供一些类的基本实现以及各种实用程序来类型转换。jdk.dynalink.support 包含通过提供某些类的基本实现以及各种实用程序使Dynalink更方便的类。 -
-
Uses of GuardedInvocation in jdk.dynalink
Methods in jdk.dynalink with parameters of type GuardedInvocation Modifier and Type 方法 描述 void
RelinkableCallSite. relink(GuardedInvocation guardedInvocation, MethodHandle relinkAndInvoke)
每次调用站点重新链接时,动态链接器都会调用此方法(但是有关异常,请参阅RelinkableCallSite.resetAndRelink(GuardedInvocation, MethodHandle)
)。void
RelinkableCallSite. resetAndRelink(GuardedInvocation guardedInvocation, MethodHandle relinkAndInvoke)
每次调用站点重新链接时,动态链接器将调用此方法 ,并且链接器希望调用站点丢弃任何先前的链接状态(即它与RelinkableCallSite.relink(GuardedInvocation, MethodHandle)
的区别 )。 -
Uses of GuardedInvocation in jdk.dynalink.beans
Methods in jdk.dynalink.beans that return GuardedInvocation Modifier and Type 方法 描述 GuardedInvocation
BeansLinker. getGuardedInvocation(LinkRequest request, LinkerServices linkerServices)
-
Uses of GuardedInvocation in jdk.dynalink.linker
Methods in jdk.dynalink.linker that return GuardedInvocation Modifier and Type 方法 描述 GuardedInvocation
GuardedInvocation. addSwitchPoint(SwitchPoint newSwitchPoint)
使用添加的切换点创建新的守卫调用。GuardedInvocation
GuardedInvocation. asType(MethodType newType)
更改调用的类型,就像应用了它的调用的MethodHandle.asType(MethodType)
及其保护(如果它有一个(返回类型更改为布尔值,并且参数计数可能被截断为保护))。GuardedInvocation
GuardedInvocation. asType(CallSiteDescriptor desc)
更改调用的类型,就像MethodHandle.asType(MethodType)
应用于其调用及其保护,如果它有一个(返回类型更改为布尔 值守 )。GuardedInvocation
GuardedInvocation. asType(LinkerServices linkerServices, MethodType newType)
更改调用的类型,就好像LinkerServices.asType(MethodHandle, MethodType)
应用于其调用及其保护,如果它有一个(返回类型更改为布尔值,并且参数计数可能被截断为保护)。GuardedInvocation
GuardedInvocation. asTypeSafeReturn(LinkerServices linkerServices, MethodType newType)
改变调用的类型,仿佛LinkerServices.asTypeLosslessReturn(MethodHandle, MethodType)
施加到它的调用和LinkerServices.asType(MethodHandle, MethodType)
施加到其后卫,如果它有一个(与返回类型更改为布尔型,和参数计数潜在截断,挡板)。GuardedInvocation
GuardingTypeConverterFactory. convertToType(Class<?> sourceType, Class<?> targetType, Supplier<MethodHandles.Lookup> lookupSupplier)
返回受保护的类型转换,它接收指定的源类型的值,并返回转换为指定的目标类型的值。GuardedInvocation
GuardedInvocation. dropArguments(int pos, Class<?>... valueTypes)
进行调用,在调用和保护(如果存在并且至少具有pos
参数)中pos
参数,其中包含MethodHandles.dropArguments(MethodHandle, int, Class...)
。GuardedInvocation
GuardedInvocation. dropArguments(int pos, List<Class<?>> valueTypes)
GuardedInvocation
GuardedInvocationTransformer. filter(GuardedInvocation inv, LinkRequest linkRequest, LinkerServices linkerServices)
给予一个有保护的调用,返回相同或可能不同的守卫调用。GuardedInvocation
GuardedInvocation. filterArguments(int pos, MethodHandle... filters)
将参数过滤器应用于调用和保护(如果存在并具有至少pos + 1
参数)与MethodHandles.filterArguments(MethodHandle, int, MethodHandle...)
。GuardedInvocation
GuardingDynamicLinker. getGuardedInvocation(LinkRequest linkRequest, LinkerServices linkerServices)
在调用站点上创建一个适合于具有指定参数的特定调用的保护调用。GuardedInvocation
LinkerServices. getGuardedInvocation(LinkRequest linkRequest)
创建一个守卫的调用委托回DynamicLinker
暴露此链接器服务对象。GuardedInvocation
GuardedInvocation. replaceMethods(MethodHandle newInvocation, MethodHandle newGuard)
用不同的方法创建一个新的守卫调用,保留切换点。Methods in jdk.dynalink.linker with parameters of type GuardedInvocation Modifier and Type 方法 描述 GuardedInvocation
GuardedInvocationTransformer. filter(GuardedInvocation inv, LinkRequest linkRequest, LinkerServices linkerServices)
给予一个有保护的调用,返回相同或可能不同的守卫调用。 -
Uses of GuardedInvocation in jdk.dynalink.linker.support
Methods in jdk.dynalink.linker.support that return GuardedInvocation Modifier and Type 方法 描述 GuardedInvocation
CompositeGuardingDynamicLinker. getGuardedInvocation(LinkRequest linkRequest, LinkerServices linkerServices)
将呼叫委托给其组件链接器。GuardedInvocation
CompositeTypeBasedGuardingDynamicLinker. getGuardedInvocation(LinkRequest linkRequest, LinkerServices linkerServices)
-
Uses of GuardedInvocation in jdk.dynalink.support
Methods in jdk.dynalink.support with parameters of type GuardedInvocation Modifier and Type 方法 描述 void
ChainedCallSite. relink(GuardedInvocation guardedInvocation, MethodHandle relinkAndInvoke)
void
SimpleRelinkableCallSite. relink(GuardedInvocation guardedInvocation, MethodHandle relinkAndInvoke)
void
ChainedCallSite. resetAndRelink(GuardedInvocation guardedInvocation, MethodHandle relinkAndInvoke)
void
SimpleRelinkableCallSite. resetAndRelink(GuardedInvocation guardedInvocation, MethodHandle relinkAndInvoke)
-