| Index: pkg/analyzer/lib/src/plugin/options_plugin.dart
|
| diff --git a/pkg/analyzer/lib/src/plugin/options_plugin.dart b/pkg/analyzer/lib/src/plugin/options_plugin.dart
|
| index aceaf3b6815ae96b610252ce3b9476a971280d9e..f7f7bbca7104e78178349c1c961d810ab9281230 100644
|
| --- a/pkg/analyzer/lib/src/plugin/options_plugin.dart
|
| +++ b/pkg/analyzer/lib/src/plugin/options_plugin.dart
|
| @@ -14,10 +14,6 @@ import 'package:plugin/plugin.dart';
|
| /// options file.
|
| class OptionsPlugin implements Plugin {
|
| /// The simple identifier of the extension point that allows plugins to
|
| - /// register new options processors.
|
| - static const String OPTIONS_PROCESSOR_EXTENSION_POINT = 'optionsProcessor';
|
| -
|
| - /// The simple identifier of the extension point that allows plugins to
|
| /// register new options validators.
|
| static const String OPTIONS_VALIDATOR_EXTENSION_POINT = 'optionsValidator';
|
|
|
| @@ -25,17 +21,9 @@ class OptionsPlugin implements Plugin {
|
| static const String UNIQUE_IDENTIFIER = 'options.core';
|
|
|
| /// The extension point that allows plugins to register new options
|
| - /// processors.
|
| - ExtensionPoint<OptionsProcessor> optionsProcessorExtensionPoint;
|
| -
|
| - /// The extension point that allows plugins to register new options
|
| /// validators.
|
| ExtensionPoint<OptionsValidator> optionsValidatorExtensionPoint;
|
|
|
| - /// All contributed options processors.
|
| - List<OptionsProcessor> get optionsProcessors =>
|
| - optionsProcessorExtensionPoint?.extensions ?? const <OptionsProcessor>[];
|
| -
|
| /// All contributed options validators.
|
| List<OptionsValidator> get optionsValidators =>
|
| optionsValidatorExtensionPoint?.extensions ?? const <OptionsValidator>[];
|
| @@ -45,9 +33,6 @@ class OptionsPlugin implements Plugin {
|
|
|
| @override
|
| void registerExtensionPoints(RegisterExtensionPoint registerExtensionPoint) {
|
| - optionsProcessorExtensionPoint = new ExtensionPoint<OptionsProcessor>(
|
| - this, OPTIONS_PROCESSOR_EXTENSION_POINT, null);
|
| - registerExtensionPoint(optionsProcessorExtensionPoint);
|
| optionsValidatorExtensionPoint = new ExtensionPoint<OptionsValidator>(
|
| this, OPTIONS_VALIDATOR_EXTENSION_POINT, null);
|
| registerExtensionPoint(optionsValidatorExtensionPoint);
|
|
|