Index: pkg/analyzer_plugin/lib/src/utilities/fixes/fixes.dart |
diff --git a/pkg/analyzer_plugin/lib/src/utilities/fixes/fixes.dart b/pkg/analyzer_plugin/lib/src/utilities/fixes/fixes.dart |
index 8c95eac2a4cc15856b74aca4933d8b6ad329b8bf..9fe9db411cb6c6f364bc20965bcb07a9cdc7f3c7 100644 |
--- a/pkg/analyzer_plugin/lib/src/utilities/fixes/fixes.dart |
+++ b/pkg/analyzer_plugin/lib/src/utilities/fixes/fixes.dart |
@@ -10,6 +10,29 @@ import 'package:analyzer_plugin/utilities/analyzer_converter.dart'; |
import 'package:analyzer_plugin/utilities/fixes/fixes.dart'; |
/** |
+ * A concrete implementation of [DartFixesRequest]. |
+ */ |
+class DartFixesRequestImpl implements DartFixesRequest { |
+ @override |
+ final ResourceProvider resourceProvider; |
+ |
+ @override |
+ final int offset; |
+ |
+ @override |
+ final List<AnalysisError> errorsToFix; |
+ |
+ @override |
+ final ResolveResult result; |
+ |
+ /** |
+ * Initialize a newly create request with the given data. |
+ */ |
+ DartFixesRequestImpl( |
+ this.resourceProvider, this.offset, this.errorsToFix, this.result); |
+} |
+ |
+/** |
* A concrete implementation of [FixCollector]. |
*/ |
class FixCollectorImpl implements FixCollector { |
@@ -37,25 +60,3 @@ class FixCollectorImpl implements FixCollector { |
fixMap.putIfAbsent(error, () => <PrioritizedSourceChange>[]).add(change); |
} |
} |
- |
-/** |
- * A concrete implementation of [FixesRequest]. |
- */ |
-class FixesRequestImpl implements FixesRequest { |
- @override |
- AnalysisError error; |
- |
- @override |
- final ResourceProvider resourceProvider; |
- |
- @override |
- final int offset; |
- |
- @override |
- final ResolveResult result; |
- |
- /** |
- * Initialize a newly create request with the given data. |
- */ |
- FixesRequestImpl(this.resourceProvider, this.offset, this.result); |
-} |