Interface ThrowInstruction

All Superinterfaces:
ClassfileElement, CodeElement, Instruction
All Known Implementing Classes:
AbstractInstruction.UnboundThrowInstruction

public sealed interface ThrowInstruction extends Instruction permits AbstractInstruction.UnboundThrowInstruction
Models an athrow instruction in the code array of a Code attribute. Delivered as a CodeElement when traversing the elements of a CodeModel.
  • Method Details

    • of

      static ThrowInstruction of()
      Returns a throw instruction.
      Returns:
      a throw instruction