@Override
	public boolean applyTo(Program program) {
		FunctionManager functionManager = program.getFunctionManager();
		FunctionTagManager tagManager = functionManager.getFunctionTagManager();
		tagManager.createFunctionTag(name, comment);
		return true;
	}
Constructor

@param name the name of the new tag
@param comment the tag comment
Ghidra/Features/Base/src/main/java/ghidra/app/cmd/function/CreateFunctionTagCmd.java