private List<AssemblyResolution> getAllAssemblyResolutions(
			String wildcardedInstruction) {

		SleighLanguage language = (SleighLanguage) currentProgram.getLanguage();

		// Make sure that if one of the example instructions was chosen the current binary has the
		// correct architecture.
		if (sampleInstructions.contains(wildcardedInstruction) &&
			!language.getLanguageID().toString().equals("x86:LE:64:default")) {
			popup("""
					The current program is not a \"x86:LE:64:default\" binary that the example was \
					designed for. This script will continue and try anyway, but the results might \
					not be as expected. Retry with a custom instruction in your architecture!""");
		}

		// Create a WildSleighAssembler that we'll use to assemble our wildcard-included instruction
		WildSleighAssemblerBuilder assemblerBuilder = new WildSleighAssemblerBuilder(language);
		WildSleighAssembler assembler =
			assemblerBuilder.getAssembler(new AssemblySelector(), currentProgram);

		// Parse a single line of assembly which includes a wildcard.
		Collection<AssemblyParseResult> parses = assembler.parseLine(wildcardedInstruction);

		long errorCount = parses.stream().filter(p -> p.isError()).count();
		println("Removing " + errorCount + " of " + parses.size() +
			" AssemblyParseResults which are errored parses");

		return parses
				.stream()
				// Remove all the AssemblyParseResults that represent parse errors
				.filter(p -> !p.isError())
				// Resolve each parseTree at the current address and collect all AssemblyResolutions
				// into a single flat collection using flatMap
				.flatMap(p -> assembler.resolveTree(p, currentAddress).stream())
				.collect(Collectors.toList());
	}
Use a {@link WildSleighAssembler} to assemble the given {@code wildcardedInstruction}

@param wildcardedInstruction String of the instruction to assemble, possibly including a
           wildcard
@return All AssemblyParseResult produced from the given input
Ghidra/Features/WildcardAssembler/ghidra_scripts/WildSleighAssemblerInfo.java