docs: public static SuggestedFix renameMethodInvocation(
        MethodInvocationTree tree, String replacement, VisitorState state) {
      Tree methodSelect = tree.getMethodSelect();
      int startPos;
      String extra = "";
      if (methodSelect instanceof MemberSelectTree) {
        startPos = state.getEndPosition(((MemberSelectTree) methodSelect).getExpression());
        extra = ".";
      } else if (methodSelect instanceof IdentifierTree) {
        startPos = ((JCTree) tree).getStartPosition();
      } else {
        return SuggestedFix.builder().build();
      }
      int endPos = state.getEndPosition(methodSelect);
      return SuggestedFix.replace(startPos, endPos, extra + replacement);
    }