StackMapFrameInfo.ObjectVerificationTypeInfo (Java SE 25 & JDK 25)
Description: declaration: module: java.base, package: java.lang.classfile.attribute, interface: StackMapFrameInfo, interface: ObjectVerificationTypeInfo
Keywords: java.lang.classfile.attribute.StackMapFrameInfo.ObjectVerificationTypeInfo interface

# Interface StackMapFrameInfo.ObjectVerificationTypeInfo

All Superinterfaces:
  `StackMapFrameInfo.VerificationTypeInfo`

Enclosing interface:
  `StackMapFrameInfo`

public static sealed interface StackMapFrameInfo.ObjectVerificationTypeInfo extends StackMapFrameInfo.VerificationTypeInfo
A stack value for an object type. Its `tag` is 7.

See Java Virtual Machine Specification:
  4.7.4 The `StackMapTable` Attribute
Since:
  24

- ## Field Summary

  ### Fields declared in interface StackMapFrameInfo.VerificationTypeInfo

  `ITEM_DOUBLE, ITEM_FLOAT, ITEM_INTEGER, ITEM_LONG, ITEM_NULL, ITEM_OBJECT, ITEM_TOP, ITEM_UNINITIALIZED, ITEM_UNINITIALIZED_THIS`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ClassEntry`
  `className()`
  Returns the class of the object.
  `default ClassDesc`
  `classSymbol()`
  Returns the class of the object, as a symbolic descriptor.
  `static StackMapFrameInfo.ObjectVerificationTypeInfo`
  `of(ClassEntry className)`
  Returns a new object verification type info.
  `static StackMapFrameInfo.ObjectVerificationTypeInfo`
  `of(ClassDesc classDesc)`
  Returns a new object verification type info.

  ### Methods declared in interface StackMapFrameInfo.VerificationTypeInfo

  `tag`

- ## Method Details

  - ### of

    static StackMapFrameInfo.ObjectVerificationTypeInfo of(ClassEntry className)
    Returns a new object verification type info.
    Parameters:
      `className` - the class of the object
    Returns:
      a new object verification type info

  - ### of

    static StackMapFrameInfo.ObjectVerificationTypeInfo of(ClassDesc classDesc)
    Returns a new object verification type info.
    Parameters:
      `classDesc` - the class of the object
    Returns:
      a new object verification type info
    Throws:
      `IllegalArgumentException` - if `classDesc` represents a primitive type

  - ### className

    ClassEntry className()
    Returns the class of the object.
    Returns:
      the class of the object

  - ### classSymbol

    default ClassDesc classSymbol()
    Returns the class of the object, as a symbolic descriptor.
    Returns:
      the class of the object, as a symbolic descriptor