| 992 | } |
| 993 | |
| 994 | static std::vector<Field> fieldsFor(const Method& method, Dir direction, bool includeReturn) { |
| 995 | std::vector<Field> fields; |
| 996 | if (includeReturn && method.retType != "void") { |
| 997 | Field result; |
| 998 | result.type = method.retType; |
| 999 | result.name = "returnValue"; |
| 1000 | fields.push_back(result); |
| 1001 | } |
| 1002 | for (const auto& field : method.params) |
| 1003 | if (field.dir == direction) fields.push_back(field); |
| 1004 | return fields; |
| 1005 | } |
| 1006 | |
| 1007 | static std::vector<std::string> externalRefs(const Method& method, |
| 1008 | const std::vector<Field>& fields) { |
nothing calls this directly
no outgoing calls
no test coverage detected