/**
  * Sets regexp pattern for ignored strings.
  *
  * @param aIgnoreStringsRegexp regexp pattern for ignored strings
  */
 public void setIgnoreStringsRegexp(String aIgnoreStringsRegexp) {
   if ((aIgnoreStringsRegexp != null) && (aIgnoreStringsRegexp.length() > 0)) {
     mPattern = Utils.getPattern(aIgnoreStringsRegexp);
   } else {
     mPattern = null;
   }
 }
 @Override
 protected void postprocessHeaderLines() {
   final List<String> headerLines = getHeaderLines();
   mHeaderRegexps.clear();
   for (String line : headerLines) {
     try {
       // TODO: Not sure if cache in Utils is still necessary
       mHeaderRegexps.add(Utils.getPattern(line));
     } catch (final PatternSyntaxException ex) {
       throw new ConversionException(
           "line "
               + (mHeaderRegexps.size() + 1)
               + " in header specification"
               + " is not a regular expression");
     }
   }
 }
 /**
  * Set the check class pattern.
  *
  * @param aChecks regular expression for filtered check classes.
  */
 public void setChecks(final String aChecks) {
   mCheckPattern = aChecks;
   mCheckRegexp = Utils.getPattern(aChecks);
 }
 /**
  * Constructs a <code>SuppressElement</code> for a file name pattern. Must either call {@link
  * #setColumns(String)} or {@link #setModuleId(String)} before using this object.
  *
  * @param aFiles regular expression for names of filtered files.
  * @throws PatternSyntaxException if there is an error.
  */
 public SuppressElement(String aFiles) throws PatternSyntaxException {
   mFilePattern = aFiles;
   mFileRegexp = Utils.getPattern(aFiles);
 }