Interface ModuleAttribute

All Superinterfaces:
Attribute<ModuleAttribute>, ClassElement, ClassFileElement

public sealed interface ModuleAttribute extends Attribute<ModuleAttribute>, ClassElement
Models the Module attribute (JVMS 4.7.25), which always appears on classes that represent module descriptors.

This attribute only appears on classes, and does not permit multiple instances in a class. It has a data dependency on the constant pool.

The attribute was introduced in the Java SE Platform version 9, major version 53.

See Java Virtual Machine Specification:
4.7.25 The Module Attribute
Since:
24
See Also: