Set<FunctionTag> getFunctionTagsByFunctionID(long functionId) throws IOException {
		Set<FunctionTag> tags = new HashSet<>();
		RecordIterator functionRecords =
			functionTagMappingAdapter.getRecordsByFunctionID(functionId);

		while (functionRecords.hasNext()) {
			DBRecord mappingRecord = functionRecords.next();
			DBRecord tagRecord = functionTagAdapter
					.getRecord(mappingRecord.getLongValue(FunctionTagMappingAdapter.TAG_ID_COL));
			tags.add(getFunctionTagFromCache(tagRecord));
		}
		return tags;
	}
Returns all function tags associated with the given function id.

@param functionId the function id
@return the tags
@throws IOException if there is an issue reading from the db
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionTagManagerDB.java