void (@NotNull LinearGraph linearGraph) { Pair<Integer, Integer> reversedEdge = findReversedEdge(linearGraph); if (reversedEdge != null) { LOG.error("Illegal edge: up node " + reversedEdge.first + ", downNode " + reversedEdge.second); } }