@Override
	public void updateFunction(String callingConvention, Variable returnValue,
			FunctionUpdateType updateType, boolean force, SourceType source, Variable... newParams)
			throws DuplicateNameException, InvalidInputException {
		updateFunction(callingConvention, returnValue, Arrays.asList(newParams), updateType, force,
			source);
	}
Resolve a variable's type and storage.
@param var variable to be resolved
@param voidOK if true the use of a 0-length {@link VoidDataType} for the specified
variable is allowed (i.e., {@link ReturnParameterDB}), else false should be specifed.
@param useUnassignedStorage if true storage should be set to {@link VariableStorage#UNASSIGNED_STORAGE}
else an attempt should be made to adjust the storage.
@return resolved variable
@throws InvalidInputException if unable to resize variable storage due to
resolved datatype size change
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/function/FunctionDB.java