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.
  • Method Details

    • of

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