public ParameterDefinition[] getParametersFromDecompiler(Function function) {

		DecompileResults decompRes = decompInterface.decompileFunction(function,
			decompInterface.getOptions().getDefaultTimeout(), monitor);

		if (decompRes == null || decompRes.getHighFunction() == null) {
			return null;
		}

		return decompRes.getHighFunction().getFunctionPrototype().getParameterDefinitions();
	}
Get the parameters from the decompiler for the given function
@param function the given function
@return the decompiler parameters for the given function
Ghidra/Features/Decompiler/ghidra_scripts/classrecovery/DecompilerScriptUtils.java