title: What is the purpose of the getter methods in Components in Dagger 2?
body: <p>I am trying to understand Components in Dagger 2. Here is an example:</p>
  
  <pre><code>@Component(modules = { MyModule.class })
  public interface MyComponent {
  
      void inject(InjectionSite injectionSite);
  
      Foo foo();
  
      Bar bar();   
  
  }
  </code></pre>
  
  <p>I understand what the <code>void inject()</code> methods do. But I don't understand what the other <code>Foo foo()</code> getter methods do. What is the purpose of these other methods?</p>