public FunctionDefinitionDataType createFuncDef(List<ParameterDefinition> params,
			DataType returnDT, GoSymbolName symbolName, boolean noReturn) {

		String funcName = SymbolUtilities.replaceInvalidChars(symbolName.asString(), true);

		FunctionDefinitionDataType funcDef =
			new FunctionDefinitionDataType(goTypes.getCP(symbolName), funcName, programDTM);

		funcDef.setArguments(params.toArray(ParameterDefinition[]::new));
		funcDef.setReturnType(returnDT);
		funcDef.setNoReturn(noReturn);

		return funcDef;
	}
Returns function definition information for a func.

@param funcData {@link GoFuncData} representing a go func
@return {@link FuncDefResult} record, or null if no information could be found or
generated
@throws IOException if error reading type info
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoRttiMapper.java