Uses of Interface
java.lang.classfile.attribute.ModuleAttribute
Packages that use ModuleAttributePREVIEW
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfilePREVIEW library.-
Uses of ModuleAttributePREVIEW in java.lang.classfilePREVIEW
Methods in java.lang.classfilePREVIEW that return types with arguments of type ModuleAttributePREVIEWModifier and TypeMethodDescriptionAttributes.module()Returns Attribute mapper for theModuleattribute.Methods in java.lang.classfilePREVIEW with parameters of type ModuleAttributePREVIEWModifier and TypeMethodDescriptiondefault byte[]ClassFile.buildModule(ModuleAttributePREVIEW moduleAttribute) Build a module descriptor into a byte array.default byte[]ClassFile.buildModule(ModuleAttributePREVIEW moduleAttribute, Consumer<? super ClassBuilderPREVIEW> handler) Build a module descriptor into a byte array.default voidClassFile.buildModuleTo(Path path, ModuleAttributePREVIEW moduleAttribute) Build a module descriptor into a file.default voidClassFile.buildModuleTo(Path path, ModuleAttributePREVIEW moduleAttribute, Consumer<? super ClassBuilderPREVIEW> handler) Build a module descriptor into a file. -
Uses of ModuleAttributePREVIEW in java.lang.classfile.attributePREVIEW
Subinterfaces with type arguments of type ModuleAttributePREVIEW in java.lang.classfile.attributePREVIEWModifier and TypeInterfaceDescriptioninterfacePreview.Models theModuleattribute (JVMS 4.7.25), which can appear on classes that represent module descriptors.Methods in java.lang.classfile.attributePREVIEW that return ModuleAttributePREVIEWModifier and TypeMethodDescriptionstatic ModuleAttributePREVIEWModuleAttribute.of(ModuleEntryPREVIEW moduleName, int moduleFlags, Utf8EntryPREVIEW moduleVersion, Collection<ModuleRequireInfoPREVIEW> requires, Collection<ModuleExportInfoPREVIEW> exports, Collection<ModuleOpenInfoPREVIEW> opens, Collection<ClassEntryPREVIEW> uses, Collection<ModuleProvideInfoPREVIEW> provides) Returns aModuleattribute.static ModuleAttributePREVIEWModuleAttribute.of(ModuleEntryPREVIEW moduleName, Consumer<ModuleAttribute.ModuleAttributeBuilderPREVIEW> attrHandler) Returns aModuleattribute.static ModuleAttributePREVIEWModuleAttribute.of(ModuleDesc moduleName, Consumer<ModuleAttribute.ModuleAttributeBuilderPREVIEW> attrHandler) Returns aModuleattribute.