Uses of Interface
java.lang.constant.PackageDesc
Packages that use PackageDesc
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.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.attribute
Methods in java.lang.classfile.attribute with parameters of type PackageDescModifier and TypeMethodDescriptionModuleAttribute.ModuleAttributeBuilder.exports
(PackageDesc pkge, int exportsFlagsMask, ModuleDesc... exportsToModules) Adds an exported package.ModuleAttribute.ModuleAttributeBuilder.exports
(PackageDesc pkge, Collection<AccessFlag> exportsFlags, ModuleDesc... exportsToModules) Adds an exported package.static ModuleExportInfo
ModuleExportInfo.of
(PackageDesc exports, int exportFlags, ModuleDesc... exportsTo) Returns a module export description.static ModuleExportInfo
ModuleExportInfo.of
(PackageDesc exports, int exportFlags, List<ModuleDesc> exportsTo) Returns a module export description.static ModuleExportInfo
ModuleExportInfo.of
(PackageDesc exports, Collection<AccessFlag> exportFlags, ModuleDesc... exportsTo) Returns a module export description.static ModuleExportInfo
ModuleExportInfo.of
(PackageDesc exports, Collection<AccessFlag> exportFlags, List<ModuleDesc> exportsTo) Returns a module export description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageDesc opens, int opensFlags, ModuleDesc... opensTo) Returns a module open description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageDesc opens, int opensFlags, List<ModuleDesc> opensTo) Returns a module open description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageDesc opens, Collection<AccessFlag> opensFlags, ModuleDesc... opensTo) Returns a module open description.static ModuleOpenInfo
ModuleOpenInfo.of
(PackageDesc opens, Collection<AccessFlag> opensFlags, List<ModuleDesc> opensTo) Returns a module open description.static ModulePackagesAttribute
ModulePackagesAttribute.ofNames
(PackageDesc... packages) Returns aModulePackages
attribute.ModuleAttribute.ModuleAttributeBuilder.opens
(PackageDesc pkge, int opensFlagsMask, ModuleDesc... opensToModules) Opens a package.ModuleAttribute.ModuleAttributeBuilder.opens
(PackageDesc pkge, Collection<AccessFlag> opensFlags, ModuleDesc... opensToModules) Opens a package.Method parameters in java.lang.classfile.attribute with type arguments of type PackageDescModifier and TypeMethodDescriptionstatic ModulePackagesAttribute
ModulePackagesAttribute.ofNames
(List<PackageDesc> packages) Returns aModulePackages
attribute. -
Uses of PackageDesc in java.lang.classfile.constantpool
Methods in java.lang.classfile.constantpool that return PackageDescModifier and TypeMethodDescriptionPackageEntry.asSymbol()
Returns a symbolic descriptor for the package name.Methods in java.lang.classfile.constantpool with parameters of type PackageDescModifier and TypeMethodDescriptiondefault PackageEntry
ConstantPoolBuilder.packageEntry
(PackageDesc packageDesc) Returns aPackageEntry
describing the same package as the providedPackageDesc
. -
Uses of PackageDesc in java.lang.constant
Methods in java.lang.constant that return PackageDescModifier 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"
.