dagger.internal.codegen.componentgenerator.ComponentGenerator_Factory 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.
package dagger.internal.codegen.componentgenerator;
import dagger.internal.DaggerGenerated;
import dagger.internal.Factory;
import dagger.internal.codegen.langmodel.DaggerElements;
import javax.annotation.Generated;
import javax.annotation.processing.Filer;
import javax.inject.Provider;
import javax.lang.model.SourceVersion;
@DaggerGenerated
@Generated(
value = "dagger.internal.codegen.ComponentProcessor",
comments = "https://dagger.dev"
)
@SuppressWarnings({
"unchecked",
"rawtypes"
})
public final class ComponentGenerator_Factory implements Factory {
private final Provider filerProvider;
private final Provider elementsProvider;
private final Provider sourceVersionProvider;
private final Provider topLevelImplementationComponentFactoryProvider;
public ComponentGenerator_Factory(Provider filerProvider,
Provider elementsProvider, Provider sourceVersionProvider,
Provider topLevelImplementationComponentFactoryProvider) {
this.filerProvider = filerProvider;
this.elementsProvider = elementsProvider;
this.sourceVersionProvider = sourceVersionProvider;
this.topLevelImplementationComponentFactoryProvider = topLevelImplementationComponentFactoryProvider;
}
@Override
public ComponentGenerator get() {
return newInstance(filerProvider.get(), elementsProvider.get(), sourceVersionProvider.get(), topLevelImplementationComponentFactoryProvider.get());
}
public static ComponentGenerator_Factory create(Provider filerProvider,
Provider elementsProvider, Provider sourceVersionProvider,
Provider topLevelImplementationComponentFactoryProvider) {
return new ComponentGenerator_Factory(filerProvider, elementsProvider, sourceVersionProvider, topLevelImplementationComponentFactoryProvider);
}
public static ComponentGenerator newInstance(Filer filer, DaggerElements elements,
SourceVersion sourceVersion,
TopLevelImplementationComponent.Factory topLevelImplementationComponentFactory) {
return new ComponentGenerator(filer, elements, sourceVersion, topLevelImplementationComponentFactory);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy