Uses of Class
java.lang.constant.DynamicCallSiteDesc
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.-
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