Uses of Enum Class
java.lang.invoke.VarHandle.AccessMode
Package
Description
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.-
Uses of VarHandle.AccessMode in java.lang.invoke
Modifier and TypeMethodDescriptionstatic VarHandle.AccessMode
VarHandle.AccessMode.valueFromMethodName
(String methodName) Returns theAccessMode
value associated with the specifiedVarHandle
signature-polymorphic method name.static VarHandle.AccessMode
Returns the enum constant of this class with the specified name.static VarHandle.AccessMode[]
VarHandle.AccessMode.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionfinal MethodType
VarHandle.accessModeType
(VarHandle.AccessMode accessMode) Obtains the access mode type for this VarHandle and a given access mode.final boolean
VarHandle.isAccessModeSupported
(VarHandle.AccessMode accessMode) Returnstrue
if the given access mode is supported, otherwisefalse
.VarHandle.toMethodHandle
(VarHandle.AccessMode accessMode) Obtains a method handle bound to this VarHandle and the given access mode.static MethodHandle
MethodHandles.varHandleExactInvoker
(VarHandle.AccessMode accessMode, MethodType type) Produces a special invoker method handle which can be used to invoke a signature-polymorphic access mode method on any VarHandle whose associated access mode type is compatible with the given type.static MethodHandle
MethodHandles.varHandleInvoker
(VarHandle.AccessMode accessMode, MethodType type) Produces a special invoker method handle which can be used to invoke a signature-polymorphic access mode method on any VarHandle whose associated access mode type is compatible with the given type.