dagger.internal.codegen.writing.DelegatingFrameworkInstanceCreationExpression_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.
// Generated by Dagger (https://dagger.dev).
package dagger.internal.codegen.writing;
import dagger.internal.DaggerGenerated;
import dagger.internal.QualifierMetadata;
import dagger.internal.ScopeMetadata;
import dagger.internal.codegen.binding.ContributionBinding;
import dagger.internal.codegen.compileroption.CompilerOptions;
import javax.inject.Provider;
@ScopeMetadata
@QualifierMetadata
@DaggerGenerated
@SuppressWarnings({
"unchecked",
"rawtypes",
"KotlinInternal",
"KotlinInternalInJava"
})
public final class DelegatingFrameworkInstanceCreationExpression_Factory {
private final Provider componentImplementationProvider;
private final Provider componentRequestRepresentationsProvider;
private final Provider compilerOptionsProvider;
public DelegatingFrameworkInstanceCreationExpression_Factory(
Provider componentImplementationProvider,
Provider componentRequestRepresentationsProvider,
Provider compilerOptionsProvider) {
this.componentImplementationProvider = componentImplementationProvider;
this.componentRequestRepresentationsProvider = componentRequestRepresentationsProvider;
this.compilerOptionsProvider = compilerOptionsProvider;
}
public DelegatingFrameworkInstanceCreationExpression get(ContributionBinding binding) {
return newInstance(binding, componentImplementationProvider.get(), componentRequestRepresentationsProvider.get(), compilerOptionsProvider.get());
}
public static DelegatingFrameworkInstanceCreationExpression_Factory create(
Provider componentImplementationProvider,
Provider componentRequestRepresentationsProvider,
Provider compilerOptionsProvider) {
return new DelegatingFrameworkInstanceCreationExpression_Factory(componentImplementationProvider, componentRequestRepresentationsProvider, compilerOptionsProvider);
}
public static DelegatingFrameworkInstanceCreationExpression newInstance(
ContributionBinding binding, ComponentImplementation componentImplementation,
ComponentRequestRepresentations componentRequestRepresentations,
CompilerOptions compilerOptions) {
return new DelegatingFrameworkInstanceCreationExpression(binding, componentImplementation, componentRequestRepresentations, compilerOptions);
}
}