| 332 | } |
| 333 | |
| 334 | void SourceWriter::TypeVisitor::Visit(const Type& type) { |
| 335 | DoVisit(type); |
| 336 | for (const Type& t : type.parameters()) { |
| 337 | Visit(t); |
| 338 | } |
| 339 | for (const Annotation& t : type.annotations()) { |
| 340 | DoVisit(t); |
| 341 | } |
| 342 | for (const Type& t : type.supertypes()) { |
| 343 | Visit(t); |
| 344 | } |
| 345 | } |
| 346 | |
| 347 | void SourceWriter::GenericNamespace::DoVisit(const Type& type) { |
| 348 | // ignore non-generic parameters, wildcards and generics already declared |
no test coverage detected