ModuleConfigurationEditor[] (ModuleConfigurationState state) { Module module = state.getCurrentRootModel().getModule(); ModuleType<?> moduleType = ModuleType.get(module); if (!(moduleType instanceof JavaModuleType) && (!GeneralModuleType.INSTANCE.equals(moduleType) || ProjectRootManager.getInstance(state.getProject()).getProjectSdk() == null)) { return ModuleConfigurationEditor.EMPTY; } String moduleName = module.getName(); List<ModuleConfigurationEditor> editors = new ArrayList<>(); editors.add(new ContentEntriesEditor(moduleName, state)); editors.add(new OutputEditor(state)); editors.add(new ClasspathEditor(state)); return editors.toArray(ModuleConfigurationEditor.EMPTY); }