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
Fields in java.lang.classfilePREVIEW with type parameters of type ModuleAttributePREVIEWModifier and TypeFieldDescriptionstatic final AttributeMapperPREVIEW<ModuleAttributePREVIEW> Attributes.MODULEAttribute mapper for theModuleattributeMethods 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
Methods in java.lang.classfile.attributePREVIEW that return ModuleAttributePREVIEWModifier and TypeMethodDescriptionModuleAttribute.ModuleAttributeBuilder.build()Builds module attribute.static 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.