List<EquateReference> getReferences(long equateID, Address reference) throws IOException {
		List<EquateReference> refs = new ArrayList<>();
		long refAddr = addrMap.getKey(reference, false);
		if (refAddr == AddressMap.INVALID_ADDRESS_KEY) {
			return refs;
		}
		Field[] keys = refAdapter.getRecordKeysForAddr(refAddr);
		for (Field key : keys) {
			EquateRefDB ref = getEquateRefDB(key.getLongValue());
			if (ref.getEquateID() == equateID) {
				refs.add(ref);
			}
		}
		return refs;
	}
Constructor
@param handle database handle
@param addrMap map that converts addresses to longs and longs to addresses
@param openMode one of ProgramDB.CREATE, UPDATE, UPGRADE, or READ_ONLY
@param lock the program synchronization lock
@param monitor the progress monitor used when upgrading.
@throws VersionException if the database version doesn't match the current version.
@throws IOException if a database error occurs.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/symbol/EquateManager.java