boolean (ExtensionPoint extensionPoint) { final String extensionBeanClass = extensionPoint.getBeanClass().getStringValue(); return PsiReferenceContributorEP.class.getName().equals(extensionBeanClass) || PsiReferenceProviderBean.class.getName().equals(extensionBeanClass) || IntentionActionBean.class.getName().equals(extensionBeanClass) || InheritanceUtil.isInheritor(extensionPoint.getBeanClass().getValue(), LanguageExtensionPoint.class.getName()); }