title: Dagger 2.2 component builder module method deprecated
body: <p>I started using dagger 2.2 and the module methods in the Component builder are deprecated.</p>
  
  <p>This is my Application component :</p>
  
  <pre><code>@Component(modules = ApplicationModule.class)
  public interface ApplicationComponent {
      void inject(Application application);
  }
  </code></pre>
  
  <p>And the Application module:</p>
  
  <pre><code>@Module
  public class ApplicationModule {
      Application application;
  
      public ApplicationModule(Application application) {
          this.application = application;
      }
  
      @Provides
      @Singleton
      Application providesApplication() {
          return application;
      }
  }
  </code></pre>
  
  <p>Here is the generated class:</p>
  
  <pre><code>@Generated(
    value = "dagger.internal.codegen.ComponentProcessor",
    comments = "https://google.github.io/dagger"
  )
  public final class DaggerApplicationComponent implements ApplicationComponent {
    private DaggerApplicationComponent(Builder builder) {
      assert builder != null;
    }
  
    public static Builder builder() {
      return new Builder();
    }
  
    public static ApplicationComponent create() {
      return builder().build();
    }
  
    @Override
    public void inject(Application application) {
      MembersInjectors.&lt;Application&gt;noOp().injectMembers(application);
    }
  
    public static final class Builder {
      private Builder() {}
  
      public ApplicationComponent build() {
        return new DaggerApplicationComponent(this);
      }
  
      /**
       * @deprecated This module is declared, but an instance is not used in the component. This method is a no-op. For more, see https://google.github.io/dagger/unused-modules.
       */
      @Deprecated
      public Builder applicationModule(ApplicationModule applicationModule) {
        Preconditions.checkNotNull(applicationModule);
        return this;
      }
    }
  }
  </code></pre>
  
  <p>How do I initialize the component if not with the ComponentBuilder?</p>