this.detectorList = detectorList.toArray(new Detector[detectorList.size()]);
this.detectorList = detectorList.toArray(new Detector2[detectorList.size()]);
	public void createDetectors(BugReporter bugReporter) {		ArrayList<Detector> detectorList = new ArrayList<Detector>();		for (DetectorFactory factory : orderedFactoryList) {			detectorList.add(factory.create(bugReporter));		}		this.detectorList = detectorList.toArray(new Detector[detectorList.size()]);	}