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. |
java.lang.runtime |
The
java.lang.runtime package provides low-level runtime support
for the Java language. |
jdk.dynalink |
Contains interfaces and classes that are used to link an
invokedynamic call site. |
jdk.dynalink.beans |
Contains the linker for ordinary Java objects.
|
jdk.dynalink.linker |
Contains interfaces and classes needed by language runtimes to implement
their own language-specific object models and type conversions.
|
jdk.dynalink.linker.support |
Contains classes that make it more convenient for language runtimes to
implement their own language-specific object models and type conversions
by providing basic implementations of some classes as well as various
utilities.
|
jdk.dynalink.support |
Contains classes that make using Dynalink more convenient by providing
basic implementations of some classes as well as various utilities.
|
jdk.incubator.foreign |
Classes to support low-level, safe and efficient memory access.
|
-
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. -
Classes in java.lang.invoke used by java.lang.runtime Class Description 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.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 descriptor -
Classes in java.lang.invoke used by jdk.dynalink Class Description 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.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. -
Classes in java.lang.invoke used by jdk.dynalink.beans Class Description 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. -
Classes in java.lang.invoke used by jdk.dynalink.linker Class Description 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.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.SwitchPoint ASwitchPoint
is an object which can publish state transitions to other threads. -
Classes in java.lang.invoke used by jdk.dynalink.linker.support Class Description 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.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. -
Classes in java.lang.invoke used by jdk.dynalink.support Class Description CallSite MutableCallSite AMutableCallSite
is aCallSite
whose target variable behaves like an ordinary field. -
Classes in java.lang.invoke used by jdk.incubator.foreign Class Description 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.