@Override
	public void setSignatureSource(SourceType signatureSource) {
		manager.lock.acquire();
		try {
			startUpdate();
			checkDeleted();
			if (thunkedFunction != null) {
				thunkedFunction.setSignatureSource(signatureSource);
				return;
			}

			byte flags = rec.getByteValue(FunctionAdapter.FUNCTION_FLAGS_COL);
			flags &= ~FunctionAdapter.FUNCTION_SIGNATURE_SOURCE;
			flags |= FunctionAdapter.getSignatureSourceFlagBits(signatureSource);

			rec.setByteValue(FunctionAdapter.FUNCTION_FLAGS_COL, flags);
			try {
				manager.getFunctionAdapter().updateFunctionRecord(rec);
				manager.functionChanged(this, null);
			}
			catch (IOException e) {
				manager.dbError(e);
			}
		}
		finally {
			endUpdate();
			manager.lock.release();
		}
	}
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