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

# Interface StackMapFrameInfo

≠
public abstract sealed interface StackMapFrameInfo
permits jdk.internal.classfile.impl.StackMapDecoder.StackMapFrameImpl

## Nested Types

- = ObjectVerificationTypeInfo
- = SimpleVerificationTypeInfo
- = UninitializedVerificationTypeInfo
- = VerificationTypeInfo

## Methods

- =
  public abstract int frameType()
- =
  public abstract java.util.List<java.lang.classfile.attribute.StackMapFrameInfo.VerificationTypeInfo> locals()
- =
  public static java.lang.classfile.attribute.StackMapFrameInfo of(java.lang.classfile.Label arg0, java.util.List<java.lang.classfile.attribute.StackMapFrameInfo.VerificationTypeInfo> arg1, java.util.List<java.lang.classfile.attribute.StackMapFrameInfo.VerificationTypeInfo> arg2)
- +Only in: valhalla-csr-open; not in: jdk-master.
  public static java.lang.classfile.attribute.StackMapFrameInfo of(java.lang.classfile.Label arg0, java.util.List<java.lang.classfile.attribute.StackMapFrameInfo.VerificationTypeInfo> arg1, java.util.List<java.lang.classfile.attribute.StackMapFrameInfo.VerificationTypeInfo> arg2, java.util.List<java.lang.classfile.constantpool.NameAndTypeEntry> arg3)
  Not in jdk-master; only in valhalla-csr-open

  ### of

  static StackMapFrameInfo of(Label target, List<StackMapFrameInfo.VerificationTypeInfo> locals, List<StackMapFrameInfo.VerificationTypeInfo> stack, List<NameAndTypeEntry> unsetFields)
  `of` is a reflective preview API of the Java platform.
  Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
  Returns a new stack map frame.
  Parameters:
    `target` - the location of the frame
    `locals` - the complete list of frame locals
    `stack` - the complete frame stack
    `unsetFields` - the complete list of unset fields
  Returns:
    a new stack map frame
  Throws:
    `IllegalArgumentException` - if the number of elements in `locals`, `stack`, or `unsetFields` exceeds the limit of `u2`; or if unset fields has elements, but no `uninitializedThis` is present in `locals`
  Since:
    Valhalla
- =
  public abstract java.util.List<java.lang.classfile.attribute.StackMapFrameInfo.VerificationTypeInfo> stack()
- =
  public abstract java.lang.classfile.Label target()
- +Only in: valhalla-csr-open; not in: jdk-master.
  public abstract java.util.List<java.lang.classfile.constantpool.NameAndTypeEntry> unsetFields()
  Not in jdk-master; only in valhalla-csr-open

  ### unsetFields

  List<NameAndTypeEntry> unsetFields()
  `unsetFields` is a reflective preview API of the Java platform.
  Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
  Returns the expanded unset fields.
  Returns:
    the expanded unset fields
  See Java Virtual Machine Specification:
    4.7.4 The `StackMapTable` AttributePREVIEW
  Since:
    Valhalla

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
of(Label,List,List,List) | 1 |  |  |  |  |  | 1 |  |  | 2
unsetFields() | 1 |  |  |  |  |  | 1 |  |  | 2
Total | 2 |  |  |  |  |  | 2 |  |  | 4