Uses of Class
java.lang.constant.DynamicCallSiteDesc
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile constant pool entries for the
java.lang.classfile
library.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.-
Uses of DynamicCallSiteDesc in java.lang.classfile
Modifier and TypeMethodDescriptiondefault CodeBuilder
CodeBuilder.invokedynamic
(DynamicCallSiteDesc ref) Generate an instruction to invoke a dynamically-computed call site -
Uses of DynamicCallSiteDesc in java.lang.classfile.constantpool
Modifier and TypeMethodDescriptiondefault DynamicCallSiteDesc
InvokeDynamicEntry.asSymbol()
Returns a symbolic descriptor for the dynamic call site.Modifier and TypeMethodDescriptiondefault InvokeDynamicEntry
ConstantPoolBuilder.invokeDynamicEntry
(DynamicCallSiteDesc dcsd) Returns AnInvokeDynamicEntry
describing a dynamic call site. -
Uses of DynamicCallSiteDesc in java.lang.constant
Modifier and TypeMethodDescriptionstatic DynamicCallSiteDesc
DynamicCallSiteDesc.of
(DirectMethodHandleDesc bootstrapMethod, MethodTypeDesc invocationType) Creates a nominal descriptor for aninvokedynamic
call site whose bootstrap method has no static arguments and for which the name parameter isConstantDescs.DEFAULT_NAME
.static DynamicCallSiteDesc
DynamicCallSiteDesc.of
(DirectMethodHandleDesc bootstrapMethod, String invocationName, MethodTypeDesc invocationType) Creates a nominal descriptor for aninvokedynamic
call site whose bootstrap method has no static arguments.static DynamicCallSiteDesc
DynamicCallSiteDesc.of
(DirectMethodHandleDesc bootstrapMethod, String invocationName, MethodTypeDesc invocationType, ConstantDesc... bootstrapArgs) Creates a nominal descriptor for aninvokedynamic
call site.DynamicCallSiteDesc.withArgs
(ConstantDesc... bootstrapArgs) Returns a nominal descriptor for aninvokedynamic
call site whose bootstrap method, name, and invocation type are the same as this one, but with the specified bootstrap arguments.DynamicCallSiteDesc.withNameAndType
(String invocationName, MethodTypeDesc invocationType) Returns a nominal descriptor for aninvokedynamic
call site whose bootstrap and bootstrap arguments are the same as this one, but with the specified invocationName and invocation invocationType