private static LanguagePostUpgradeInstructionHandler getPostUpgradeInstructionHandler(
			Program program, Class<?> handlerClass) throws Exception {
		if (!LanguagePostUpgradeInstructionHandler.class.isAssignableFrom(handlerClass)) {
			throw new Exception(handlerClass.getName() + " must extend " +
				LanguagePostUpgradeInstructionHandler.class.getName());
		}
		Constructor<?> constructor = handlerClass.getConstructor(new Class<?>[] { Program.class });
		return (LanguagePostUpgradeInstructionHandler) constructor
				.newInstance(new Object[] { program });
	}
<code>SimpleLanguageTranslator</code> provides a simple translator which
derives its mappings from an XML translation specification file.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/SimpleLanguageTranslator.java