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()); }
public static DelegateMethodIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(DelegateMethodIndex.class); }
public static ExtensionMethodIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(ExtensionMethodIndex.class); }
@NotNull public static TypeWithExtensionMethodsIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(TypeWithExtensionMethodsIndex.class); }
@NotNull public static TypeIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(TypeIndex.class); }
public static MethodIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(MethodIndex.class); }
public static TypeByQNameIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(TypeByQNameIndex.class); }
@NotNull public static AttributeListIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(AttributeListIndex.class); }
@NotNull public static EventIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(EventIndex.class); }
@NotNull public static ExtendsListIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(ExtendsListIndex.class); }
public static MemberByAllNamespaceQNameIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(MemberByAllNamespaceQNameIndex.class); }
public static PropertyIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(PropertyIndex.class); }
public static MemberByNamespaceQNameIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(MemberByNamespaceQNameIndex.class); }
@NotNull public static TypeByVmQNameIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(TypeByVmQNameIndex.class); }
public static FieldIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(FieldIndex.class); }
@NotNull public static MsilExtendsListIndex getInstance() { return StubIndexExtension.EP_NAME.findExtension(MsilExtendsListIndex.class); }