private List<WildAssemblyResolvedPatterns> getAllResolvedPatterns(
			String wildcardedInstruction) {
		var allValidResults = new ArrayList<WildAssemblyResolvedPatterns>();

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

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

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

		// Remove all the AssemblyParseResults that represent parse errors
		List<AssemblyParseResult> allResults = parses.stream()
				.filter(p -> !p.isError())
				.toList();

		// Try to resolve each AssemblyParseResult at address 0 and collect all the results which
		// are valid
		Address addr0 = currentLanguage.getAddressFactory().getDefaultAddressSpace().getAddress(0);

		for (AssemblyParseResult r : allResults) {
			AssemblyResolutionResults results = assembler.resolveTree(r, addr0);

			allValidResults.addAll(getValidResults(results));
		}
		return allValidResults;
	}
Use a {@link WildSleighAssembler} to assemble the given {@code wildcardedInstruction}

@param wildcardedInstruction
@return All {@link WildAssemblyResolvedPatterns} produced from the given input (e.g. All
        VALID results of assembling the given input)
Ghidra/Features/WildcardAssembler/ghidra_scripts/FindInstructionWithWildcard.java