code: private boolean isOfType(final Matcher matcher, final String type) {
          return StringUtils.containsIgnoreCase(matcher.group(4), type);
      }
docs: Returns whether the warning type is of the specified type.
  
  @param matcher
  the matcher
  @param type
  the type to match with
  @return <code>true</code> if the warning type is of the specified type