public List<Pair<String, Integer>> getStaleTargetIds(@NotNull BuildTargetType<?> type) {
    return getTypeState(type).getStaleTargetIds();
  }
public List<Pair<String, Integer>> getStaleTargetIds(@NotNull BuildTargetType<?> type)