| Index: pkg/analysis_services/lib/src/refactoring/refactoring.dart
|
| diff --git a/pkg/analysis_services/lib/src/refactoring/refactoring.dart b/pkg/analysis_services/lib/src/refactoring/refactoring.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d65761f330bd6da30690a30d174dbd742cccd2e5
|
| --- /dev/null
|
| +++ b/pkg/analysis_services/lib/src/refactoring/refactoring.dart
|
| @@ -0,0 +1,27 @@
|
| +// Copyright (c) 2014, 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.
|
| +
|
| +// This code was auto-generated, is not intended to be edited, and is subject to
|
| +// significant change. Please see the README file for more information.
|
| +
|
| +library services.src.refactoring;
|
| +
|
| +import 'package:analysis_services/correction/status.dart';
|
| +import 'package:analysis_services/refactoring/refactoring.dart';
|
| +
|
| +
|
| +/**
|
| + * Abstract implementation of {@link Refactoring}.
|
| + */
|
| +abstract class RefactoringImpl implements Refactoring {
|
| + @override
|
| + RefactoringStatus checkAllConditions() {
|
| + RefactoringStatus result = new RefactoringStatus();
|
| + result.addStatus(checkInitialConditions());
|
| + if (!result.hasFatalError) {
|
| + result.addStatus(checkFinalConditions());
|
| + }
|
| + return result;
|
| + }
|
| +}
|
|
|