- All Superinterfaces:
 ClassFileElementPREVIEW,DynamicConstantPoolEntryPREVIEW,PoolEntryPREVIEW,WritableElementPREVIEW<PoolEntryPREVIEW>
InvokeDynamicEntry is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models a constant pool entry for a dynamic call site.
- See Java Virtual Machine Specification:
 - 
4.4.10 The CONSTANT_Dynamic_info and CONSTANT_InvokeDynamic_info Structures
 - Since:
 - 22
 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault DynamicCallSiteDescasSymbol()Returns a symbolic descriptor for the dynamic call site.default MethodTypeDescReturns a symbolic descriptor for the call site's invocation type.Methods declared in interface java.lang.classfile.constantpool.DynamicConstantPoolEntryPREVIEW
bootstrap, bootstrapMethodIndex, name, nameAndType, typeMethods declared in interface java.lang.classfile.constantpool.PoolEntryPREVIEW
constantPool, index, tag, widthMethods declared in interface java.lang.classfile.WritableElementPREVIEW
writeTo 
- 
Method Details
- 
typeSymbol
Returns a symbolic descriptor for the call site's invocation type.- Returns:
 - a symbolic descriptor for the call site's invocation type
 
 - 
asSymbol
Returns a symbolic descriptor for the dynamic call site.- Returns:
 - a symbolic descriptor for the dynamic call site
 
 
 - 
 
InvokeDynamicEntrywhen preview features are enabled.