Uses of Interface
java.lang.classfile.attribute.ModulePackagesAttribute
Packages that use ModulePackagesAttribute
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing
class
file attributes for the java.lang.classfile
library.-
Uses of ModulePackagesAttribute in java.lang.classfile
Methods in java.lang.classfile that return types with arguments of type ModulePackagesAttributeModifier and TypeMethodDescriptionAttributes.modulePackages()
Returns the mapper for theModulePackages
attribute. -
Uses of ModulePackagesAttribute in java.lang.classfile.attribute
Subinterfaces with type arguments of type ModulePackagesAttribute in java.lang.classfile.attributeModifier and TypeInterfaceDescriptioninterface
Models theModulePackages
attribute (JVMS 4.7.26), which can appear on classes that represent module descriptors to indicate packages in the module used by the module descriptor.Methods in java.lang.classfile.attribute that return ModulePackagesAttributeModifier and TypeMethodDescriptionstatic ModulePackagesAttribute
ModulePackagesAttribute.of
(PackageEntry... packages) Returns aModulePackages
attribute.static ModulePackagesAttribute
ModulePackagesAttribute.of
(List<PackageEntry> packages) Returns aModulePackages
attribute.static ModulePackagesAttribute
ModulePackagesAttribute.ofNames
(PackageDesc... packages) Returns aModulePackages
attribute.static ModulePackagesAttribute
ModulePackagesAttribute.ofNames
(List<PackageDesc> packages) Returns aModulePackages
attribute.