Contents
Interface SourceIDAttribute
- All Superinterfaces:
AttributePREVIEW<SourceIDAttributePREVIEW>
,ClassElementPREVIEW
,ClassFileElementPREVIEW
public sealed interface SourceIDAttribute
extends AttributePREVIEW<SourceIDAttributePREVIEW>, ClassElementPREVIEW
SourceIDAttribute
is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models the
SourceID
attribute, which can
appear on classes. Delivered as a ClassElement
PREVIEW when
traversing a ClassModel
PREVIEW.
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.
- Since:
- 22
-
Method Summary
Methods declared in interface java.lang.classfile.AttributePREVIEW
attributeMapper, attributeName
SourceIDAttribute
when preview features are enabled.