@Override
	public Set<FunctionTag> getTags() {

		// Don't go the database to retrieve tags unless absolutely necessary. The local
		// cache will have the current tag state unless tags have been deleted or edited; in
		// those cases the validity check will fail and we'll be forced to go back to
		// the db.
		manager.lock.acquire();

		try {

			if (checkIsValid() && tags != null) {
				return tags;
			}

			// Get a list of all tag records that map to our function.
			FunctionTagManagerDB tagManager =
				(FunctionTagManagerDB) manager.getFunctionTagManager();
			tags = tagManager.getFunctionTagsByFunctionID(getID());
		}
		catch (IOException e) {
			manager.dbError(e);
		}
		finally {
			manager.lock.release();
		}
		return tags;

	}
Sets the indicated function flag to true or false.

@param functionFlagIndicator
           the function flag from the FunctionAdapter class (i.e.
           FunctionAdapter.FUNCTION_VARARG_FLAG,
           FunctionAdapter.FUNCTION_INLINE_FLAG,
           FunctionAdapter.FUNCTION_NO_RETURN_FLAG,
           FunctionAdapter.FUNCTION_CUSTOM_PARAM_STORAGE_FLAG)
@param shouldBeSet
           true means the indicated flag should be set.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.java