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

Unified Diff: pkg/analyzer/lib/src/plugin/engine_plugin.dart

Issue 1095113003: Convert EnginePlugin.taskDescriptors into a getter. (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
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/plugin/engine_plugin.dart
diff --git a/pkg/analyzer/lib/src/plugin/engine_plugin.dart b/pkg/analyzer/lib/src/plugin/engine_plugin.dart
index 3b1090f6d798d62d106a46dfe8cfb32ed7f4b13b..acd631855ede944932767af1e3bf0322ca6cda0d 100644
--- a/pkg/analyzer/lib/src/plugin/engine_plugin.dart
+++ b/pkg/analyzer/lib/src/plugin/engine_plugin.dart
@@ -37,6 +37,11 @@ class EnginePlugin implements Plugin {
*/
EnginePlugin();
+ /**
+ * Return a list containing all of the task descriptors that were contributed.
+ */
+ List<TaskDescriptor> get taskDescriptors => taskExtensionPoint.extensions;
+
@override
String get uniqueIdentifier => UNIQUE_IDENTIFIER;
@@ -83,13 +88,6 @@ class EnginePlugin implements Plugin {
}
/**
- * Return a list containing all of the task descriptors that were contributed.
- */
- List<TaskDescriptor> taskDescriptors() {
- return taskExtensionPoint.extensions;
- }
-
- /**
* Validate the given extension by throwing an [ExtensionError] if it is not a
* valid domain.
*/
« no previous file with comments | « pkg/analyzer/lib/src/generated/engine.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698