PyPostfixTemplateProvider () { for (LanguageExtensionPoint point : LanguagePostfixTemplate.EP_NAME.getExtensionList()) { PyPostfixTemplateProvider provider = ObjectUtils.tryCast(point.getInstance(), PyPostfixTemplateProvider.class); if (provider != null) { return provider; } } throw new RuntimeException("PyPostfixTemplateProvider not found"); }