if(countsBySeverity.containsKey(issue.severity())) {
countsBySeverity.get(issue.severity()).add(1);
}else{
countsBySeverity.put(issue.severity(), new IntWrapper(1));
}
Severity severity = Severity.valueOf(issue.severity().toUpperCase());
Set<Rule> set = rulesBySeverity.get(severity);
if(set == null) {
set=new HashSet<>();
rulesBySeverity.put(severity, set);
}