- All Superinterfaces:
ClassFileElement,DynamicConstantPoolEntry,PoolEntry,WritableElement<PoolEntry>
- All Known Implementing Classes:
AbstractPoolEntry.InvokeDynamicEntryImpl
public sealed interface InvokeDynamicEntry
extends DynamicConstantPoolEntry
permits AbstractPoolEntry.InvokeDynamicEntryImpl
Models a constant pool entry for a dynamic call site.
- Since:
- 22
- Jvms:
- 4.4.10 The CONSTANT_Dynamic_info and CONSTANT_InvokeDynamic_info Structures
-
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 inherited from interface org.glavo.classfile.constantpool.DynamicConstantPoolEntry
bootstrap, bootstrapMethodIndex, name, nameAndType, typeMethods inherited from interface org.glavo.classfile.constantpool.PoolEntry
constantPool, index, tag, widthMethods inherited from interface org.glavo.classfile.WritableElement
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
-