Uses of Interface
java.lang.constant.MethodHandleDesc
Package
Description
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.The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.-
Uses of MethodHandleDesc in java.lang.constant
Modifier and TypeMethodDescriptiondefault MethodHandleDesc
MethodHandleDesc.asType(MethodTypeDesc type)
Returns a MethodHandleDesc that describes this method handle adapted to a different type, as if byMethodHandle.asType(MethodType)
.DynamicCallSiteDesc.bootstrapMethod()
Returns aMethodHandleDesc
describing the bootstrap method for theinvokedynamic
. -
Uses of MethodHandleDesc in java.lang.invoke
Modifier and TypeMethodDescriptionMethodHandle.describeConstable()
Return a nominal descriptor for this instance, if one can be constructed, or an emptyOptional
if one cannot be.