Package ghidra.app.plugin.processors.generic

# Class OpTemplate

java.lang.Object
ghidra.app.plugin.processors.generic.OpTemplate

All Implemented Interfaces:
  `Serializable`

public class OpTemplate extends Object implements Serializable

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OpTemplate(int opc, VarnodeTemplate[] in, VarnodeTemplate out, AddressFactory af)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PcodeOp`
  `getPcode(HashMap<Object,Handle> handles, Position position, int opSequenceNumber, int off)`
  Method getPcode.
  `VarnodeTemplate`
  `input(int i)`
  `boolean`
  `omit()`
  `int`
  `opcode()`
  `VarnodeTemplate`
  `output()`
  `void`
  `setOmit(Operand ref)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### OpTemplate

    public OpTemplate(int opc, VarnodeTemplate[] in, VarnodeTemplate out, AddressFactory af)

- ## Method Details

  - ### getPcode

    public PcodeOp getPcode(HashMap<Object,Handle> handles, Position position, int opSequenceNumber, int off) throws Exception
    Method getPcode.
    Parameters:
      `handles` -
    Returns:
      PcodeOp
    Throws:
      `Exception`

  - ### opcode

    public int opcode()

  - ### input

    public VarnodeTemplate input(int i)

  - ### output

    public VarnodeTemplate output()

  - ### setOmit

    public void setOmit(Operand ref)

  - ### omit

    public boolean omit()