class AnalysisReportScreen implements IsWidget {

    public void showReport(final AnalysisReport report) {
        LOGGER.finest("Received report for: " + report.getPlace().getPath());

        if (!report.getPlace().equals(currentPlace)) {
            return;
        }

        view.showStatusComplete();

        final List<Issue> issues = getIssues(report);
        final boolean isIllegalState = issues.stream()
                .filter(issue -> Objects.equals(issue.getCheckType(),
                                                CheckType.ILLEGAL_VERIFIER_STATE))
                .count() > 0;
        if (isIllegalState) {
            view.hideProgressStatus();
        }

        dataProvider.setList(issues);

        if (dataProvider.getList().isEmpty()) {
            fireIssueSelectedEvent(Issue.EMPTY);
            view.clearIssue();
        } else {
            final Issue issue = dataProvider.getList().get(0);
            onSelect(issue);
        }
    }

    public  AnalysisReportScreen();
    @Inject public  AnalysisReportScreen(final AnalysisReportScreenView view,
                                final Event<IssueSelectedEvent> issueSelectedEvent);

}