Module java.base

Interface DiscontinuedInstruction.JsrInstruction

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

public static sealed interface DiscontinuedInstruction.JsrInstruction extends DiscontinuedInstructionPREVIEW
JsrInstruction is a preview API of the Java platform.
Programs can only use JsrInstruction when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
Models JSR and JSR_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_JSRPREVIEW. Delivered as a CodeElementPREVIEW when traversing the elements of a CodeModelPREVIEW.
Since:
22