Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart

Issue 2894403003: Convert quick fix support to use AnalysisDriver (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart
diff --git a/pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart b/pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart
index 12ec326ad2a288a3a54f795623ef65cebd6bad8d..728875a9bd04d5cfa684bebbf629723acbd7c7ee 100644
--- a/pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart
+++ b/pkg/analysis_server/lib/plugin/edit/fix/fix_core.dart
@@ -6,7 +6,7 @@ import 'dart:async';
import 'package:analyzer/error/error.dart';
import 'package:analyzer/file_system/file_system.dart';
-import 'package:analyzer/src/generated/engine.dart';
+import 'package:analyzer/src/dart/analysis/driver.dart';
import 'package:analyzer_plugin/protocol/protocol_common.dart'
show SourceChange;
@@ -57,9 +57,9 @@ class Fix {
*/
abstract class FixContext {
/**
- * The [AnalysisContext] to get fixes in.
+ * The analysis driver used to access analysis results.
*/
- AnalysisContext get analysisContext;
+ AnalysisDriver get analysisDriver;
/**
* The error to fix, should be reported in the given [analysisContext].

Powered by Google App Engine
This is Rietveld 408576698