boolean (@NotNull RunnerAndConfigurationSettings settings, @Nullable RunContentDescriptor descriptor) { RunConfiguration runConfiguration = settings.getConfiguration(); return runConfiguration instanceof SingleClassConfiguration || (runConfiguration instanceof CommonJavaRunConfigurationParameters && runConfiguration instanceof ModuleBasedConfiguration && ((ModuleBasedConfiguration<?, ?>)runConfiguration).getConfigurationModule() instanceof JavaRunConfigurationModule); }