Module java.base

Interface DiscontinuedInstruction.RetInstruction

All Superinterfaces:
ClassFileElementPREVIEW, CodeElementPREVIEW, DiscontinuedInstructionPREVIEW, InstructionPREVIEW
Enclosing interface:
DiscontinuedInstructionPREVIEW

public static sealed interface DiscontinuedInstruction.RetInstruction extends DiscontinuedInstructionPREVIEW
RetInstruction is a preview API of the Java platform.
Programs can only use RetInstruction when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models RET and RET_W instructions discontinued from the code array of a Code attribute since class file version 51.0. Corresponding opcodes will have a kind of Opcode.Kind.DISCONTINUED_RETPREVIEW. Delivered as a CodeElementPREVIEW when traversing the elements of a CodeModelPREVIEW.
Since:
22