Uses of Class
java.lang.constant.DynamicCallSiteDesc
| Package | Description |
|---|---|
| java.lang.constant |
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
Methods in java.lang.constant that return DynamicCallSiteDesc Modifier and Type Method Description static DynamicCallSiteDescDynamicCallSiteDesc. of(DirectMethodHandleDesc bootstrapMethod, MethodTypeDesc invocationType)Creates a nominal descriptor for aninvokedynamiccall site whose bootstrap method has no static arguments and for which the name parameter isConstantDescs.DEFAULT_NAME.static DynamicCallSiteDescDynamicCallSiteDesc. of(DirectMethodHandleDesc bootstrapMethod, String invocationName, MethodTypeDesc invocationType)Creates a nominal descriptor for aninvokedynamiccall site whose bootstrap method has no static arguments.static DynamicCallSiteDescDynamicCallSiteDesc. of(DirectMethodHandleDesc bootstrapMethod, String invocationName, MethodTypeDesc invocationType, ConstantDesc... bootstrapArgs)Creates a nominal descriptor for aninvokedynamiccall site.DynamicCallSiteDescDynamicCallSiteDesc. withArgs(ConstantDesc... bootstrapArgs)Returns a nominal descriptor for aninvokedynamiccall site whose bootstrap method, name, and invocation type are the same as this one, but with the specified bootstrap arguments.DynamicCallSiteDescDynamicCallSiteDesc. withNameAndType(String invocationName, MethodTypeDesc invocationType)Returns a nominal descriptor for aninvokedynamiccall site whose bootstrap and bootstrap arguments are the same as this one, but with the specified invocationName and invocation invocationType