docs: public static ImmutableList<Fix> fixesByReplacingExpressionWithMethodParameter(
        ExpressionTree input, Predicate<JCVariableDecl> validParameterPredicate, VisitorState state) {
      Preconditions.checkState(input.getKind() == IDENTIFIER || input.getKind() == MEMBER_SELECT);
  
      // find a method parameter matching the input predicate and similar name and suggest it
      // as the new argument
      Multimap<Integer, JCVariableDecl> potentialReplacements =
          ASTHelpers.findEnclosingNode(state.getPath(), JCMethodDecl.class).getParameters().stream()
              .filter(validParameterPredicate)
              .collect(collectByEditDistanceTo(simpleNameOfIdentifierOrMemberAccess(input)));
  
      return buildValidReplacements(
          potentialReplacements, var -> SuggestedFix.replace(input, var.sym.toString()));
    }