private Map<String, List<ActiveRuleType>> initializeAllActiveViolationTypes() {
    Map<String, List<ActiveRuleType>> activeViolationTypes =
        new HashMap<String, List<ActiveRuleType>>();

    for (String programmingLanguage : analsyseService.getAvailableLanguages()) {
      List<ActiveRuleType> activeRuleTypes = new ArrayList<ActiveRuleType>();
      activeViolationTypes.put(programmingLanguage, activeRuleTypes);

      for (List<RuleType> ruleTypes : ruletypesfactory.getRuleTypes(programmingLanguage).values()) {

        for (RuleType ruleType : ruleTypes) {
          ActiveRuleType activeRuleType = initializeActiveViolationTypes(ruleType);
          activeRuleTypes.add(activeRuleType);

          for (RuleType exceptionRuleType : ruleType.getExceptionrules()) {
            try {
              containsRuleType(activeRuleTypes, exceptionRuleType.getKey());
              activeRuleTypes.add(initializeActiveViolationTypes(exceptionRuleType));
            } catch (RuntimeException e) {

            }
          }
        }
      }
    }
    return activeViolationTypes;
  }
 public void initializeDefaultSeverities() {
   for (String programmingLanguage : analsyseService.getAvailableLanguages()) {
     severitiesPerTypePerProgrammingLanguage.putAll(
         initializeDefaultSeverityForLanguage(programmingLanguage));
     defaultSeveritiesPerTypePerProgrammingLanguage.putAll(
         initializeDefaultSeverityForLanguage(programmingLanguage));
   }
 }