@Deprecated
  public static ModuleAnnotatedMethodScanner scanner() {
    return new ModuleAnnotatedMethodScanner() {
      @Override
      public Set<? extends Class<? extends Annotation>> annotationClasses() {
        return ImmutableSet.of();
      }

      @Override
      public <T> Key<T> prepareMethod(
          Binder binder, Annotation annotation, Key<T> key, InjectionPoint injectionPoint) {
        throw new IllegalStateException("Unexpected annotation: " + annotation);
      }
    };
  }
@ Deprecated public static ModuleAnnotatedMethodScanner scanner ( ) { return new ModuleAnnotatedMethodScanner ( ) { @ Override public Set < ? extends Class < ? extends Annotation > > annotationClasses ( ) { return ImmutableSet . of ( ) ; } @ Override public < T > Key < T > prepareMethod ( Binder binder , Annotation annotation , Key < T > key , InjectionPoint injectionPoint ) { throw new IllegalStateException ( "Unexpected annotation: " + annotation ) ; } } ; }
@deprecated This method returns an empty scanner since the preexisting functionality is
installed by default.