Uses of Interface
io.smallrye.classfile.attribute.ModuleAttribute
Packages that use ModuleAttribute
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing
class file attributes for the io.smallrye.classfile library.-
Uses of ModuleAttribute in io.smallrye.classfile
Methods in io.smallrye.classfile that return types with arguments of type ModuleAttributeModifier and TypeMethodDescriptionstatic AttributeMapper<ModuleAttribute> Attributes.module()Returns the mapper for theModuleattribute.Methods in io.smallrye.classfile with parameters of type ModuleAttributeModifier and TypeMethodDescriptiondefault byte[]ClassFile.buildModule(ModuleAttribute moduleAttribute) Builds a module descriptor into a byte array.default byte[]ClassFile.buildModule(ModuleAttribute moduleAttribute, Consumer<? super ClassBuilder> handler) Builds a module descriptor into a byte array.default voidClassFile.buildModuleTo(Path path, ModuleAttribute moduleAttribute) Builds a module descriptor into a file in a file system.default voidClassFile.buildModuleTo(Path path, ModuleAttribute moduleAttribute, Consumer<? super ClassBuilder> handler) Builds a module descriptor into a file in a file system. -
Uses of ModuleAttribute in io.smallrye.classfile.attribute
Methods in io.smallrye.classfile.attribute that return ModuleAttributeModifier and TypeMethodDescriptionstatic ModuleAttributeModuleAttribute.of(ModuleEntry moduleName, int moduleFlags, Utf8Entry moduleVersion, Collection<ModuleRequireInfo> requires, Collection<ModuleExportInfo> exports, Collection<ModuleOpenInfo> opens, Collection<ClassEntry> uses, Collection<ModuleProvideInfo> provides) Returns aModuleattribute.static ModuleAttributeModuleAttribute.of(ModuleEntry moduleName, Consumer<ModuleAttribute.ModuleAttributeBuilder> attrHandler) Returns aModuleattribute.static ModuleAttributeModuleAttribute.of(ModuleDesc moduleName, Consumer<ModuleAttribute.ModuleAttributeBuilder> attrHandler) Returns aModuleattribute.