W3cubDocs

/OpenJDK 25

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

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

© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/25/docs/api/java.base/java/lang/classfile/attribute/StackMapFrameInfo.ObjectVerificationTypeInfo.html