code: public static PluginResolver nullResolver(Mode mode, ErrorReporter reporter) {
      return new PluginResolver(
          mode, ImmutableMap.of(), ImmutableMap.of(), ImmutableMap.of(), reporter);
    }
docs: Returns an empty resolver. Useful for tests, or situations where it is known that no plugins
  will be needed.