WebBrowser (@NotNull BrowserFamily family) { WebBrowser result = getFirstBrowserOrNull(family); if (result == null) { throw new IllegalStateException("Must be at least one browser per family"); } return result; }