defs.define_constant('ActionView::OptimizedFileSystemResolver') do |klass|
    klass.inherits(defs.constant_proxy('ActionView::FileSystemResolver', RubyLint.registry))

    klass.define_instance_method('build_query') do |method|
      method.define_argument('path')