Uses of Package
java.lang.invoke
Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.lang.constant |
Classes and interfaces to represent nominal descriptors for run-time
entities such as classes or method handles, and classfile entities such as
constant pool entries or
invokedynamic call sites. |
java.lang.invoke |
The
java.lang.invoke package provides low-level primitives for interacting
with the Java Virtual Machine. |
-
Classes in java.lang.invoke used by java.lang Class Description MethodHandles.Lookup A lookup object is a factory for creating method handles, when the creation requires access checking.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.TypeDescriptor An entity that has a field or method type descriptorTypeDescriptor.OfField An entity that has a field type descriptor -
Classes in java.lang.invoke used by java.lang.constant Class Description CallSite MethodHandles.Lookup A lookup object is a factory for creating method handles, when the creation requires access checking.TypeDescriptor An entity that has a field or method type descriptorTypeDescriptor.OfField An entity that has a field type descriptorTypeDescriptor.OfMethod An entity that has a method type descriptor -
Classes in java.lang.invoke used by java.lang.invoke Class Description CallSite LambdaConversionException LambdaConversionExceptionMethodHandle 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.MethodHandleInfo A symbolic reference obtained by cracking a direct method handle into its consitutent symbolic parts.MethodHandles.Lookup A lookup object is a factory for creating method handles, when the creation requires access checking.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 AMutableCallSite
is aCallSite
whose target variable behaves like an ordinary field.StringConcatException StringConcatException is thrown byStringConcatFactory
when linkage invariants are violated.SwitchPoint ASwitchPoint
is an object which can publish state transitions to other threads.TypeDescriptor An entity that has a field or method type descriptorTypeDescriptor.OfField An entity that has a field type descriptorTypeDescriptor.OfMethod An entity that has a method type descriptorVarHandle 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.VarHandle.AccessMode The set of access modes that specify how a variable, referenced by a VarHandle, is accessed.VarHandle.VarHandleDesc A nominal descriptor for aVarHandle
constant.