boolean isTrainingDetector = factory.isDetectorClassSubtypeOf(TrainingDetector.class);
boolean isTrainingDetector = factory.isDetectorClassSubtypeOf(TrainingDetector.class) || (emitTrainingOutput && factory.getFullName().equals("edu.umd.cs.findbugs.detect.NoteCheckReturnValue"));
	private boolean isDetectorEnabled(DetectorFactory factory) {		if (!factory.getPlugin().isEnabled())			return false;				if (!userPreferences.isDetectorEnabled(factory))			return false;				if (!factory.isEnabledForCurrentJRE())			return false;				// Slow first pass detectors are usually disabled, but may be explicitly enabled		if (!runSlowFirstPassDetectors				&& factory.isDetectorClassSubtypeOf(SlowFirstPassDetector.class))			return false;		// Training detectors are enabled if, and only if, we are emitting training output		boolean isTrainingDetector = factory.isDetectorClassSubtypeOf(TrainingDetector.class);		if (isTrainingDetector != emitTrainingOutput)			return false;				return true;	}