Uses of Interface
java.lang.classfile.constantpool.PackageEntry
Packages that use PackageEntry
Package
Description
Provides interfaces describing
class
file attributes for the java.lang.classfile
library.Provides interfaces describing constant pool entries for the
java.lang.classfile
library.-
Uses of PackageEntry in java.lang.classfile.attribute
Methods in java.lang.classfile.attribute that return PackageEntryModifier and TypeMethodDescriptionModuleExportInfo.exportedPackage()
Returns the exported package.ModuleOpenInfo.openedPackage()
Returns the package being opened.Methods in java.lang.classfile.attribute that return types with arguments of type PackageEntryModifier and TypeMethodDescriptionModulePackagesAttribute.packages()
Returns the packages used by the module descriptor.Methods in java.lang.classfile.attribute with parameters of type PackageEntryModifier and TypeMethodDescriptionstatic ModuleExportInfo
ModuleExportInfo.of
(PackageEntry exports, int exportFlags, ModuleEntry... exportsTo) Returns a module export description.static ModuleExportInfo
ModuleExportInfo.of
(PackageEntry exports, int exportFlags, List<ModuleEntry> exportsTo) Returns a module export description.static ModuleExportInfo
ModuleExportInfo.of
(PackageEntry exports, Collection<AccessFlag> exportFlags, ModuleEntry... exportsTo) Returns a module export description.static ModuleExportInfo
ModuleExportInfo.of
(PackageEntry exports, Collection<AccessFlag> exportFlags, List<ModuleEntry> exportsTo) Returns a module export description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageEntry opens, int opensFlags, ModuleEntry... opensTo) Returns a module open description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageEntry opens, int opensFlags, List<ModuleEntry> opensTo) Returns a module open description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageEntry opens, Collection<AccessFlag> opensFlags, ModuleEntry... opensTo) Returns a module open description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageEntry opens, Collection<AccessFlag> opensFlags, List<ModuleEntry> opensTo) Returns a module open description.static ModulePackagesAttribute
ModulePackagesAttribute.of
(PackageEntry... packages) Returns aModulePackages
attribute.Method parameters in java.lang.classfile.attribute with type arguments of type PackageEntryModifier and TypeMethodDescriptionstatic ModulePackagesAttribute
ModulePackagesAttribute.of
(List<PackageEntry> packages) Returns aModulePackages
attribute. -
Uses of PackageEntry in java.lang.classfile.constantpool
Methods in java.lang.classfile.constantpool that return PackageEntryModifier and TypeMethodDescriptionConstantPoolBuilder.packageEntry
(Utf8Entry nameEntry) Returns aPackageEntry
referring to the providedUtf8Entry
.default PackageEntry
ConstantPoolBuilder.packageEntry
(PackageDesc packageDesc) Returns aPackageEntry
describing the same package as the providedPackageDesc
.