private static Matcher buildCompiledConfiguration(@NotNull Configuration configuration, @NotNull Project project) {
    try {
      final MatchOptions matchOptions = configuration.getMatchOptions();
      final CompiledPattern compiledPattern = PatternCompiler.compilePattern(project, matchOptions, false, true);
      return (compiledPattern == null) ? null : new Matcher(project, matchOptions, compiledPattern);
    } catch (StructuralSearchException e) {
      LOG.warn("Malformed structural search inspection pattern \"" + configuration.getName() + '"', e);
      return null;
    }
  }
private static Matcher buildCompiledConfiguration(@NotNull Configuration configuration, @NotNull Project project)