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

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

Issue 1084793006: Add file missed in previous CL and comment clean-up (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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/edit/fix/fix_core.dart
diff --git a/pkg/analysis_server/lib/edit/fix/fix_core.dart b/pkg/analysis_server/lib/edit/fix/fix_core.dart
index 92a879e3a6e6946fea4b5a254e3ad6f4ade4be51..f546198da0c824de87a2901b86b370fe6858e89f 100644
--- a/pkg/analysis_server/lib/edit/fix/fix_core.dart
+++ b/pkg/analysis_server/lib/edit/fix/fix_core.dart
@@ -10,6 +10,8 @@ import 'package:analyzer/src/generated/error.dart';
/**
* A description of a single proposed fix for some problem.
+ *
+ * Clients are not expected to subtype this class.
*/
class Fix {
/**
@@ -49,6 +51,8 @@ class Fix {
* An object used to produce fixes for a specific error. Fix contributors are
* long-lived objects and must not retain any state between invocations of
* [computeFixes].
+ *
+ * Clients are expected to subtype this class when implementing plugins.
*/
abstract class FixContributor {
/**
@@ -65,6 +69,8 @@ abstract class FixContributor {
* fixes will be to remove the cast. If there are multiple unnecessary casts in
* a single file, then there will be multiple fixes, one per occurance, but they
* will all share the same kind.
+ *
+ * Clients are not expected to subtype this class.
*/
class FixKind {
/**
« no previous file with comments | « pkg/analysis_server/lib/edit/assist/assist_dart.dart ('k') | pkg/analysis_server/lib/edit/fix/fix_dart.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698