List<JsonSchemaFileProvider> (@NotNull List<JsonSchemaProviderFactory> factories) { List<JsonSchemaFileProvider> providers = new ArrayList<>(); for (JsonSchemaProviderFactory factory : factories) { try { providers.addAll(factory.getProviders(myProject)); } catch (ProcessCanceledException e) { throw e; } catch (Exception e) { PluginException.logPluginError(Logger.getInstance(JsonSchemaService.class), e.toString(), e, factory.getClass()); } } return providers; }