Interface ConstantDynamicEntry

All Superinterfaces:
ClassfileElement, DynamicConstantPoolEntry, LoadableConstantEntry, PoolEntry, WritableElement<PoolEntry>
All Known Implementing Classes:
AbstractPoolEntry.ConstantDynamicEntryImpl

public sealed interface ConstantDynamicEntry extends DynamicConstantPoolEntry, LoadableConstantEntry permits AbstractPoolEntry.ConstantDynamicEntryImpl
Models a CONSTANT_Dynamic_info constant in the constant pool of a classfile.
  • Method Details

    • constantValue

      default ConstantDesc constantValue()
      Description copied from interface: LoadableConstantEntry
      Returns the constant described by this entry.
      Specified by:
      constantValue in interface LoadableConstantEntry
      Returns:
      the constant described by this entry
    • asSymbol

      default DynamicConstantDesc<?> asSymbol()
      Returns the symbolic descriptor for the invokedynamic constant.
      Returns:
      the symbolic descriptor for the invokedynamic constant
    • typeKind

      default TypeKind typeKind()
      Returns the type of the constant.
      Specified by:
      typeKind in interface LoadableConstantEntry
      Returns:
      the type of the constant