If the direction of the parameter type is not 'IN', the method handler
MUST not read the data from the parcel handle.
Change-Id: Ifb792140a2f0f74173605ab31265a05280cd05a9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
for (auto& p : decl.GetParameters().GetParams()) {
std::string parcel_read_code;
auto& param_type = p->GetParameterType();
+ if (param_type.GetDirection() != ParameterType::Direction::IN)
+ continue;
+
auto& type = param_type.GetBaseType();
if (IsDelegateType(iface, type)) {
parcel_read_code = ReplaceAll(