CONSTANT_InvokeDynamic_info structure, or the symbolic
reference to a dynamically-computed call site, in the
constant pool of a class file.
The use of a InvokeDynamicEntry is modeled by a DynamicCallSiteDesc symbolic descriptor. It can be obtained from InvokeDynamicEntry::asSymbol and converted back to a constant
pool entry through ConstantPoolBuilder::invokeDynamicEntry.
An invoke dynamic entry is composite:
InvokeDynamicEntry( BootstrapMethodEntry bootstrap, NameAndTypeEntry nameAndType )
type in the nameAndType is a method descriptor string.
API Note
A dynamically-computed call site is frequently called a dynamic call site, or an indy, from the abbreviation of "invoke dynamic".
CONSTANT_Dynamic_info and CONSTANT_InvokeDynamic_info Structures
ConstantPoolBuilder::invokeDynamicEntry, DynamicCallSiteDesc, Dynamically-computed call sites
| Modifier and Type | Method and Description |
|---|---|
| public default DynamicCallSiteDesc | Returns: a symbolic descriptor for this dynamic call siteReturns a symbolic descriptor for this dynamic call site. |
| public default MethodTypeDesc | Returns: a symbolic descriptor for the invocation type of this dynamic call siteReturns a symbolic descriptor for the invocation type of this dynamic call site. |
| asSymbol | back to summary |
|---|---|
| public default DynamicCallSiteDesc asSymbol() Returns a symbolic descriptor for this dynamic call site.
| |
| typeSymbol | back to summary |
|---|---|
| public default MethodTypeDesc typeSymbol() Returns a symbolic descriptor for the invocation type of this dynamic call site.
| |