public static @NotNull Callbacks.Backend getDependenciesRegistrar(CompileContext context) {
    GraphConfiguration graphConfig = context.getProjectDescriptor().dataManager.getDependencyGraph();
    if (isDepGraphEnabled() && graphConfig != null) {
      BackendCallbackToGraphDeltaAdapter callback = GRAPH_DELTA_CALLBACK_KEY.get(context);
      if (callback == null) {
        GRAPH_DELTA_CALLBACK_KEY.set(context, callback = new BackendCallbackToGraphDeltaAdapter(graphConfig));
      }
      return callback;
    }

    Pair<Mappings, Callbacks.Backend> pair = MAPPINGS_DELTA_KEY.get(context);
    if (pair == null) {
      final Mappings delta = context.getProjectDescriptor().dataManager.getMappings().createDelta();
      pair = Pair.create(delta, delta.getCallback());
      MAPPINGS_DELTA_KEY.set(context, pair);
    }
    return pair.second;
  }
public static @NotNull Callbacks.Backend getDependenciesRegistrar(CompileContext context)