5f19f0edca
This has a few nice follow-on benefits: * SnippetProducer no longer needs to rely on LinterContext. * Many classes no longer need a PathContext passed around, or a `String content`. * BestPracticesVerifier has _3 fewer parameters_, and 1 fewer field. * `_InvalidAccessVerifier._isInTestDirectory` no longer needs to be `late`. Change-Id: I0c2059feae22a75f7c706676cc228fa404dd0cf7 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/365300 Reviewed-by: Phil Quitslund <pquitslund@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>