void (@Nullable Project project, @NotNull Class<?> serviceClass) { if (LightEdit.owns(project)) { LOG.error("LightEdit mode lacks tool windows, so " + serviceClass.getName() + " shouldn't be instantiated there. " + "Please change the caller to avoid loading the service in LightEdit mode!"); } }