当前位置: 首页>>代码示例>>Java>>正文


Java StubIndexExtension类代码示例

本文整理汇总了Java中com.intellij.psi.stubs.StubIndexExtension的典型用法代码示例。如果您正苦于以下问题:Java StubIndexExtension类的具体用法?Java StubIndexExtension怎么用?Java StubIndexExtension使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


StubIndexExtension类属于com.intellij.psi.stubs包,在下文中一共展示了StubIndexExtension类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: ApplicationEnvironment

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public ApplicationEnvironment(CoreApplicationEnvironment appEnvironment) {
  appEnvironment.registerFileType(PropertiesFileType.INSTANCE, "properties");
  appEnvironment.addExplicitExtension(SyntaxHighlighterFactory.LANGUAGE_FACTORY, PropertiesLanguage.INSTANCE,
                                      new PropertiesSyntaxHighlighterFactory());
  appEnvironment.addExplicitExtension(LanguageParserDefinitions.INSTANCE, PropertiesLanguage.INSTANCE, new PropertiesParserDefinition());
  appEnvironment.addExtension(FileBasedIndexExtension.EXTENSION_POINT_NAME, new XmlPropertiesIndex());
  appEnvironment.addExtension(StubIndexExtension.EP_NAME, new PropertyKeyIndex());

  appEnvironment.registerApplicationService(PropertiesQuickFixFactory.class, new EmptyPropertiesQuickFixFactory());
  appEnvironment.registerApplicationService(PropertiesRefactoringSettings.class, new PropertiesRefactoringSettings());
  appEnvironment.addExplicitExtension(LanguageAnnotators.INSTANCE, PropertiesLanguage.INSTANCE, new PropertiesAnnotator());
  appEnvironment.addExplicitExtension(LanguageFindUsages.INSTANCE, PropertiesLanguage.INSTANCE, new PropertiesFindUsagesProvider());

  appEnvironment.addExplicitExtension(LanguageASTFactory.INSTANCE, PropertiesLanguage.INSTANCE, new PropertiesASTFactory());
  appEnvironment.addExplicitExtension(LanguageFolding.INSTANCE, PropertiesLanguage.INSTANCE, new PropertiesFoldingBuilder());
  appEnvironment.addExplicitExtension(ElementManipulators.INSTANCE, PropertyImpl.class, new PropertyManipulator());
  appEnvironment.addExplicitExtension(ElementManipulators.INSTANCE, PropertyKeyImpl.class, new PropertyKeyManipulator());
  appEnvironment.addExplicitExtension(ElementManipulators.INSTANCE, PropertyValueImpl.class, new PropertyValueManipulator());

  final StubElementTypeHolderEP stubElementTypeHolderBean = new StubElementTypeHolderEP();
  stubElementTypeHolderBean.holderClass = PropertiesElementTypes.class.getName();
  appEnvironment.addExtension(StubElementTypeHolderEP.EP_NAME, stubElementTypeHolderBean);

  appEnvironment.addExplicitExtension(LanguageCommenters.INSTANCE, PropertiesLanguage.INSTANCE, new PropertiesCommenter());
  appEnvironment.addExplicitExtension(IdIndexers.INSTANCE, PropertiesFileType.INSTANCE, new PropertiesIdIndexer());
  appEnvironment.addExplicitExtension(TodoIndexers.INSTANCE, PropertiesFileType.INSTANCE, new PropertiesTodoIndexer());

  appEnvironment.addExtension(IconProvider.EXTENSION_POINT_NAME, new XmlPropertiesIconProvider());
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:30,代码来源:PropertiesCoreEnvironment.java

示例2: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static DelegateMethodIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(DelegateMethodIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:5,代码来源:DelegateMethodIndex.java

示例3: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static ExtensionMethodIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(ExtensionMethodIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:5,代码来源:ExtensionMethodIndex.java

示例4: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static TypeWithExtensionMethodsIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(TypeWithExtensionMethodsIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:6,代码来源:TypeWithExtensionMethodsIndex.java

示例5: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static TypeIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(TypeIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:6,代码来源:TypeIndex.java

示例6: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static MethodIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(MethodIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:5,代码来源:MethodIndex.java

示例7: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static TypeByQNameIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(TypeByQNameIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:5,代码来源:TypeByQNameIndex.java

示例8: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static AttributeListIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(AttributeListIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:6,代码来源:AttributeListIndex.java

示例9: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static EventIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(EventIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:6,代码来源:EventIndex.java

示例10: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static ExtendsListIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(ExtendsListIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:6,代码来源:ExtendsListIndex.java

示例11: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static MemberByAllNamespaceQNameIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(MemberByAllNamespaceQNameIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:5,代码来源:MemberByAllNamespaceQNameIndex.java

示例12: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static PropertyIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(PropertyIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:5,代码来源:PropertyIndex.java

示例13: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static MemberByNamespaceQNameIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(MemberByNamespaceQNameIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:5,代码来源:MemberByNamespaceQNameIndex.java

示例14: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static TypeByVmQNameIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(TypeByVmQNameIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:6,代码来源:TypeByVmQNameIndex.java

示例15: getInstance

import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static FieldIndex getInstance()
{
	return StubIndexExtension.EP_NAME.findExtension(FieldIndex.class);
}
 
开发者ID:consulo,项目名称:consulo-csharp,代码行数:5,代码来源:FieldIndex.java


注:本文中的com.intellij.psi.stubs.StubIndexExtension类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。