Java 类com.intellij.lang.parameterInfo.LanguageParameterInfo 实例源码

项目:intellij-ce-playground    文件:ShowParameterInfoHandler.java   
@Nullable
public static ParameterInfoHandler[] getHandlers(Project project, final Language... languages) {
  Set<ParameterInfoHandler> handlers = new THashSet<ParameterInfoHandler>();
  for (final Language language : languages) {
    handlers.addAll(DumbService.getInstance(project).filterByDumbAwareness(LanguageParameterInfo.INSTANCE.allForLanguage(language)));
  }
  if (handlers.isEmpty()) return null;
  return handlers.toArray(new ParameterInfoHandler[handlers.size()]);
}
项目:tools-idea    文件:ShowParameterInfoHandler.java   
@Nullable
public static ParameterInfoHandler[] getHandlers(Project project, final Language... languages) {
  Set<ParameterInfoHandler> handlers = new THashSet<ParameterInfoHandler>();
  for (final Language language : languages) {
    handlers.addAll(DumbService.getInstance(project).filterByDumbAwareness(LanguageParameterInfo.INSTANCE.allForLanguage(language)));
  }
  if (handlers.isEmpty()) return null;
  return handlers.toArray(new ParameterInfoHandler[handlers.size()]);
}
项目:consulo    文件:ShowParameterInfoHandler.java   
@Nullable
public static ParameterInfoHandler[] getHandlers(Project project, final Language... languages) {
  Set<ParameterInfoHandler> handlers = new THashSet<ParameterInfoHandler>();
  for (final Language language : languages) {
    handlers.addAll(DumbService.getInstance(project).filterByDumbAwareness(LanguageParameterInfo.INSTANCE.allForLanguage(language)));
  }
  if (handlers.isEmpty()) return null;
  return handlers.toArray(new ParameterInfoHandler[handlers.size()]);
}