Uses of Interface
java.lang.classfile.attribute.ModuleMainClassAttribute
Package
Description
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing classfile attributes for the
java.lang.classfile
PREVIEW library.-
Uses of ModuleMainClassAttributePREVIEW in java.lang.classfilePREVIEW
Modifier and TypeMethodDescriptionAttributes.moduleMainClass()
Returns Attribute mapper for theModuleMainClass
attribute. -
Uses of ModuleMainClassAttributePREVIEW in java.lang.classfile.attributePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Models theModuleMainClass
attribute (JVMS 4.7.27), which can appear on classes that represent module descriptors.Modifier and TypeMethodDescriptionModuleMainClassAttribute.of
(ClassEntryPREVIEW mainClass) Returns aModuleMainClass
attribute.Returns aModuleMainClass
attribute.