Currently, PostProjectAnalysisTask.ProjectAnalysis#getDate is defined as "Date of the analysis. This date is the same as the date of the project analysis report and the snapshot." and is not nullable.
Unfortunately, the fact this date can not be null isn't true:
- this date can be missing from the report
- the report and/or this date might not be readable
This method should therefor be deprecated and a new one called getAnalysisDate, which will return an Optional<Date>.
When date is not available, method getDate will return the current date.