143e5ef556
This basically reverts https://dart-review.googlesource.com/c/sdk/+/103921 because internally IntelliJ does not provide module dependencies yet. Change-Id: I7717b2841bf3d6391b991875a594c6df9e246ff1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106482 Reviewed-by: Ari Aye <ariaye@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
25 lines
824 B
Dart
25 lines
824 B
Dart
// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'package:analysis_server/plugin/edit/fix/fix_core.dart';
|
|
import 'package:analyzer/dart/analysis/results.dart';
|
|
import 'package:analyzer_plugin/utilities/change_builder/change_workspace.dart';
|
|
|
|
/**
|
|
* An object used to provide context information for [DartFixContributor]s.
|
|
*
|
|
* Clients may not extend, implement or mix-in this class.
|
|
*/
|
|
abstract class DartFixContext implements FixContext {
|
|
/**
|
|
* The resolution result in which fix operates.
|
|
*/
|
|
ResolvedUnitResult get resolveResult;
|
|
|
|
/**
|
|
* The workspace in which the fix contributor operates.
|
|
*/
|
|
ChangeWorkspace get workspace;
|
|
}
|