Module java.base
Package java.lang.classfile.attribute

# Interface SourceDebugExtensionAttribute

≠
public abstract sealed interface SourceDebugExtensionAttribute
extends java.lang.classfile.Attribute<java.lang.classfile.attribute.SourceDebugExtensionAttribute>, java.lang.classfile.ClassElement
permits jdk.internal.classfile.impl.BoundAttribute.BoundSourceDebugExtensionAttribute, jdk.internal.classfile.impl.UnboundAttribute.UnboundSourceDebugExtensionAttribute
Comparing jdk-master and valhalla-csr-open

All Superinterfaces:
  `AttributePREVIEW <SourceDebugExtensionAttribute>, ClassElementPREVIEW , ClassFileElement`

public sealed interface SourceDebugExtensionAttribute extends AttributePREVIEW <SourceDebugExtensionAttribute>, ClassElementPREVIEW
Models the `SourceDebugExtension` attribute (JVMS §4.7.11), which stores arbitrary modified UTF-8 data.

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

The attribute was introduced in the Java SE Platform version 5.0, major version 49.

See Java Virtual Machine Specification:
  4.7.11 The `SourceDebugExtension` Attribute
Since:
  24
See Also:
  - `Attributes.sourceDebugExtension()`

## Methods

- =
  public abstract byte[] contents()
- =
  public static java.lang.classfile.attribute.SourceDebugExtensionAttribute of(byte[] arg0)

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
SourceDebugExtensionAttribute |  |  |  |  |  |  | 4 |  |  | 4
Total |  |  |  |  |  |  | 4 |  |  | 4