Fine. Use 'withFineDependencies: true' in analysis_server_plugin/ and analyzer_plugin/.

Change-Id: If27c37c311afd5647fc1e4e741816ced5c9b576f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/462221
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
diff --git a/pkg/analysis_server_plugin/lib/src/plugin_server.dart b/pkg/analysis_server_plugin/lib/src/plugin_server.dart
index c476e2b..155997b 100644
--- a/pkg/analysis_server_plugin/lib/src/plugin_server.dart
+++ b/pkg/analysis_server_plugin/lib/src/plugin_server.dart
@@ -699,6 +699,7 @@
           ({required AnalysisOptionsImpl analysisOptions}) => analysisOptions
             ..warning = false
             ..lint = false,
+      withFineDependencies: true,
     );
     _contextCollection = contextCollection;
     await _analyzeAllFilesInContextCollection(
diff --git a/pkg/analysis_server_plugin/test/single_unit.dart b/pkg/analysis_server_plugin/test/single_unit.dart
index 9e998e2..a50d30e 100644
--- a/pkg/analysis_server_plugin/test/single_unit.dart
+++ b/pkg/analysis_server_plugin/test/single_unit.dart
@@ -165,6 +165,7 @@
       includedPaths: _collectionIncludedPaths.map(convertPath).toList(),
       resourceProvider: resourceProvider,
       sdkPath: _sdkRoot.path,
+      withFineDependencies: true,
     );
 
     _addAnalyzedFilesToDrivers();
diff --git a/pkg/analyzer_plugin/lib/plugin/plugin.dart b/pkg/analyzer_plugin/lib/plugin/plugin.dart
index fd92c8d..ac60d8c 100644
--- a/pkg/analyzer_plugin/lib/plugin/plugin.dart
+++ b/pkg/analyzer_plugin/lib/plugin/plugin.dart
@@ -254,6 +254,7 @@
       byteStore: _byteStore,
       sdkPath: _sdkPath,
       fileContentCache: FileContentCache(resourceProvider),
+      withFineDependencies: true,
     );
     _contextCollection = contextCollection;
     await afterNewContextCollection(contextCollection: contextCollection);
diff --git a/pkg/analyzer_plugin/test/support/abstract_context.dart b/pkg/analyzer_plugin/test/support/abstract_context.dart
index 5370a15..28cfc5f 100644
--- a/pkg/analyzer_plugin/test/support/abstract_context.dart
+++ b/pkg/analyzer_plugin/test/support/abstract_context.dart
@@ -172,6 +172,7 @@
       includedPaths: collectionIncludedPaths.map(convertPath).toList(),
       resourceProvider: resourceProvider,
       sdkPath: sdkRoot.path,
+      withFineDependencies: true,
     );
   }
 }