docs: private static Optional<Fix> linkedListFix(Tree tree, VisitorState state) {
      Type type = getTargetType(state);
      if (type == null) {
        return Optional.empty();
      }
      Types types = state.getTypes();
      for (String replacement : ImmutableList.of("java.util.ArrayList", "java.util.ArrayDeque")) {
        Symbol sym = state.getSymbolFromString(replacement);
        if (sym == null) {
          continue;
        }
        if (types.isAssignable(types.erasure(sym.asType()), types.erasure(type))) {
          SuggestedFix.Builder fix = SuggestedFix.builder();
          while (tree instanceof ParameterizedTypeTree) {
            tree = ((ParameterizedTypeTree) tree).getType();
          }
          fix.replace(tree, SuggestedFixes.qualifyType(state, fix, sym));
          return Optional.of(fix.build());
        }
      }
      return Optional.empty();
    }