Interface NameAndTypeEntry

All Superinterfaces:
ClassfileElement, PoolEntry, WritableElement<PoolEntry>
All Known Implementing Classes:
AbstractPoolEntry.NameAndTypeEntryImpl

public sealed interface NameAndTypeEntry extends PoolEntry permits AbstractPoolEntry.NameAndTypeEntryImpl
Models a CONSTANT_NameAndType_info constant in the constant pool of a classfile.
  • 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