public static DWARFVariable readParameter(DIEAggregate diea, DWARFFunction dfunc,
			int paramOrdinal) {

		DWARFVariable dvar = new DWARFVariable(dfunc, diea);
		dvar.isOutputParameter = diea.getBool(DW_AT_variable_parameter, false);
		dvar.isThis = paramOrdinal == 0 && DWARFUtil.isThisParam(diea);
		dvar.readParamStorage(diea);

		return dvar;
	}
Reads a parameter.

@param diea {@link DIEAggregate} DW_TAG_formal_parameter
@param dfunc {@link DWARFFunction} that this parameter is attached to
@param paramOrdinal ordinal in containing list
@return new parameter, never null, possibly without storage info
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/DWARFVariable.java