Uses of Interface
java.lang.classfile.attribute.ModulePackagesAttribute
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.-
Uses of ModulePackagesAttributePREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionAttributes.modulePackages()
Returns Attribute mapper for theModulePackages
attribute. -
Uses of ModulePackagesAttributePREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Models theModulePackages
attribute (JVMS 4.7.26), which can appear on classes that represent module descriptors.Modifier and TypeMethodDescriptionModulePackagesAttribute.of
(PackageEntryPREVIEW... packages) Returns aModulePackages
attribute.ModulePackagesAttribute.of
(List<PackageEntryPREVIEW> packages) Returns aModulePackages
attribute.ModulePackagesAttribute.ofNames
(PackageDesc... packages) Returns aModulePackages
attribute.ModulePackagesAttribute.ofNames
(List<PackageDesc> packages) Returns aModulePackages
attribute.