Interface ModuleAttribute

All Superinterfaces:
Attribute<ModuleAttribute>, ClassElement, ClassFileElement, WritableElement<ModuleAttribute>
All Known Implementing Classes:
BoundAttribute.BoundModuleAttribute, UnboundAttribute.UnboundModuleAttribute

Models the Module attribute , which can appear on classes that represent module descriptors. Delivered as a ClassElement when traversing the elements of a ClassModel.

The attribute does not permit multiple instances in a given location. Subsequent occurrence of the attribute takes precedence during the attributed element build or transformation.

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

Since:
22