Stay organized with collections
Save and categorize content based on your preferences.
java.lang.invoke
Interfaces
MethodHandleInfo |
A symbolic reference obtained by cracking a direct method handle into its consitutent symbolic parts.
|
TypeDescriptor |
An entity that has a type descriptor.
|
Classes
CallSite |
A CallSite is a holder for a variable MethodHandle , which is called its target .
|
ConstantCallSite |
A ConstantCallSite is a CallSite whose target is permanent, and can never be changed.
|
MethodHandle |
A method handle is a typed, directly executable reference to an underlying method, constructor, field, or similar low-level operation, with optional transformations of arguments or return values.
|
MethodHandles |
This class consists exclusively of static methods that operate on or return method handles.
|
MethodType |
A method type represents the arguments and return type accepted and returned by a method handle, or the arguments and return type passed and expected by a method handle caller.
|
MutableCallSite |
A MutableCallSite is a CallSite whose target variable behaves like an ordinary field.
|
VarHandle |
A VarHandle is a dynamically strongly typed reference to a variable, or to a parametrically-defined family of variables, including static fields, non-static fields, array elements, or components of an off-heap data structure.
|
VolatileCallSite |
A VolatileCallSite is a CallSite whose target acts like a volatile variable.
|
Exceptions
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# java.lang.invoke\n================\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|\n| [MethodHandleInfo](/reference/kotlin/java/lang/invoke/MethodHandleInfo) | A symbolic reference obtained by cracking a direct method handle into its consitutent symbolic parts. |\n| [TypeDescriptor](/reference/kotlin/java/lang/invoke/TypeDescriptor) | An entity that has a type descriptor. |\n\nClasses\n-------\n\n|-------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CallSite](/reference/kotlin/java/lang/invoke/CallSite) | A `CallSite` is a holder for a variable [MethodHandle](/reference/kotlin/java/lang/invoke/MethodHandle), which is called its `target`. |\n| [ConstantCallSite](/reference/kotlin/java/lang/invoke/ConstantCallSite) | A `ConstantCallSite` is a [CallSite](/reference/kotlin/java/lang/invoke/CallSite) whose target is permanent, and can never be changed. |\n| [MethodHandle](/reference/kotlin/java/lang/invoke/MethodHandle) | A method handle is a typed, directly executable reference to an underlying method, constructor, field, or similar low-level operation, with optional transformations of arguments or return values. |\n| [MethodHandles](/reference/kotlin/java/lang/invoke/MethodHandles) | This class consists exclusively of static methods that operate on or return method handles. |\n| [MethodType](/reference/kotlin/java/lang/invoke/MethodType) | A method type represents the arguments and return type accepted and returned by a method handle, or the arguments and return type passed and expected by a method handle caller. |\n| [MutableCallSite](/reference/kotlin/java/lang/invoke/MutableCallSite) | A `MutableCallSite` is a [CallSite](/reference/kotlin/java/lang/invoke/CallSite) whose target variable behaves like an ordinary field. |\n| [VarHandle](/reference/kotlin/java/lang/invoke/VarHandle) | A VarHandle is a dynamically strongly typed reference to a variable, or to a parametrically-defined family of variables, including static fields, non-static fields, array elements, or components of an off-heap data structure. |\n| [VolatileCallSite](/reference/kotlin/java/lang/invoke/VolatileCallSite) | A `VolatileCallSite` is a [CallSite](/reference/kotlin/java/lang/invoke/CallSite) whose target acts like a volatile variable. |\n\nExceptions\n----------\n\n|-------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|\n| [LambdaConversionException](/reference/kotlin/java/lang/invoke/LambdaConversionException) | LambdaConversionException |\n| [StringConcatException](/reference/kotlin/java/lang/invoke/StringConcatException) | StringConcatException is thrown by [StringConcatFactory](#) when linkage invariants are violated. |\n| [WrongMethodTypeException](/reference/kotlin/java/lang/invoke/WrongMethodTypeException) | Thrown to indicate that code has attempted to call a method handle via the wrong method type. |"]]