- All Superinterfaces:
Attribute<StackMapTableAttribute>,ClassFileElement,CodeElement,WritableElement<StackMapTableAttribute>
- All Known Implementing Classes:
BoundAttribute.BoundStackMapTableAttribute,UnboundAttribute.UnboundStackMapTableAttribute
public sealed interface StackMapTableAttribute
extends Attribute<StackMapTableAttribute>, CodeElement
permits BoundAttribute.BoundStackMapTableAttribute, UnboundAttribute.UnboundStackMapTableAttribute
Models the
StackMapTable attribute , 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:
- 22
-
Method Summary
Modifier and TypeMethodDescriptionentries()Returns the stack map frames.static StackMapTableAttributeof(List<StackMapFrameInfo> entries) Returns a stack map table attribute.Methods inherited from interface org.glavo.classfile.Attribute
attributeMapper, attributeNameMethods inherited from interface org.glavo.classfile.WritableElement
writeTo
-
Method Details
-
entries
List<StackMapFrameInfo> entries()Returns the stack map frames.- Returns:
- the stack map frames
-
of
Returns a stack map table attribute.- Parameters:
entries- the stack map frames- Returns:
- a stack map table attribute
-