Interface StackMapFrameInfo.ObjectVerificationTypeInfo
- All Superinterfaces:
StackMapFrameInfo.VerificationTypeInfoPREVIEW
- Enclosing interface:
StackMapFrameInfoPREVIEW
public static sealed interface StackMapFrameInfo.ObjectVerificationTypeInfo
extends StackMapFrameInfo.VerificationTypeInfoPREVIEW
ObjectVerificationTypeInfo
is a preview API of the Java platform.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
A stack value for an object type.
- Since:
- 22
-
Method Summary
Modifier and TypeMethodDescriptionReturns the class of the object.default ClassDesc
Returns the class of the object.of
(ClassEntryPREVIEW className) Returns a new object verification type info.Returns a new object verification type info.Methods declared in interface java.lang.classfile.attribute.StackMapFrameInfo.VerificationTypeInfoPREVIEW
tag
-
Method Details
-
of
Returns a new object verification type info.- Parameters:
className
- the class of the object- Returns:
- a new object verification type info
-
of
Returns a new object verification type info.- Parameters:
classDesc
- the class of the object- Returns:
- a new object verification type info
- Throws:
IllegalArgumentException
- ifclassDesc
represents a primitive type
-
className
-
classSymbol
-
ObjectVerificationTypeInfo
when preview features are enabled.