// Path: sample/src/main/java/com/metova/privvy/sample/di/ApplicationComponent.java
// @Singleton
// @Component(modules = {ApplicationModule.class})
// public interface ApplicationComponent {
// 
//     HostComponent.Builder newHost();
// 
//     FakeDb fakeDb();
// }
// 
// Path: sample/src/main/java/com/metova/privvy/sample/di/ApplicationModule.java
// @Module
// public final class ApplicationModule {
// 
//     private final Context context;
// 
//     public ApplicationModule(Context context) {
//         this.context = context;
//     }
// 
//     @Provides
//     @Named("application")
//     @Singleton
//     Context provideApplicationContext() {
//         return context;
//     }
// }


import com.metova.privvy.sample.di.ApplicationComponent;
import com.metova.privvy.sample.di.ApplicationModule;
import com.metova.privvy.sample.di.DaggerApplicationComponent;
import android.app.Application;
import timber.log.Timber;
package com.metova.privvy.sample;




public class SampleApplication extends Application {

    public static ApplicationComponent component;


    @Override
    public void onCreate() {
        super.onCreate();

        if (BuildConfig.DEBUG) {
            Timber.plant(new Timber.DebugTree());
        }

        component = buildComponent();
    }

// Path: sample/src/main/java/com/metova/privvy/sample/di/ApplicationComponent.java
// @Singleton
// @Component(modules = {ApplicationModule.class})
// public interface ApplicationComponent {
// 
//     HostComponent.Builder newHost();
// 
//     FakeDb fakeDb();
// }
// 
// Path: sample/src/main/java/com/metova/privvy/sample/di/ApplicationModule.java
// @Module
// public final class ApplicationModule {
// 
//     private final Context context;
// 
//     public ApplicationModule(Context context) {
//         this.context = context;
//     }
// 
//     @Provides
//     @Named("application")
//     @Singleton
//     Context provideApplicationContext() {
//         return context;
//     }
// }


// Path: sample/src/main/java/com/metova/privvy/sample/SampleApplication.java
import com.metova.privvy.sample.di.ApplicationComponent;
import com.metova.privvy.sample.di.ApplicationModule;
import com.metova.privvy.sample.di.DaggerApplicationComponent;
import android.app.Application;
import timber.log.Timber;

package com.metova.privvy.sample;




public class SampleApplication extends Application {

    public static ApplicationComponent component;


    @Override
    public void onCreate() {
        super.onCreate();

        if (BuildConfig.DEBUG) {
            Timber.plant(new Timber.DebugTree());
        }

        component = buildComponent();
    }

    protected ApplicationComponent buildComponent() {