throw new ConfigurationException("analyzer " + id
+ " doesn't exist");
}
if (analyzer instanceof ConfigurableAnalyzer) {
ConfigurableAnalyzer confAnalyzer = ((ConfigurableAnalyzer) analyzer);
if (confAnalyzer.enableCheckFile()) {
confAnalyzer.reconfigure();
}
}
return analyzer;
}