@Override
	public Address[] getAllAddresses(String addrString, boolean caseSensitive) {
		ArrayList<Address> loadedMemoryList = new ArrayList<>();
		ArrayList<Address> otherList = new ArrayList<>();

		for (AddressSpace space : spaces) {
			// Only parse against true physical spaces first
			if (space.isMemorySpace()) {
				try {
					Address addr = space.getAddress(addrString, caseSensitive);
					if (addr == null) {
						continue;
					}
					if (space.isNonLoadedMemorySpace()) {
						otherList.add(addr);
					}
					else if (space == defaultSpace) {
						loadedMemoryList.add(0, addr);
					}
					else {
						loadedMemoryList.add(addr);
					}
				}
				catch (AddressFormatException e) {
					//ignore
				}
			}
		}
		if (loadedMemoryList.isEmpty() && otherList.size() == 1) {
			return new Address[] { otherList.get(0) };
		}

		Address[] addrs = new Address[loadedMemoryList.size()];

		return loadedMemoryList.toArray(addrs);
	}
@see ghidra.program.model.address.AddressFactory#getAddress(java.lang.String)
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/address/DefaultAddressFactory.java