boolean (@NotNull VirtualFile file, @NotNull Object container, @Nullable Object containerProvider) { if (!file.isValid()) { if (containerProvider != null) { Class<?> providerClass = containerProvider.getClass(); PluginException.logPluginError(LOG, "Invalid root " + file + " in " + container + " provided by " + providerClass, null, providerClass); } else { LOG.error("Invalid root " + file + " in " + container); } return false; } return true; }