private boolean isOfType ( final Matcher matcher , final String type ) { return StringUtils . containsIgnoreCase ( matcher . group ( 4 ) , type ) ; }
Returns whether the warning type is of the specified type .