Dela via


Java.Lang.Invoke Namespace

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.

LambdaConversionException

LambdaConversionException

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.

MethodHandleInfo
MethodHandles

This class consists exclusively of static methods that operate on or return method handles.

MethodHandles.Lookup

A <em>lookup object</em> 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

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.

VarHandle.AccessMode

The set of access modes that specify how a variable, referenced by a VarHandle, is accessed.

VolatileCallSite

A VolatileCallSite is a CallSite whose target acts like a volatile variable.

WrongMethodTypeException

Thrown to indicate that code has attempted to call a method handle via the wrong method type.

Interfaces

IMethodHandleInfo

A symbolic reference obtained by cracking a direct method handle into its consitutent symbolic parts.

ITypeDescriptor

An entity that has a type descriptor.

ITypeDescriptor.IOfField

An entity that has a field type descriptor.

ITypeDescriptor.IOfMethod

An entity that has a method type descriptor Method descriptors conforming to JVMS {

Enums

MethodLookupModes
ReferenceKind