Uses of Interface
java.lang.constant.PackageDesc
Package
Description
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.Classes and interfaces to represent nominal descriptors for run-time
entities such as classes or method handles, and classfile entities such as
constant pool entries or
invokedynamic
call sites.-
Uses of PackageDesc in java.lang.classfile.attributePREVIEW
Modifier and TypeMethodDescriptionModuleAttribute.ModuleAttributeBuilder.exports
(PackageDesc pkge, int exportsFlagsMask, ModuleDesc... exportsToModules) Adds exported packageModuleAttribute.ModuleAttributeBuilder.exports
(PackageDesc pkge, Collection<AccessFlag> exportsFlags, ModuleDesc... exportsToModules) Adds exported packagestatic ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageDesc exports, int exportFlags, ModuleDesc... exportsTo) Returns a module export description.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageDesc exports, int exportFlags, List<ModuleDesc> exportsTo) Returns a module export description.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageDesc exports, Collection<AccessFlag> exportFlags, ModuleDesc... exportsTo) Returns a module export description.static ModuleExportInfoPREVIEW
ModuleExportInfo.of
(PackageDesc exports, Collection<AccessFlag> exportFlags, List<ModuleDesc> exportsTo) Returns a module export description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageDesc opens, int opensFlags, ModuleDesc... opensTo) Returns a module open description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageDesc opens, int opensFlags, List<ModuleDesc> opensTo) Returns a module open description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageDesc opens, Collection<AccessFlag> opensFlags, ModuleDesc... opensTo) Returns a module open description.static ModuleOpenInfoPREVIEW
ModuleOpenInfo.of
(PackageDesc opens, Collection<AccessFlag> opensFlags, List<ModuleDesc> opensTo) Returns a module open description.ModulePackagesAttribute.ofNames
(PackageDesc... packages) Returns aModulePackages
attribute.ModuleAttribute.ModuleAttributeBuilder.opens
(PackageDesc pkge, int opensFlagsMask, ModuleDesc... opensToModules) Opens packageModuleAttribute.ModuleAttributeBuilder.opens
(PackageDesc pkge, Collection<AccessFlag> opensFlags, ModuleDesc... opensToModules) Opens packageModifier and TypeMethodDescriptionModulePackagesAttribute.ofNames
(List<PackageDesc> packages) Returns aModulePackages
attribute. -
Uses of PackageDesc in java.lang.classfile.constantpoolPREVIEW
Modifier and TypeMethodDescriptionPackageEntry.asSymbol()
Returns a symbolic descriptor for the package name.Modifier and TypeMethodDescriptiondefault PackageEntryPREVIEW
ConstantPoolBuilder.packageEntry
(PackageDesc packageDesc) -
Uses of PackageDesc in java.lang.constant
Modifier and TypeMethodDescriptionstatic PackageDesc
Returns aPackageDesc
for a package, given the name of the package, such as"java.lang"
.static PackageDesc
PackageDesc.ofInternalName
(String name) Returns aPackageDesc
for a package, given the name of the package in internal form, such as"java/lang"
.