dagger.internal.codegen.componentgenerator.CurrentImplementationSubcomponent_ChildComponentImplementationFactoryModule_ProvideTopLevelImplementationFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dagger-compiler Show documentation
Show all versions of dagger-compiler Show documentation
A fast dependency injector for Android and Java.
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.componentgenerator;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.Preconditions;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.compileroption.CompilerOptions;
import dagger.internal.codegen.writing.ComponentImplementation;
import dagger.internal.codegen.writing.ComponentWrapperImplementation;
import dagger.internal.codegen.writing.GeneratedImplementation;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata("dagger.internal.codegen.writing.TopLevel")
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class CurrentImplementationSubcomponent_ChildComponentImplementationFactoryModule_ProvideTopLevelImplementationFactory implements Factory {
private final Provider componentImplementationProvider;
private final Provider componentWrapperImplementationProvider;
private final Provider compilerOptionsProvider;
public CurrentImplementationSubcomponent_ChildComponentImplementationFactoryModule_ProvideTopLevelImplementationFactory(
Provider componentImplementationProvider,
Provider componentWrapperImplementationProvider,
Provider compilerOptionsProvider) {
this.componentImplementationProvider = componentImplementationProvider;
this.componentWrapperImplementationProvider = componentWrapperImplementationProvider;
this.compilerOptionsProvider = compilerOptionsProvider;
}
@Override
public GeneratedImplementation get() {
return provideTopLevelImplementation(componentImplementationProvider.get(), componentWrapperImplementationProvider.get(), compilerOptionsProvider.get());
}
public static CurrentImplementationSubcomponent_ChildComponentImplementationFactoryModule_ProvideTopLevelImplementationFactory create(
Provider componentImplementationProvider,
Provider componentWrapperImplementationProvider,
Provider compilerOptionsProvider) {
return new CurrentImplementationSubcomponent_ChildComponentImplementationFactoryModule_ProvideTopLevelImplementationFactory(componentImplementationProvider, componentWrapperImplementationProvider, compilerOptionsProvider);
}
public static GeneratedImplementation provideTopLevelImplementation(
ComponentImplementation componentImplementation,
ComponentWrapperImplementation componentWrapperImplementation,
CompilerOptions compilerOptions) {
return Preconditions.checkNotNullFromProvides(CurrentImplementationSubcomponent.ChildComponentImplementationFactoryModule.provideTopLevelImplementation(componentImplementation, componentWrapperImplementation, compilerOptions));
}
}