Interface NameAndTypeEntry

All Superinterfaces:
PoolEntry

public sealed interface NameAndTypeEntry extends PoolEntry
Models a CONSTANT_NameAndType_info constant in the constant pool of a classfile.
See Java Virtual Machine Specification:
4.4.6 The CONSTANT_NameAndType_info Structure
Since:
24
  • Method Details

    • name

      Utf8Entry name()
      Returns the field or method name.
      Returns:
      the field or method name
    • type

      Utf8Entry type()
      Returns the field or method descriptor.
      Returns:
      the field or method descriptor