Interface ThrowInstruction
- All Superinterfaces:
ClassFileElementPREVIEW,CodeElementPREVIEW,InstructionPREVIEW
ThrowInstruction 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 an
athrow instruction in the code array of a
Code attribute. Delivered as a CodeElementPREVIEW when traversing
the elements of a CodeModelPREVIEW.- Since:
- 22
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic ThrowInstructionPREVIEWof()Returns a throw instruction.Methods declared in interface java.lang.classfile.InstructionPREVIEW
opcode, sizeInBytes
-
Method Details
-
of
-
ThrowInstructionwhen preview features are enabled.