@Override
	public LoadSpec choose(LoaderMap loaderMap) {

		return loaderMap.values()
				.stream()
				.flatMap(loadSpec -> loadSpec.stream())
				.filter(
					loadSpec -> loadSpec != null && loadSpec.getLanguageCompilerSpec() != null &&
						loadSpec.getLanguageCompilerSpec().compilerSpecID.equals(compilerSpecID))
				.findFirst()
				.orElse(null);
	}
Creates a new {@link CsHintLoadSpecChooser}

@param compilerSpecID The {@link CompilerSpecID} to use (should not be null)
Ghidra/Features/Base/src/main/java/ghidra/app/util/importer/CsHintLoadSpecChooser.java