@Nullable
  @Override
  public XReferrersProvider getReferrersProvider() {
    return new XReferrersProvider() {
      @Override
      public XValue getReferringObjectsValue() {
        ReferringObjectsProvider provider = ReferringObjectsProvider.BASIC_JDI;

        if (DebuggerSettings.getInstance().ENABLE_MEMORY_AGENT) {
          provider = new MemoryAgentPathsToClosestGCRootsProvider(
            MemoryAgent.DEFAULT_GC_ROOTS_PATHS_LIMIT,
            MemoryAgent.DEFAULT_GC_ROOTS_OBJECTS_LIMIT,
            provider
          );
        }

        return new JavaReferringObjectsValue(JavaValue.this, provider, null);
      }
    };
  }
@Nullable
  @Override
  public XReferrersProvider getReferrersProvider()