core/src/com/google/inject/internal/ProviderMethodsModule.java
public static Module forModule(Object module, ModuleAnnotatedMethodScanner scanner) {
    return forObject(module, false, scanner);
  }
public static Module forModule(Object module, ModuleAnnotatedMethodScanner scanner) {
    return forObject(module, false, scanner);
  }
Returns a module which creates bindings methods in the module that match the scanner.