run method
Emits lints for a given file.
run will only be invoked with files respecting filesToAnalyze
Implementation
@override
void run(
  CustomLintResolver resolver,
  ErrorReporter reporter,
  CustomLintContext context,
) {
  context.registry.addMethodInvocation((node) {
    final element = node.methodName.staticElement;
    if (element == null) {
      return;
    }
    if (!_checker.hasAnnotationOf(element)) {
      return;
    }
    if (_isInsideUnsafeWrapper(node)) {
      return;
    }
    reporter.atNode(node, code);
  });
}