本文整理汇总了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());
}
示例2: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static DelegateMethodIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(DelegateMethodIndex.class);
}
示例3: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static ExtensionMethodIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(ExtensionMethodIndex.class);
}
示例4: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static TypeWithExtensionMethodsIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(TypeWithExtensionMethodsIndex.class);
}
示例5: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static TypeIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(TypeIndex.class);
}
示例6: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static MethodIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(MethodIndex.class);
}
示例7: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static TypeByQNameIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(TypeByQNameIndex.class);
}
示例8: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static AttributeListIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(AttributeListIndex.class);
}
示例9: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static EventIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(EventIndex.class);
}
示例10: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static ExtendsListIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(ExtendsListIndex.class);
}
示例11: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static MemberByAllNamespaceQNameIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(MemberByAllNamespaceQNameIndex.class);
}
示例12: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static PropertyIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(PropertyIndex.class);
}
示例13: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static MemberByNamespaceQNameIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(MemberByNamespaceQNameIndex.class);
}
示例14: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
@NotNull
public static TypeByVmQNameIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(TypeByVmQNameIndex.class);
}
示例15: getInstance
import com.intellij.psi.stubs.StubIndexExtension; //导入依赖的package包/类
public static FieldIndex getInstance()
{
return StubIndexExtension.EP_NAME.findExtension(FieldIndex.class);
}