Interface InvokeDynamicEntry

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 Details

    • typeSymbol

      default MethodTypeDesc typeSymbol()
      Returns a symbolic descriptor for the call site's invocation type.
      Returns:
      a symbolic descriptor for the call site's invocation type
    • asSymbol

      default DynamicCallSiteDesc asSymbol()
      Returns a symbolic descriptor for the dynamic call site.
      Returns:
      a symbolic descriptor for the dynamic call site