Module java.base

Interface StackInstruction

All Superinterfaces:
ClassFileElementPREVIEW, CodeElementPREVIEW, InstructionPREVIEW

public sealed interface StackInstruction extends InstructionPREVIEW
StackInstruction is a preview API of the Java platform.
Programs can only use StackInstruction when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models a stack manipulation instruction in the code array of a Code attribute. Corresponding opcodes will have a kind of Opcode.Kind.STACKPREVIEW. Delivered as a CodeElementPREVIEW when traversing the elements of a CodeModelPREVIEW.
Since:
22