private List<ConditionTester> getConditionTests(Program program) {
		List<ConditionTester> list = new ArrayList<ConditionTester>();

		List<Class<? extends PostAnalysisValidator>> validatorClasses =
			ClassSearcher.getClasses(PostAnalysisValidator.class);
		for (Class<? extends PostAnalysisValidator> validatorClass : validatorClasses) {
			try {
				Constructor<? extends PostAnalysisValidator> ctor =
					validatorClass.getConstructor(Program.class);
				PostAnalysisValidator validator = ctor.newInstance(program);
				list.add(validator);
			}
			catch (Exception e) {
				Msg.error(this, "error including PostAnalysisValidator " + validatorClass, e);
			}
		}
		return list;
	}
Display a pop-up dialog to run PostAnalysisValidator tests on the Program
that is currently open in the tool.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/validator/ValidateProgramPlugin.java