// Path: app/src/main/java/com/lucilu/rxdynamicsearch/utils/Preconditions.java
// @NonNull
// public static <T> T get(@Nullable final T reference) {
//     if (reference == null) {
//         throw new NullPointerException("Assertion for a nonnull object failed.");
//     }
//     return reference;
// }


import com.lucilu.rxdynamicsearch.dagger.Qualifiers.ForApplication;
import android.app.Application;
import android.content.Context;
import android.support.annotation.NonNull;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import static com.lucilu.rxdynamicsearch.utils.Preconditions.get;
package com.lucilu.rxdynamicsearch.dagger.module;






/**
 * Provides application object and application context.
 */
@Module
public final class AppModule {

    @NonNull
    private final Application mApplication;

    public AppModule(@NonNull final Application app) {
// Path: app/src/main/java/com/lucilu/rxdynamicsearch/utils/Preconditions.java
// @NonNull
// public static <T> T get(@Nullable final T reference) {
//     if (reference == null) {
//         throw new NullPointerException("Assertion for a nonnull object failed.");
//     }
//     return reference;
// }


// Path: app/src/main/java/com/lucilu/rxdynamicsearch/dagger/module/AppModule.java
import com.lucilu.rxdynamicsearch.dagger.Qualifiers.ForApplication;
import android.app.Application;
import android.content.Context;
import android.support.annotation.NonNull;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
import static com.lucilu.rxdynamicsearch.utils.Preconditions.get;

package com.lucilu.rxdynamicsearch.dagger.module;






/**
 * Provides application object and application context.
 */
@Module
public final class AppModule {

    @NonNull
    private final Application mApplication;

    public AppModule(@NonNull final Application app) {
        mApplication = get(app);