private void checkUselessCall(@NotNull DfaValue @NotNull [] args,
                         @NotNull DfaValue value,
                         @NotNull DfaMemoryState state,
                         @NotNull PsiReferenceExpression expression) {
    if (args.length == 3) {
      ArgResultEquality equality = new ArgResultEquality(
        state.areEqual(args[1], args[2]),
        state.areEqual(value, args[1]),
        state.areEqual(value, args[2]));
      mySameArguments.merge(expression, equality, ArgResultEquality::merge);
    }
  }
private void checkUselessCall(@NotNull DfaValue @NotNull [] args,
                         @NotNull DfaValue value,
                         @NotNull DfaMemoryState state,
                         @NotNull PsiReferenceExpression expression)