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

# Interface StackMapTableAttribute

≠
public abstract sealed interface StackMapTableAttribute
extends java.lang.classfile.Attribute<java.lang.classfile.attribute.StackMapTableAttribute>, java.lang.classfile.CodeElement
permits jdk.internal.classfile.impl.BoundAttribute.BoundStackMapTableAttribute, jdk.internal.classfile.impl.UnboundAttribute.UnboundStackMapTableAttribute
Comparing jdk-master and valhalla-csr-open

All Superinterfaces:
  `AttributePREVIEW <StackMapTableAttribute>, ClassFileElement, CodeElement`

public sealed interface StackMapTableAttribute extends AttributePREVIEW <StackMapTableAttribute>, CodeElement
Models the `StackMapTable` attribute (JVMS §4.7.4), which is used for verification by type checking (§4.10.1).

This attribute is not delivered in the traversal of a `CodeAttribute` , but instead automatically generated upon `class` file writing. Advanced users can supply their own stack maps according to the `ClassFile.StackMapsOption` .

This attribute only appears on `Code` attributes, and does not permit multiple instances in a `Code` attribute. It has a data dependency on labels in the `code` array.

This attribute was introduced in the Java SE Platform version 6, major version 50.

See Java Virtual Machine Specification:
  4.7.4 The `StackMapTable` Attribute
  4.10.1 Verification by Type Checking
Since:
  24
See Also:
  - `Attributes.stackMapTable()`
  - `DiscontinuedInstruction.JsrInstruction`
  - `DiscontinuedInstruction.RetInstruction`

## Methods

- =
  public abstract java.util.List<java.lang.classfile.attribute.StackMapFrameInfo> entries()
- =
  public static java.lang.classfile.attribute.StackMapTableAttribute of(java.util.List<java.lang.classfile.attribute.StackMapFrameInfo> arg0)

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
StackMapTableAttribute |  |  |  |  |  |  | 2 |  |  | 2
Total |  |  |  |  |  |  | 2 |  |  | 2