docs: private static Multimap<Writer, Writer> writerDependencies(
              Multimap<Writer, Variable> writerToVar,
              Multimap<Variable, Writer> varToWriter
      ) {
          Multimap<Writer, Writer> dependency = HashMultimap.create();
  
          for (Map.Entry<Writer, Variable> entry : writerToVar.entries()) {
              Writer dependant = entry.getKey();
              Variable intermediateVar = entry.getValue();
  
              for (Writer depended : varToWriter.get(intermediateVar)) {
                  dependency.put(dependant, depended);
              }
          }
  
          return dependency;
      }