public static List<Address> toAddressList(List<InstructionMetadata> searchResults) {
		List<Address> results = new ArrayList<Address>();
		for (InstructionMetadata meta : searchResults) {
			results.add(meta.getAddr());
		}

		return results;
	}
Returns a list of {@link Address} items contained in the given {@link InstructionMetadata} 
list.

@param searchResults
@return a list of addresses indicating starting positions of matches.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/util/InstructionSearchUtils.java