- All Superinterfaces:
ClassFileElementPREVIEW,CodeElementPREVIEW,InstructionPREVIEW
- All Known Subinterfaces:
DiscontinuedInstruction.JsrInstructionPREVIEW,DiscontinuedInstruction.RetInstructionPREVIEW
public sealed interface DiscontinuedInstruction
extends InstructionPREVIEW
permits DiscontinuedInstruction.JsrInstructionPREVIEW, DiscontinuedInstruction.RetInstructionPREVIEW
DiscontinuedInstruction 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.
Models instruction discontinued from the
code array of a Code
attribute. Delivered as a CodeElementPREVIEW when traversing the elements of
a CodeModelPREVIEW.- Since:
- 22
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacePreview.Models JSR and JSR_W instructions discontinued from thecodearray of aCodeattribute since class file version 51.0.static interfacePreview.Models RET and RET_W instructions discontinued from thecodearray of aCodeattribute since class file version 51.0. -
Method Summary
Methods declared in interface java.lang.classfile.InstructionPREVIEW
opcode, sizeInBytes
DiscontinuedInstructionwhen preview features are enabled.