DirectoryIndex (Project project) { // todo enable later when all usages will be fixed //assert !project.isDefault() : "Must not call DirectoryIndex for default project"; return project.getService(DirectoryIndex.class); }