protected AssemblyResolutionResults selectContext(AssemblyResolutionResults temp) {
		RP ctx = factory.contextOnly(context, "Selecting context");
		return temp.apply(factory, rp -> {
			AssemblyResolution check = rp.combine(ctx);
			if (null == check) {
				return factory.newErrorBuilder()
						.error("Incompatible context")
						.description("resolving")
						.children(List.of(rp))
						.build();
			}
			return check;
		});
	}
Filter out results whose context do not match that requested

@param temp the results whose contexts have not yet been checked
@return the results that pass. Those that do not are replaced with errors.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/sem/AbstractAssemblyTreeResolver.java