Interface StackMapTableAttribute
- All Superinterfaces:
Attribute<StackMapTableAttribute>
,ClassFileElement
,CodeElement
public sealed interface StackMapTableAttribute
extends Attribute<StackMapTableAttribute>, CodeElement
Models the
StackMapTable
attribute (JVMS 4.7.4), which can appear
on a Code
attribute.
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 6.
- Since:
- 24
-
Method Summary
Modifier and TypeMethodDescriptionentries()
Returns the stack map frames.static StackMapTableAttribute
of
(List<StackMapFrameInfo> entries) Returns a stack map table attribute.Methods declared in interface java.lang.classfile.Attribute
attributeMapper, attributeName
-
Method Details
-
entries
-
of
Returns a stack map table attribute.- Parameters:
entries
- the stack map frames- Returns:
- a stack map table attribute
-