private static boolean anyDefInFragment(int[] defs, LinkedHashSet<Integer> fragmentInstructions) {
    for (int def : defs) {
      if (fragmentInstructions.contains(def)) return true;
    }

    return false;
  }
private static boolean anyDefInFragment(int[] defs, LinkedHashSet<Integer> fragmentInstructions)