private static LanguageCompilerSpecPair getLanguageCompilerSpecPair(String languageIdStr,
			String compilerSpecIdStr) {
		if (languageIdStr == null) {
			return null;
		}
		LanguageService languageService = DefaultLanguageService.getLanguageService();
		try {
			LanguageID languageId = new LanguageID(languageIdStr);
			LanguageDescription descr = languageService.getLanguageDescription(languageId);
			CompilerSpecID compilerSpecId = new CompilerSpecID(compilerSpecIdStr);
			try {
				descr.getCompilerSpecDescriptionByID(compilerSpecId);
			}
			catch (CompilerSpecNotFoundException e) {
				Msg.warn(SetLanguageDialog.class, e.getMessage());
			}
			return new LanguageCompilerSpecPair(languageId, compilerSpecId);
		}
		catch (LanguageNotFoundException e) {
			Msg.warn(SetLanguageDialog.class, e.getMessage());
			return null;
		}
	}
Construct set Language/Compiler-Spec dialog
@param tool parent tool
@param lcsPair language/compiler-spec ID pair or null
@param title dialog title
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/processors/SetLanguageDialog.java