docs: Collection<EdgeIteratorState> addBarrierEdge(long fromId, long toId, IntsRef inEdgeFlags, long nodeFlags, long wayOsmId) {
          IntsRef edgeFlags = IntsRef.deepCopyOf(inEdgeFlags);
          // clear blocked directions from flags
          for (BooleanEncodedValue accessEnc : encodingManager.getAccessEncFromNodeFlags(nodeFlags)) {
              accessEnc.setBool(false, edgeFlags, false);
              accessEnc.setBool(true, edgeFlags, false);
          }
          // add edge
          barrierNodeIds.clear();
          barrierNodeIds.add(fromId);
          barrierNodeIds.add(toId);
          return addOSMWay(barrierNodeIds, edgeFlags, wayOsmId);
      }