String (final File contentRoot) { for (File dir = contentRoot; dir != null; dir = dir.getParentFile()) { final String suggestion = dir.getName(); if (!ourModuleNameStopList.contains(suggestion)) { return suggestion; } } return contentRoot.getName(); }