BaseLibrariesConfigurable (@NotNull ProjectStructureConfigurable projectStructureConfigurable, @NotNull String tableLevel) { if (tableLevel.equals(LibraryTablesRegistrar.PROJECT_LEVEL)) { return projectStructureConfigurable.getProjectLibrariesConfigurable(); } else { return projectStructureConfigurable.getGlobalLibrariesConfigurable(); } }