Uses of Class
java.lang.invoke.SwitchPoint
Package
Description
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.
Contains interfaces and classes needed by language runtimes to implement
their own language-specific object models and type conversions.
-
Uses of SwitchPoint in java.lang.invoke
Modifier and TypeMethodDescriptionstatic void
SwitchPoint.invalidateAll
(SwitchPoint[] switchPoints) Sets all of the given switch points into the invalid state. -
Uses of SwitchPoint in jdk.dynalink.linker
Modifier and TypeMethodDescriptionGuardedInvocation.getSwitchPoints()
Returns the switch points that can be used to invalidate the linkage of this invocation handle.Modifier and TypeMethodDescriptionGuardedInvocation.addSwitchPoint
(SwitchPoint newSwitchPoint) Create a new guarded invocation with an added switch point.ModifierConstructorDescriptionGuardedInvocation
(MethodHandle invocation, MethodHandle guard, SwitchPoint switchPoint) Creates a new guarded invocation, with both a guard method handle and a switch point that can be used to invalidate it.GuardedInvocation
(MethodHandle invocation, MethodHandle guard, SwitchPoint[] switchPoints, Class<? extends Throwable> exception) 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 invocation, MethodHandle guard, SwitchPoint switchPoint, Class<? extends Throwable> exception) 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 invocation, SwitchPoint switchPoint) Creates a new guarded invocation that can be invalidated by a switch point.