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. |
Class and Description |
---|
CallSite
CallSite is used by the invokedynamic bytecode to hold a reference to the MethodHandle target of the instruction.
|
LambdaConversionException
LambdaConversionException
|
MethodHandle
A MethodHandle is a reference to a Java-level method.
|
MethodHandleInfo
A reference to a cracked MethodHandle, which allows access to its symbolic parts.
|
MethodHandles.Lookup
A factory for creating MethodHandles that require access-checking on creation.
|
MethodType
MethodTypes are immutable objects used to correlate MethodHandles with their invocation sites.
|
MutableCallSite
A MutableCallSite acts as though its target MethodHandle were a normal variable.
|
SwitchPoint
A
SwitchPoint is an object which can publish state transitions to other threads. |
WrongMethodTypeException
WrongMethodTypeException is thrown to indicate an attempt to invoke a MethodHandle with the wrong MethodType.
|
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, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.