@Nullable
  private static ParameterHintsPass.HintData findAndRemoveMatchingHint(int offset, boolean relatesToPrecedingText,
                                                                       Int2ObjectMap<List<ParameterHintsPass.HintData>> data) {
    List<ParameterHintsPass.HintData> newHintList = data.get(offset);
    ParameterHintsPass.HintData newHint = null;
    if (newHintList != null) {
      for (Iterator<ParameterHintsPass.HintData> iterator = newHintList.iterator(); iterator.hasNext(); ) {
        ParameterHintsPass.HintData hint = iterator.next();
        if (hint.relatesToPrecedingText == relatesToPrecedingText) {
          newHint = hint;
          iterator.remove();
          break;
        }
      }
      if (newHintList.isEmpty()) data.remove(offset);
    }
    return newHint;
  }
@Nullable
  private static ParameterHintsPass.HintData findAndRemoveMatchingHint(int offset, boolean relatesToPrecedingText,
                                                                       Int2ObjectMap<List<ParameterHintsPass.HintData>> data)