ModuleConfigurationEditor[] (final ModuleConfigurationState state) { final Module module = state.getCurrentRootModel().getModule(); if (!(ModuleType.get(module) instanceof PythonModuleType)) return ModuleConfigurationEditor.EMPTY; final DefaultModuleConfigurationEditorFactory editorFactory = DefaultModuleConfigurationEditorFactory.getInstance(); final List<ModuleConfigurationEditor> editors = new ArrayList<>(); editors.add(new PyContentEntriesEditor(module, state, false, JavaSourceRootType.SOURCE)); editors.add(editorFactory.createClasspathEditor(state)); return editors.toArray(ModuleConfigurationEditor.EMPTY); }