Uses of Package
java.lang.invoke
Packages that usejava.lang.invoke
Package
Description
Provides classes that are fundamental to the design of the Javaprogramming language.
Provides classfile parsing, generation, and transformation library.
Classes and interfaces to representnominal descriptors for run-timeentities such as classes or method handles, and classfile entities such asconstant pool entries or
invokedynamic call sites.Provides low-level access to memory and functions outside the Java runtime.
The
java.lang.invoke package provides low-level primitives for interactingwith the Java Virtual Machine.The
java.lang.runtime package provides low-level runtime supportfor the Java language.Contains interfaces and classes that are used to link an
invokedynamic call site.Contains the linker for ordinary Java objects.
Contains interfaces and classes needed by language runtimes to implementtheir own language-specific object models and type conversions.
Contains classes that make it more convenient for language runtimes toimplement their own language-specific object models and type conversionsby providing basic implementations of some classes as well as variousutilities.
Contains classes that make using Dynalink more convenient by providingbasic implementations of some classes as well as various utilities.
- Classes injava.lang.invoke used byjava.langClassDescriptionAlookup object is a factory for creating method handles,when the creation requires access checking.A method type represents the arguments and return type accepted andreturned by a method handle, or the arguments and return type passedand expected by a method handle caller.An entity that has a type descriptor.An entity that has a field type descriptor.
- Classes injava.lang.invoke used byjava.lang.classfileClassDescriptionAlookup object is a factory for creating method handles,when the creation requires access checking.An entity that has a field type descriptor.
- Classes injava.lang.invoke used byjava.lang.constantClassDescriptionA 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.Alookup object is a factory for creating method handles,when the creation requires access checking.A method type represents the arguments and return type accepted andreturned by a method handle, or the arguments and return type passedand expected by a method handle caller.An entity that has a type descriptor.An entity that has a field type descriptor.An entity that has a method type descriptorMethod descriptors conforming to JVMS4.3.3 can be describednominally via
MethodType::describeConstable;otherwise they cannot be described nominally. - Classes injava.lang.invoke used byjava.lang.foreignClassDescriptionA 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.A method type represents the arguments and return type accepted andreturned by a method handle, or the arguments and return type passedand expected by a method handle caller.A VarHandle is a dynamically strongly typed reference to a variable, or to aparametrically-defined family of variables, including static fields,non-static fields, array elements, or components of an off-heap datastructure.
- Classes injava.lang.invoke used byjava.lang.invokeClassDescriptionLambdaConversionExceptionA 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.A symbolic reference obtained by cracking a direct method handleinto its constituent symbolic parts.Alookup object is a factory for creating method handles,when the creation requires access checking.The set of class options that specify whether a hidden class created by
Lookup::defineHiddenClassmethod is dynamically added as a new memberto the nest of a lookup class and/or whether a hidden class hasa strong relationship with the class loader marked as its defining loader.A method type represents the arguments and return type accepted andreturned by a method handle, or the arguments and return type passedand expected by a method handle caller.AMutableCallSiteis aCallSitewhose target variable behaves like an ordinary field.StringConcatException is thrown byStringConcatFactorywhen linkageinvariants are violated.ASwitchPointis an object which can publish state transitions to other threads.An entity that has a type descriptor.An entity that has a field type descriptor.An entity that has a method type descriptorMethod descriptors conforming to JVMS4.3.3 can be describednominally viaMethodType::describeConstable;otherwise they cannot be described nominally.A VarHandle is a dynamically strongly typed reference to a variable, or to aparametrically-defined family of variables, including static fields,non-static fields, array elements, or components of an off-heap datastructure.The set of access modes that specify how a variable, referenced by aVarHandle, is accessed.Anominal descriptor for aVarHandleconstant. - Classes injava.lang.invoke used byjava.lang.runtimeClassDescriptionA 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.Alookup object is a factory for creating method handles,when the creation requires access checking.A method type represents the arguments and return type accepted andreturned by a method handle, or the arguments and return type passedand expected by a method handle caller.An entity that has a type descriptor.
- Classes injava.lang.invoke used byjdk.dynalinkClassDescriptionA 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.Alookup object is a factory for creating method handles,when the creation requires access checking.A method type represents the arguments and return type accepted andreturned by a method handle, or the arguments and return type passedand expected by a method handle caller.
- Classes injava.lang.invoke used byjdk.dynalink.beansClassDescriptionA 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 injava.lang.invoke used byjdk.dynalink.linkerClassDescriptionA 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.Alookup object is a factory for creating method handles,when the creation requires access checking.A method type represents the arguments and return type accepted andreturned by a method handle, or the arguments and return type passedand expected by a method handle caller.A
SwitchPointis an object which can publish state transitions to other threads. - Classes injava.lang.invoke used byjdk.dynalink.linker.supportClassDescriptionA 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.Alookup object is a factory for creating method handles,when the creation requires access checking.A method type represents the arguments and return type accepted andreturned by a method handle, or the arguments and return type passedand expected by a method handle caller.
- Classes injava.lang.invoke used byjdk.dynalink.supportClassDescriptionA 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.A
MutableCallSiteis aCallSitewhose target variable behaves like an ordinary field.