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.
SourceDebugExtension Attribute
Attributes#sourceDebugExtension()
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public static SourceDebugExtensionAttribute | Returns: aSourceDebugExtension attributethe extension contents contents)Returns a |
| contents | back to summary |
|---|---|
| public byte[] contents() Returns the debug extension payload. The payload may denote a string
longer than that which can be represented with a
| |
| of | back to summary |
|---|---|
| public static SourceDebugExtensionAttribute of(byte[] contents) Returns a
| |