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

Unified Diff: pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java

Issue 1232393005: Add notification of analyzed files (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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/tool/spec/generated/java/AnalysisServer.java
diff --git a/pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java b/pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java
index c6debb704c77061c8f778f6f05f23f0e5c15bdc5..c398e4df2b06fdac7c395a5fb4d0cbaca1bd47b7 100644
--- a/pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java
+++ b/pkg/analysis_server/tool/spec/generated/java/AnalysisServer.java
@@ -86,6 +86,9 @@ public interface AnalysisServer {
*
* Return library dependency information for use in client-side indexing and package URI
* resolution.
+ *
+ * Clients that are only using the libraries field should consider using the analyzedFiles
+ * notification instead.
*/
public void analysis_getLibraryDependencies(GetLibraryDependenciesConsumer consumer);
@@ -170,6 +173,19 @@ public interface AnalysisServer {
public void analysis_setAnalysisRoots(List<String> included, List<String> excluded, Map<String, String> packageRoots);
/**
+ * {@code analysis.setGeneralSubscriptions}
+ *
+ * Subscribe for general services (that is, services that are not specific to individual files).
+ * All previous subscriptions are replaced by the given set of services.
+ *
+ * It is an error if any of the elements in the list are not valid services. If there is an error,
+ * then the current subscriptions will remain unchanged.
+ *
+ * @param subscriptions A list of the services being subscribed to.
+ */
+ public void analysis_setGeneralSubscriptions(List<String> subscriptions);
+
+ /**
* {@code analysis.setPriorityFiles}
*
* Set the priority files to the files in the given list. A priority file is a file that is given
@@ -195,10 +211,10 @@ public interface AnalysisServer {
/**
* {@code analysis.setSubscriptions}
*
- * Subscribe for services. All previous subscriptions are replaced by the current set of
- * subscriptions. If a given service is not included as a key in the map then no files will be
- * subscribed to the service, exactly as if the service had been included in the map with an
- * explicit empty list of files.
+ * Subscribe for services that are specific to individual files. All previous subscriptions are
+ * replaced by the current set of subscriptions. If a given service is not included as a key in the
+ * map then no files will be subscribed to the service, exactly as if the service had been included
+ * in the map with an explicit empty list of files.
*
* Note that this request determines the set of requested subscriptions. The actual set of
* subscriptions at any given time is the intersection of this set with the set of files currently

Powered by Google App Engine
This is Rietveld 408576698