private void putOne(final ScopeToolState state) {
      if (!state.isEnabled()) {
        return;
      }
      final Icon icon = state.getLevel().getIcon();
      final String scopeName = state.getScopeName();
      if (icon instanceof HighlightDisplayLevelColoredIcon) {
        final SeverityAndOccurrences severityAndOccurrences = myScopeToAverageSeverityMap.get(scopeName);
        final String inspectionName = state.getTool().getShortName();
        if (severityAndOccurrences == null) {
          myScopeToAverageSeverityMap.put(scopeName, new SeverityAndOccurrences().incOccurrences(inspectionName, state.getLevel().getSeverity()));
        }
        else {
          severityAndOccurrences.incOccurrences(inspectionName, state.getLevel().getSeverity());
        }
      }
    }
private void putOne(final ScopeToolState state)