Interface NopInstruction

All Superinterfaces:
ClassFileElement, CodeElement, Instruction
All Known Implementing Classes:
AbstractInstruction.UnboundNopInstruction

public sealed interface NopInstruction extends Instruction permits AbstractInstruction.UnboundNopInstruction
Models a nop invocation instruction in the code array of a Code attribute. Delivered as a CodeElement when traversing the elements of a CodeModel.
Since:
22
  • Method Details

    • of

      static NopInstruction of()
      Returns a no-op instruction.
      Returns:
      a no-op instruction