Interface InvokeDynamicEntry

All Superinterfaces:
DynamicConstantPoolEntryPREVIEW, PoolEntryPREVIEW

public sealed interface InvokeDynamicEntry extends DynamicConstantPoolEntryPREVIEW
InvokeDynamicEntry is a preview API of the Java platform.
Programs can only use InvokeDynamicEntry when preview features are enabled.
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 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