Package | Description |
---|---|
java.lang.invoke |
The
java.lang.invoke package contains dynamic language support provided directly by
the Java core class libraries and virtual machine. |
Modifier and Type | Method | Description |
---|---|---|
static VarHandle.AccessMode |
VarHandle.AccessMode.valueFromMethodName(String methodName) |
Returns the
AccessMode value associated with the specified
VarHandle signature-polymorphic method name. |
static VarHandle.AccessMode |
VarHandle.AccessMode.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static VarHandle.AccessMode[] |
VarHandle.AccessMode.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
MethodType |
VarHandle.accessModeType(VarHandle.AccessMode accessMode) |
Obtains the canonical access mode type for this VarHandle and a given
access mode.
|
boolean |
VarHandle.isAccessModeSupported(VarHandle.AccessMode accessMode) |
Returns
true if the given access mode is supported, otherwise
false . |
MethodHandle |
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.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps