public static Assembler getAssembler(Language lang, AssemblySelector selector) {
		AssemblerBuilder b = getBuilderForLang(lang);
		return b.getAssembler(selector);
	}
Get an assembler for the given language.

<p>
Provides a suitable assembler for the given language. Only calls to its
Assembler#assembleLine() method are valid. If this is the first time a language has been
requested, this function may take some time to build the assembler. Otherwise, it returns a
cached assembler.

@param selector a method to select a single result from many
@param lang the language for which an assembler is requested
@return the assembler for the given language
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/Assemblers.java