Interface MethodTypeEntry

All Superinterfaces:
LoadableConstantEntry, PoolEntry

public sealed interface MethodTypeEntry extends LoadableConstantEntry
Models a CONSTANT_MethodType_info constant in the constant pool of a classfile.
See Java Virtual Machine Specification:
4.4.9 The CONSTANT_MethodType_info Structure
Since:
24
  • 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
    • descriptor

      Utf8Entry descriptor()
      Returns the constant pool entry describing the method type.
      Returns:
      the constant pool entry describing the method type
    • asSymbol

      MethodTypeDesc asSymbol()
      Returns a symbolic descriptor for the method type.
      Returns:
      a symbolic descriptor for the method type