File (ConnectionParameters connectionParameters) { return (new BuildLayoutFactory()).getLayoutFor( connectionParameters.getProjectDir(), connectionParameters.isSearchUpwards() != null ? connectionParameters.isSearchUpwards() : true).getRootDirectory(); }