Uses of Interface
java.lang.classfile.constantpool.PackageEntry
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.Provides interfaces describing classfile constant pool entries for the
java.lang.classfile
PREVIEW library.-
Uses of PackageEntryPREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionClassReader.readPackageEntry
(int offset) Returns the package entry whose index is given at the specified offset within the classfile. -
Uses of PackageEntryPREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeMethodDescriptionModuleExportInfo.exportedPackage()
Returns the exported package.ModuleOpenInfo.openedPackage()
Returns the package being opened.Modifier and TypeMethodDescriptionModulePackagesAttribute.packages()
Returns the packages that are opened or exported by this module.Modifier and TypeMethodDescriptionstatic ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageEntryPREVIEW exports, int exportFlags, ModuleEntryPREVIEW... exportsTo) Returns a module export description.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageEntryPREVIEW exports, int exportFlags, List<ModuleEntryPREVIEW> exportsTo) Returns a module export description.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageEntryPREVIEW exports, Collection<AccessFlag> exportFlags, ModuleEntryPREVIEW... exportsTo) Returns a module export description.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageEntryPREVIEW exports, Collection<AccessFlag> exportFlags, List<ModuleEntryPREVIEW> exportsTo) Returns a module export description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageEntryPREVIEW opens, int opensFlags, ModuleEntryPREVIEW... opensTo) Returns a module open description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageEntryPREVIEW opens, int opensFlags, List<ModuleEntryPREVIEW> opensTo) Returns a module open description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageEntryPREVIEW opens, Collection<AccessFlag> opensFlags, ModuleEntryPREVIEW... opensTo) Returns a module open description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageEntryPREVIEW opens, Collection<AccessFlag> opensFlags, List<ModuleEntryPREVIEW> opensTo) Returns a module open description.ModulePackagesAttribute.of
(PackageEntryPREVIEW... packages) Returns aModulePackages
attribute.Modifier and TypeMethodDescriptionModulePackagesAttribute.of
(List<PackageEntryPREVIEW> packages) Returns aModulePackages
attribute. -
Uses of PackageEntryPREVIEW in java.lang.classfile.constantpoolPREVIEW
Modifier and TypeMethodDescriptionConstantPoolBuilder.packageEntry
(Utf8EntryPREVIEW nameEntry) Returns APackageEntry
PREVIEW describing the class whose internal name is encoded in the provided Utf8EntryPREVIEW.default PackageEntryPREVIEW
ConstantPoolBuilder.packageEntry
(PackageDesc packageDesc)