List results = new ArrayList();
public void analyze(Configuration cfg) {
ServiceRegistryBuilder builder = new ServiceRegistryBuilder();
builder.applySettings(cfg.getProperties());
ServiceRegistry serviceRegistry = builder.buildServiceRegistry();
Settings settings = cfg.buildSettings(serviceRegistry);
for (int i = 0; i < detectors.length; i++) {
detectors[i].initialize( cfg, settings );
detectors[i].visit(cfg, this);