extensions/assistedinject/src/com/google/inject/assistedinject/FactoryModuleBuilder.java
public <F> Module build(Class<F> factoryInterface) {
    return build(TypeLiteral.get(factoryInterface));
  }
public <F> Module build(Class<F> factoryInterface) {
    return build(TypeLiteral.get(factoryInterface));
  }
See the factory configuration examples at {@link FactoryModuleBuilder}.