private static void removeBasicBlockMatch(
      final GraphsContainer graphs, final RawCombinedBasicBlock oldRawCombinedBasicBlock) {
    final MatchData matches = graphs.getDiff().getMatches();
    final FunctionMatchData functionMatch =
        matches.getFunctionMatch(
            oldRawCombinedBasicBlock.getPrimaryFunctionAddress(), ESide.PRIMARY);
    functionMatch.removeBasicblockMatch(graphs.getDiff(), oldRawCombinedBasicBlock);
  }
Utility class to remove basic block matches from BinDiff graphs.
java/ui/src/main/java/com/google/security/zynamics/bindiff/graph/helpers/BasicBlockMatchRemover.java