docs: private CategoryAndPriority getCategoryAndPriority(final String message) { // NOPMD
          if (message.startsWith("Found an undeclared symbol")) {
              return CategoryAndPriority.UNDECLARED_SYMBOL;
          }
          if (message.startsWith("Try to use a single 'var' statement per scope")) {
              return CategoryAndPriority.USE_SINGLE_VAR;
          }
          if (message.startsWith("Using JScript conditional comments is not recommended")) {
              return CategoryAndPriority.USE_JSCRIPT;
          }
          if (message.startsWith("Using 'eval' is not recommended")) {
              return CategoryAndPriority.USE_EVAL;
          }
          if (message.startsWith("Using 'with' is not recommended")) {
              return CategoryAndPriority.USE_WITH;
          }
          if (UNUSED_SYMBOL_PATTERN.matcher(message).matches()) {
              return CategoryAndPriority.UNUSED_SYMBOL;
          }
          if (UNUSED_VARIABLE_PATTERN.matcher(message).matches()) {
              return CategoryAndPriority.DUPLICATE_VAR;
          }
          if (UNUSED_FUNCTION_PATTERN.matcher(message).matches()) {
              return CategoryAndPriority.DUPLICATE_FUN;
          }
          if (INVALID_HINT_PATTERN.matcher(message).matches()) {
              return CategoryAndPriority.INVALID_HINT;
          }
          if (UNSUPPORTED_HINT_PATTERN.matcher(message).matches()) {
              return CategoryAndPriority.UNSUPPORTED_HINT;
          }
          if (UNKNOWN_HINT_PATTERN.matcher(message).matches()) {
              return CategoryAndPriority.UNKNOWN_HINT;
          }
          if (PRINT_SYMBOL_PATTERN.matcher(message).matches()) {
              return CategoryAndPriority.PRINT_SYMBOL;
          }
          return CategoryAndPriority.UNKNOWN;
      }