blob: 63fbada7a4e8a9bf63d7d0b83316fe3a3c741820 [file] [log] [blame]
// Copyright (c) 2024, 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:analyzer/diagnostic/diagnostic.dart';
import 'package:analyzer_plugin/utilities/fixes/fixes.dart';
/// Provides context information for [FixContributor]s.
///
/// Clients may not extend, implement or mix-in this class.
abstract interface class FixContext {
/// The diagnostic to fix.
Diagnostic get diagnostic;
@Deprecated("Use 'diagnostic' instead")
Diagnostic get error;
}