Java 类com.intellij.lang.LanguageDocumentation 实例源码

项目:intellij-ce-playground    文件:HtmlDocumentationProvider.java   
@Nullable
private DocumentationProvider getStyleProvider() {
  if (myStyleProvider == null) {
    Language cssLanguage = Language.findLanguageByID("CSS");
    if (cssLanguage != null) {
      myStyleProvider = LanguageDocumentation.INSTANCE.forLanguage(cssLanguage);
    }
  }
  return myStyleProvider;
}