Package com.intellij.internal.statistic.beans

Examples of com.intellij.internal.statistic.beans.UsageDescriptor


public class LivePluginUsagesCollector extends UsagesCollector {
  @NotNull @Override public Set<UsageDescriptor> getUsages(@Nullable Project project) throws CollectUsagesException {
    HashSet<UsageDescriptor> result = new HashSet<UsageDescriptor>();
    Settings settings = Settings.getInstance();
    for (Map.Entry<String, Integer> entry : settings.pluginsUsage.entrySet()) {
      result.add(new UsageDescriptor(entry.getKey(), entry.getValue()));
    }
    result.add(new UsageDescriptor("runAllPluginsOnIDEStartup", settings.runAllPluginsOnIDEStartup ? 1 : 0));
    return result;
  }
View Full Code Here

TOP

Related Classes of com.intellij.internal.statistic.beans.UsageDescriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.