Lines Matching refs:write_method
416 auto write_method = std::make_shared<Method>(); in GenerateParcelableClass() local
417 write_method->modifiers = PUBLIC | OVERRIDE | FINAL; in GenerateParcelableClass()
418 write_method->returnType = "void"; in GenerateParcelableClass()
419 write_method->name = "writeToParcel"; in GenerateParcelableClass()
420 write_method->parameters.push_back(parcel_variable); in GenerateParcelableClass()
421 write_method->parameters.push_back(flag_variable); in GenerateParcelableClass()
422 write_method->statements = std::make_shared<StatementBlock>(); in GenerateParcelableClass()
427 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in GenerateParcelableClass()
443 write_method->statements->Add(std::make_shared<LiteralStatement>(code)); in GenerateParcelableClass()
452 write_method->statements->Add(std::make_shared<LiteralStatement>(out.str())); in GenerateParcelableClass()
454 parcel_class->elements.push_back(write_method); in GenerateParcelableClass()