Interface PackageEntry

All Superinterfaces:
PoolEntry

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

    • name

      Utf8Entry name()
      Returns the package name.
      Returns:
      the package name
    • asSymbol

      PackageDesc asSymbol()
      Returns a symbolic descriptor for the package name.
      Returns:
      a symbolic descriptor for the package name