public final void addNode(final @NotNull Instruction instruction) {
    instructions.add(instruction);
    if (prevInstruction != null) {
      addEdge(prevInstruction, instruction);
    }
    prevInstruction = instruction;
  }
public final void addNode(final @NotNull Instruction instruction)